Diff of the two buildlogs: -- --- b1/build.log 2025-01-26 02:10:48.649673091 +0000 +++ b2/build.log 2025-01-26 02:13:13.711158536 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 25 13:58:59 -12 2025 -I: pbuilder-time-stamp: 1737856739 +I: Current time: Sat Feb 28 22:33:50 +14 2026 +I: pbuilder-time-stamp: 1772267630 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying gcc-13.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1354970/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2134839/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 28 08:33 /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/2134839/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2134839/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5f58317be3b64298b989944913a2ab92' - 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='1354970' - PS1='# ' - PS2='> ' + INVOCATION_ID=dbb73a709dc44bcf93f43efa101e058f + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2134839 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.H9sDnkXl/pbuilderrc_YMf3 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.H9sDnkXl/b1 --logfile b1/build.log aghermann_1.1.2-5.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.H9sDnkXl/pbuilderrc_tCR4 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.H9sDnkXl/b2 --logfile b2/build.log aghermann_1.1.2-5.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1354970/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2134839/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -478,7 +510,7 @@ Get: 346 http://deb.debian.org/debian trixie/main amd64 libvte-2.91-dev amd64 0.78.2-1 [692 kB] Get: 347 http://deb.debian.org/debian trixie/main amd64 libxml2-utils amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [99.4 kB] Get: 348 http://deb.debian.org/debian trixie/main amd64 lua5.1 amd64 5.1.5-10 [104 kB] -Fetched 161 MB in 30s (5355 kB/s) +Fetched 161 MB in 15s (10.5 MB/s) Preconfiguring packages ... Selecting previously unselected package libapparmor1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19856 files and directories currently installed.) @@ -1613,8 +1645,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Jan 26 02:04:22 UTC 2025. -Universal Time is now: Sun Jan 26 02:04:22 UTC 2025. +Local time is now: Sat Feb 28 08:34:58 UTC 2026. +Universal Time is now: Sat Feb 28 08:34:58 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1924,7 +1956,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/aghermann-1.1.2/ && 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 > ../aghermann_1.1.2-5_source.changes +I: user script /srv/workspace/pbuilder/2134839/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2134839/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/aghermann-1.1.2/ && 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 > ../aghermann_1.1.2-5_source.changes dpkg-buildpackage: info: source package aghermann dpkg-buildpackage: info: source version 1.1.2-5 dpkg-buildpackage: info: source distribution unstable @@ -2174,7 +2210,7 @@ dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/aghermann-1.1.2' make all-recursive make[2]: Entering directory '/build/reproducible-path/aghermann-1.1.2' @@ -2187,6 +2223,17 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libcommon.o libcommon.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o log-facility.o log-facility.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o subject_id.o subject_id.cc +In file included from subject_id.cc:16: +string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +string.hh:61:20: note: remove 'std::move' call +string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +string.hh:71:20: note: remove 'std::move' call In file included from libcommon.cc:24: string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2198,6 +2245,17 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call +In file included from log-facility.cc:19: +string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +string.hh:61:20: note: remove 'std::move' call +string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +string.hh:71:20: note: remove 'std::move' call In file included from libcommon.cc:25: alg.hh: At global scope: alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] @@ -2208,6 +2266,17 @@ 169 | return move(ret); | ~~~~^~~~~ alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from subject_id.cc:17: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from libcommon.cc:26: fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2254,39 +2323,6 @@ 347 | return move(fname); | ~~~~^~~~~~~ libcommon.cc:347:20: note: remove 'std::move' call -In file included from log-facility.cc:19: -string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -string.hh:61:20: note: remove 'std::move' call -string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -string.hh:71:20: note: remove 'std::move' call -In file included from subject_id.cc:16: -string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -string.hh:61:20: note: remove 'std::move' call -string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from subject_id.cc:17: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2310,14 +2346,14 @@ make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/common' Making all in libsigproc make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o exstrom.lo exstrom.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ext-filters.lo ext-filters.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sigproc.lo sigproc.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o winfun.lo winfun.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c winfun.cc -fPIC -DPIC -o .libs/winfun.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ext-filters.cc -fPIC -DPIC -o .libs/ext-filters.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o exstrom.lo exstrom.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ext-filters.lo ext-filters.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sigproc.lo sigproc.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o winfun.lo winfun.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c exstrom.cc -fPIC -DPIC -o .libs/exstrom.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c winfun.cc -fPIC -DPIC -o .libs/winfun.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c sigproc.cc -fPIC -DPIC -o .libs/sigproc.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ext-filters.cc -fPIC -DPIC -o .libs/ext-filters.o In file included from exstrom.cc:12: exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -2502,38 +2538,27 @@ 230 | return move( interpolate( xi, in.samplerate, y, 1./in.samplerate)); | ^ sigproc.ii:230:77: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/x86_64-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/x86_64-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o .libs/exstrom.o .libs/ext-filters.o .libs/sigproc.o .libs/winfun.o -lsamplerate -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigproc.so -o .libs/libsigproc.so libtool: link: ( cd ".libs" && rm -f "libsigproc.la" && ln -s "../libsigproc.la" "libsigproc.la" ) make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' Making all in libsigfile make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o channel.lo channel.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o source-base.lo source-base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o typed-source.lo typed-source.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf.lo edf.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf-io.lo edf-io.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tsv.lo tsv.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o page.lo page.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c source-base.cc -fPIC -DPIC -o .libs/source-base.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c edf-io.cc -fPIC -DPIC -o .libs/edf-io.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c edf.cc -fPIC -DPIC -o .libs/edf.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o channel.lo channel.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o source-base.lo source-base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o typed-source.lo typed-source.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf.lo edf.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf-io.lo edf-io.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tsv.lo tsv.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o page.lo page.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c channel.cc -fPIC -DPIC -o .libs/channel.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c typed-source.cc -fPIC -DPIC -o .libs/typed-source.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c source-base.cc -fPIC -DPIC -o .libs/source-base.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c edf-io.cc -fPIC -DPIC -o .libs/edf-io.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c page.cc -fPIC -DPIC -o .libs/page.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c tsv.cc -fPIC -DPIC -o .libs/tsv.o -In file included from source-base.hh:18, - from page.cc:21: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from source-base.hh:19: +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c edf.cc -fPIC -DPIC -o .libs/edf.o +In file included from edf-io.cc:12: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2544,21 +2569,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call In file included from source-base.cc:14: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2570,44 +2580,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -page.cc: In member function 'float sigfile::CHypnogram::percent_scored(float*, float*, float*) const': -page.cc:47:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 47 | mem_fun_ref (&SPage::is_nrem)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/istream:40, - from /usr/include/c++/14/fstream:40, - from page.cc:17: -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -page.cc:51:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 51 | mem_fun_ref (&SPage::is_rem)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -page.cc:55:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 55 | mem_fun_ref (&SPage::is_wake)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -page.cc:59:29: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 59 | mem_fun_ref (&SPage::is_scored)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -In file included from edf-io.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call In file included from channel.cc:16: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2619,12 +2591,18 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from tsv.cc:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from tsv.cc:23: +In file included from edf.cc:25: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2656,28 +2634,16 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from source-base.hh:18, + from page.cc:21: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from source-base.cc:16: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': @@ -2707,13 +2673,30 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call -In file included from source-base.hh:19, - from source-base.cc:17: +In file included from ../../src/common/fs.hh:22, + from source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -2724,6 +2707,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call In file included from source-base.hh:18, from edf.hh:26, from edf-io.cc:13: @@ -2731,16 +2719,28 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call +In file included from source-base.hh:19, + from source-base.cc:17: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from source-base.hh:19: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2752,6 +2752,28 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +In file included from source-base.hh:18, + from edf.hh:26, + from edf.cc:26: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ In file included from ../../src/libsigproc/sigproc.hh:27, from tsv.hh:26, from tsv.cc:24: @@ -2759,16 +2781,22 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -In file included from typed-source.cc:14: -edf.hh: At global scope: -edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -edf.hh:94:30: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from source-base.hh:19: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -2790,24 +2818,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from tsv.hh:26, - from typed-source.cc:15: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -2815,43 +2825,66 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from edf.cc:25: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call edf.hh: At global scope: edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 396 | char* _get_next_field( char**, size_t) throw (TStatus); | ^~~~~ +page.cc: In member function 'float sigfile::CHypnogram::percent_scored(float*, float*, float*) const': +page.cc:47:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 47 | mem_fun_ref (&SPage::is_nrem)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/ios:44, + from /usr/include/c++/14/istream:40, + from /usr/include/c++/14/fstream:40, + from page.cc:17: +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +edf.hh: At global scope: +edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +page.cc:51:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 51 | mem_fun_ref (&SPage::is_rem)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +page.cc:55:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 55 | mem_fun_ref (&SPage::is_wake)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +page.cc:59:29: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 59 | mem_fun_ref (&SPage::is_scored)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +edf.hh:94:30: note: remove 'std::move' call edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 94 | { return move(explain_status( _status)); } @@ -2879,34 +2912,7 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source-base.hh:297:30: note: remove 'std::move' call -In file included from source-base.hh:18, - from edf.hh:26, - from edf.cc:26: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from source-base.hh:19: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call +In file included from typed-source.cc:14: edf.hh: At global scope: edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 396 | char* _get_next_field( char**, size_t) throw (TStatus); @@ -2920,64 +2926,9 @@ edf.cc:431:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 431 | _get_next_field( char **field, const size_t fld_size) throw (TStatus) | ^~~~~ -edf.cc: In member function 'int sigfile::CEDFFile::_parse_header()': -edf.cc:618:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 618 | } catch (invalid_argument ex) { - | ^~ -edf.cc: In constructor 'sigfile::CEDFFile::CEDFFile(const std::string&, TSubtype, int, const std::__cxx11::list >&, size_t, size_t, agh::log::CLogFacility*)': -edf.cc:234:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 234 | strncpy( header.version_number, version_string, 8); - | ^ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigfile.la -rpath /usr/lib/x86_64-linux-gnu/aghermann channel.lo source-base.lo typed-source.lo edf.lo edf-io.lo tsv.lo page.lo -libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o .libs/channel.o .libs/source-base.o .libs/typed-source.o .libs/edf.o .libs/edf-io.o .libs/tsv.o .libs/page.o -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigfile.so -o .libs/libsigfile.so -libtool: link: ( cd ".libs" && rm -f "libsigfile.la" && ln -s "../libsigfile.la" "libsigfile.la" ) -make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' -Making all in libmetrics -make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o page-metrics-base.lo page-metrics-base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o psd.lo psd.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o swu.lo swu.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mc.lo mc.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mc-artifacts.lo mc-artifacts.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c page-metrics-base.cc -fPIC -DPIC -o .libs/page-metrics-base.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mc-artifacts.cc -fPIC -DPIC -o .libs/mc-artifacts.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c swu.cc -fPIC -DPIC -o .libs/swu.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c psd.cc -fPIC -DPIC -o .libs/psd.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mc.cc -fPIC -DPIC -o .libs/mc.o -In file included from ../../src/common/fs.hh:22, - from swu.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from swu.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: +In file included from ../../src/libsigproc/sigproc.hh:28, + from tsv.hh:26, + from typed-source.cc:15: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -3005,6 +2956,30 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +edf.cc: In member function 'int sigfile::CEDFFile::_parse_header()': +edf.cc:618:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 618 | } catch (invalid_argument ex) { + | ^~ +edf.cc: In constructor 'sigfile::CEDFFile::CEDFFile(const std::string&, TSubtype, int, const std::__cxx11::list >&, size_t, size_t, agh::log::CLogFacility*)': +edf.cc:234:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 234 | strncpy( header.version_number, version_string, 8); + | ^ +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigfile.la -rpath /usr/lib/x86_64-linux-gnu/aghermann channel.lo source-base.lo typed-source.lo edf.lo edf-io.lo tsv.lo page.lo +libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o .libs/channel.o .libs/source-base.o .libs/typed-source.o .libs/edf.o .libs/edf-io.o .libs/tsv.o .libs/page.o -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigfile.so -o .libs/libsigfile.so +libtool: link: ( cd ".libs" && rm -f "libsigfile.la" && ln -s "../libsigfile.la" "libsigfile.la" ) +make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' +Making all in libmetrics +make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o page-metrics-base.lo page-metrics-base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o psd.lo psd.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o swu.lo swu.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mc.lo mc.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mc-artifacts.lo mc-artifacts.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c psd.cc -fPIC -DPIC -o .libs/psd.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c swu.cc -fPIC -DPIC -o .libs/swu.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mc.cc -fPIC -DPIC -o .libs/mc.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c page-metrics-base.cc -fPIC -DPIC -o .libs/page-metrics-base.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mc-artifacts.cc -fPIC -DPIC -o .libs/mc-artifacts.o In file included from mc-artifacts.cc:16: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) @@ -3014,55 +2989,8 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from swu.cc:19: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -swu.cc: In member function 'virtual std::string metrics::swu::CProfile::fname_base() const': -swu.cc:53:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 53 | return move( - | ~~~~^ - 54 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 55 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 56 | ":%g+%g-%g", - | ~~~~~~~~~~~~ - 57 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 58 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 59 | pagesize, step, min_upswing_duration)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -swu.cc:53:20: note: remove 'std::move' call -swu.cc: In member function 'virtual std::string metrics::swu::CProfile::mirror_fname() const': -swu.cc:67:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 67 | return move( - | ~~~~^ - 68 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 69 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 70 | ":%g+%g-%g@%zu" - | ~~~~~~~~~~~~~~~ - 71 | ".swu", - | ~~~~~~~ - 72 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | pagesize, step, min_upswing_duration, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | sizeof(TFloat))); - | ~~~~~~~~~~~~~~~~ -swu.cc:67:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from psd.cc:26: + from swu.cc:17: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -3223,6 +3151,28 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +In file included from ../../src/common/fs.hh:22, + from psd.cc:26: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, from mc.cc:14: @@ -3234,9 +3184,9 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from page-metrics-base.cc:22: +In file included from ../../src/libsigproc/sigproc.hh:27, + from swu.cc:18: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ @@ -3245,6 +3195,17 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -3252,18 +3213,11 @@ 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); @@ -3278,32 +3232,32 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, - from page-metrics-base.hh:21, - from mc.hh:19: + from page-metrics-base.cc:22: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -3314,6 +3268,11 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -3368,6 +3327,31 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from page-metrics-base.hh:21, + from mc.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from mc.cc:13: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -3485,11 +3469,13 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mc.hh:157:36: note: remove 'std::move' call -mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/libsigfile/typed-source.hh:16, + from swu.cc:19: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call mc.cc: In member function 'virtual std::string metrics::mc::CProfile::fname_base() const': mc.cc:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -3544,6 +3530,51 @@ 92 | sizeof(TFloat))); | ~~~~~~~~~~~~~~~~ mc.cc:79:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +swu.cc: In member function 'virtual std::string metrics::swu::CProfile::fname_base() const': +swu.cc:53:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 53 | return move( + | ~~~~^ + 54 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 55 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 56 | ":%g+%g-%g", + | ~~~~~~~~~~~~ + 57 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 58 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 59 | pagesize, step, min_upswing_duration)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +swu.cc:53:20: note: remove 'std::move' call +swu.cc: In member function 'virtual std::string metrics::swu::CProfile::mirror_fname() const': +swu.cc:67:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 67 | return move( + | ~~~~^ + 68 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 69 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 70 | ":%g+%g-%g@%zu" + | ~~~~~~~~~~~~~~~ + 71 | ".swu", + | ~~~~~~~ + 72 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | pagesize, step, min_upswing_duration, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | sizeof(TFloat))); + | ~~~~~~~~~~~~~~~~ +swu.cc:67:20: note: remove 'std::move' call In file included from ../../src/libsigfile/typed-source.hh:16, from psd.cc:28: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': @@ -3551,6 +3582,11 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mc.hh:157:36: note: remove 'std::move' call In file included from psd.hh:25, from psd.cc:29: page-metrics-base.hh: At global scope: @@ -3613,7 +3649,7 @@ 113 | ); | ~ psd.cc:102:20: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/x86_64-linux-gnu/aghermann page-metrics-base.lo psd.lo swu.lo mc.lo mc-artifacts.lo +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/x86_64-linux-gnu/aghermann page-metrics-base.lo psd.lo swu.lo mc.lo mc-artifacts.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o .libs/page-metrics-base.o .libs/psd.o .libs/swu.o .libs/mc.o .libs/mc-artifacts.o -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -fopenmp -Wl,-soname -Wl,libmetrics.so -o .libs/libmetrics.so libtool: link: ( cd ".libs" && rm -f "libmetrics.la" && ln -s "../libmetrics.la" "libmetrics.la" ) make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' @@ -3639,6 +3675,116 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sm/sm-construct.o ui/sm/sm-construct.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sm/sm.o ui/sm/sm.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sm/sm_cb.o ui/sm/sm_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one.o ui/mw/admit-one.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/construct.o ui/mw/construct.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/loadsave.o ui/mw/loadsave.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements.o ui/mw/measurements.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements_cb.o ui/mw/measurements_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/populate.o ui/mw/populate.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/settings_cb.o ui/mw/settings_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations.o ui/mw/simulations.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/splash.o ui/mw/splash.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw.o ui/mw/mw.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/channel.o ui/sf/channel.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/construct.o ui/sf/construct.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/controls_cb.o ui/sf/controls_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram_cb.o ui/sf/hypnogram_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/ica.o ui/sf/ica.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/ica_cb.o ui/sf/ica_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/mainmenu_cb.o ui/sf/mainmenu_cb.cc +In file included from globals.cc:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from model/borbely.cc:17: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from expdesign/dirlevel.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from expdesign/tree-scanner.cc:17: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.cc +In file included from ../../src/common/fs.hh:22, + from patterns/patterns.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from expdesign/dirlevel.cc:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from rk1968/rk1968.hh:22, + from rk1968/rk1968.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from expdesign/recording.cc:15: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] @@ -3677,7 +3823,8 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from globals.cc:23: +In file included from ../../src/common/fs.hh:22, + from rk1968/rk1968-profiles.cc:15: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -3688,7 +3835,88 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from expdesign/dirlevel.cc:17: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/sm/sm_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/loadsave.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/recording.hh:18, + from model/ultradian-cycle.cc:17: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/recording.hh:18, + from model/achermann-siman.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from model/achermann.hh:23, + from model/achermann.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/subject.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -3699,28 +3927,23 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from expdesign/dirlevel.cc:18: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/beersma.hh:21, - from expdesign/recording.cc:17: + from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); @@ -3736,163 +3959,9 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one.o ui/mw/admit-one.cc In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from model/achermann.hh:23, - from model/achermann.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:26: -../../src/libsigproc/ext-filters.hh: At global scope: -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: -../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 60 | CFilterIIR (size_t samplerate_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from model/borbely.cc:17: + from ../../src/aghermann/model/beersma.hh:21, + from ui/mw/measurements.cc:19: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ @@ -3925,11 +3994,78 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/libmetrics/psd.hh:25, + from model/borbely.cc:18: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -3937,17 +4073,33 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from model/achermann.hh:24: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:27, + from rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call In file included from ../../src/libsigfile/page.hh:20, - from model/achermann.hh:22: + from ../../src/aghermann/model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4031,10 +4183,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -In file included from expdesign/tree-scanner.cc:17: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4053,6 +4206,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -4069,85 +4227,12 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from expdesign/expdesign.cc:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -expdesign/recording.cc: In member function 'std::string agh::SProfileParamSet::display_name() const': -expdesign/recording.cc:58:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 58 | case metrics::TType::psd: return move(sasprintf( "%s (%g-%g Hz)", metric_name(), P.psd.freq_from, P.psd.freq_upto)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:58:46: note: remove 'std::move' call -expdesign/recording.cc:59:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 59 | case metrics::TType::swu: return move(sasprintf( "%s (%g Hz)", metric_name(), P.swu.f0)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:59:46: note: remove 'std::move' call -expdesign/recording.cc:60:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 60 | case metrics::TType::mc : return move(sasprintf( "%s (%g Hz)", metric_name(), P.mc.f0)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:60:46: note: remove 'std::move' call -expdesign/recording.cc:61:29: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | default: return move(sasprintf( "(invalid metric: %d)", (int)metric)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:61:29: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/recording.hh:18, - from model/ultradian-cycle.cc:17: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from patterns/patterns.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from rk1968/rk1968.hh:22, - from rk1968/rk1968.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/beersma.hh:21, + from expdesign/recording.cc:17: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -4168,74 +4253,62 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/recording.hh:18, - from model/achermann-siman.cc:18: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/dirlevel.cc:20: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from rk1968/rk1968-profiles.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ../../src/libsigfile/page.hh:20, + from model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4353,47 +4426,6 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from model/ultradian-cycle.cc:18: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -4405,23 +4437,33 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +In file included from ui/sf/channel.cc:16: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/common/fs.hh:23: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/page.hh:20, + from ../../src/aghermann/model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4453,7 +4495,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4506,6 +4547,21 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/edf.hh:26, + from ../../src/libsigfile/all.hh:16, + from expdesign/tree-scanner.cc:20: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4530,6 +4586,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ @@ -4549,192 +4610,50 @@ ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/fs.hh:46:20: note: remove 'std::move' call -model/ultradian-cycle.cc: In function 'std::__cxx11::list agh::beersma::analyse_deeper(const SUltradianCycle&, agh::CRecording&, const SUltradianCycleCtl&)': -model/ultradian-cycle.cc:215:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 215 | return move(ret); - | ~~~~^~~~~ -model/ultradian-cycle.cc:215:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from artifact-detection/3in1.hh:20, - from artifact-detection/3in1.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ui/sm/sm_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: + from ui/sm/sm.cc:18: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from artifact-detection/3in1.hh:21: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/subject.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from artifact-detection/3in1.cc:17: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -artifact-detection/3in1.cc: In member function 'virtual std::string agh::ad::CComprehensiveArtifactDetector::serialize() const': -artifact-detection/3in1.cc:60:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 60 | return move( - | ~~~~^ - 61 | CStorablePPack::serialize() + - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 62 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 63 | "flat.min_size:%g; flat.pad:%g;\n" - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 64 | "emg.min_steadytone_factor:%g; emg.min_steadytone_run:%g;\n" - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 65 | "MC.scope:%g; MC.upper_thr:%g; MC.lower_thr:%g; MC.f0:%g; MC.fc:%g; MC.bandwidth:%g; MC.mc_gain:%g; MC.iir_backpolate:%g; MC.E:%g; MC.dmin:%g; MC.dmax:%g; MC.sssu_hist_size:%zu; MC.smooth_side:%zu; MC.estimate_E:%d; MC.use_range:%d;", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 66 | Pp.flat_min_size, Pp.flat_pad, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 67 | Pp.emg_min_steadytone_factor, Pp.emg_min_steadytone_run, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | Pp.MC.scope, Pp.MC.upper_thr, Pp.MC.lower_thr, Pp.MC.f0, Pp.MC.fc, Pp.MC.bandwidth, Pp.MC.mc_gain, Pp.MC.iir_backpolate, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | Pp.MC.E, Pp.MC.dmin, Pp.MC.dmax, Pp.MC.sssu_hist_size, Pp.MC.smooth_side, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | Pp.MC.estimate_E, Pp.MC.use_range)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -artifact-detection/3in1.cc:60:20: note: remove 'std::move' call In file included from ../../src/libmetrics/page-metrics-base.hh:20, from ../../src/aghermann/model/achermann.hh:23, - from expdesign/loadsave.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigproc/sigproc.hh:27, - from rk1968/rk1968.hh:23: + from expdesign/expdesign.hh:27, + from expdesign/dirlevel.cc:20: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from rk1968/rk1968.cc:28: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); @@ -4745,96 +4664,30 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -expdesign/dirlevel.cc: In member function 'std::string agh::CStorablePPack::path() const': -expdesign/dirlevel.cc:85:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 85 | return move(string("/tmp") + append); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/dirlevel.cc:85:28: note: remove 'std::move' call -expdesign/dirlevel.cc:91:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 91 | return move(ED.make_dirname( level, level_id) + append); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/dirlevel.cc:91:28: note: remove 'std::move' call -expdesign/dirlevel.cc:94:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | return move(str::sasprintf( "%s/.local/share/aghermann%s", getenv("HOME"), append.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/dirlevel.cc:94:28: note: remove 'std::move' call -expdesign/dirlevel.cc:97:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 97 | return move(str::sasprintf( "%s/aghermann/%s", PACKAGE_DATADIR, append.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/dirlevel.cc:97:28: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -expdesign/dirlevel.cc: In member function 'virtual std::string agh::CStorablePPack::serialize() const': -expdesign/dirlevel.cc:164:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 164 | return move( - | ~~~~^ - 165 | str::sasprintf( - | ~~~~~~~~~~~~~~~ - 166 | "%s/%s %s (%s/%s/%s)", - | ~~~~~~~~~~~~~~~~~~~~~~ - 167 | subdir.c_str(), name.c_str(), exp_dir_level_s(), level_id.g.c_str(), level_id.j.c_str(), level_id.d.c_str())); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/dirlevel.cc:164:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ +In file included from ../../src/libmetrics/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from patterns/patterns.cc:19: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4918,12 +4771,22 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4952,19 +4815,47 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19: -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigfile/edf.hh: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/beersma.hh:22: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5076,109 +4967,69 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from rk1968/rk1968.cc:28: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/libmetrics/psd.hh:25, - from model/borbely.cc:18: +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/loadsave.cc:15: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from rk1968/rk1968.cc:29: -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/expdesign.cc:24: -../../src/common/alg.hh: At global scope: +In file included from ../../src/libsigfile/source-base.hh:18, + from ui/mw/measurements_cb.cc:12: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from model/ultradian-cycle.cc:18: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/libmetrics/psd.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5186,22 +5037,23 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -5233,7 +5085,7 @@ 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: + from model/borbely.cc:19: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ @@ -5244,7 +5096,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -5295,83 +5146,23 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/edf.hh:26, - from ../../src/libsigfile/all.hh:16, - from expdesign/tree-scanner.cc:20: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -expdesign/subject.cc: In member function 'std::__cxx11::list agh::SEpisode::get_annotations() const': -expdesign/subject.cc:98:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 98 | return move(ret); - | ~~~~^~~~~ -expdesign/subject.cc:98:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from patterns/patterns.cc:19: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -5383,13 +5174,28 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from rk1968/rk1968.cc:29: +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5415,18 +5221,44 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/common/config-validate.hh:26: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -5448,16 +5280,67 @@ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -5508,22 +5391,72 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libsigfile/tsv.hh:26, + from ../../src/libsigfile/all.hh:17: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/psd.hh:22: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5573,8 +5506,15 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/mc.hh:17, - from model/borbely.cc:19: + from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ @@ -5603,14 +5543,14 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5618,17 +5558,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -5647,10 +5576,43 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -5768,33 +5730,59 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: +model/ultradian-cycle.cc: In function 'std::__cxx11::list agh::beersma::analyse_deeper(const SUltradianCycle&, agh::CRecording&, const SUltradianCycleCtl&)': +model/ultradian-cycle.cc:215:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 215 | return move(ret); + | ~~~~^~~~~ +model/ultradian-cycle.cc:215:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/expdesign.hh:22, + from ui/mw/populate.cc:16: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +expdesign/subject.cc: In member function 'std::__cxx11::list agh::SEpisode::get_annotations() const': +expdesign/subject.cc:98:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 98 | return move(ret); + | ~~~~^~~~~ +expdesign/subject.cc:98:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from expdesign/loadsave.cc:15: +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call +expdesign/loadsave.cc: In member function 'int agh::CExpDesign::load_settings()': +expdesign/loadsave.cc:82:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 82 | catch (invalid_argument ex) { + | ^~ +expdesign/loadsave.cc:88:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 88 | catch (invalid_argument ex) { + | ^~ +expdesign/loadsave.cc:94:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 94 | catch (invalid_argument ex) { + | ^~ +In file included from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27, + from expdesign/tree-scanner.cc:21: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -5805,12 +5793,17 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5928,14 +5921,135 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +expdesign/dirlevel.cc: In member function 'std::string agh::CStorablePPack::path() const': +expdesign/dirlevel.cc:85:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 85 | return move(string("/tmp") + append); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/dirlevel.cc:85:28: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/dirlevel.cc:91:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 91 | return move(ED.make_dirname( level, level_id) + append); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/dirlevel.cc:91:28: note: remove 'std::move' call +expdesign/dirlevel.cc:94:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | return move(str::sasprintf( "%s/.local/share/aghermann%s", getenv("HOME"), append.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/dirlevel.cc:94:28: note: remove 'std::move' call +../../src/common/string.hh:71:20: note: remove 'std::move' call +expdesign/dirlevel.cc:97:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 97 | return move(str::sasprintf( "%s/aghermann/%s", PACKAGE_DATADIR, append.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/dirlevel.cc:97:28: note: remove 'std::move' call +expdesign/dirlevel.cc: In member function 'virtual std::string agh::CStorablePPack::serialize() const': +expdesign/dirlevel.cc:164:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 164 | return move( + | ~~~~^ + 165 | str::sasprintf( + | ~~~~~~~~~~~~~~~ + 166 | "%s/%s %s (%s/%s/%s)", + | ~~~~~~~~~~~~~~~~~~~~~~ + 167 | subdir.c_str(), name.c_str(), exp_dir_level_s(), level_id.g.c_str(), level_id.j.c_str(), level_id.d.c_str())); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/dirlevel.cc:164:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage.o ui/sf/montage.cc +In file included from ui/mw/settings_cb.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +In file included from rk1968/rk1968.cc:31: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/mainmenu_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +expdesign/recording.cc: In member function 'std::string agh::SProfileParamSet::display_name() const': +expdesign/recording.cc:58:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 58 | case metrics::TType::psd: return move(sasprintf( "%s (%g-%g Hz)", metric_name(), P.psd.freq_from, P.psd.freq_upto)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:58:46: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +expdesign/recording.cc:59:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 59 | case metrics::TType::swu: return move(sasprintf( "%s (%g Hz)", metric_name(), P.swu.f0)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:59:46: note: remove 'std::move' call +expdesign/recording.cc:60:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 60 | case metrics::TType::mc : return move(sasprintf( "%s (%g Hz)", metric_name(), P.mc.f0)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:60:46: note: remove 'std::move' call +expdesign/recording.cc:61:29: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | default: return move(sasprintf( "(invalid metric: %d)", (int)metric)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:61:29: note: remove 'std::move' call +rk1968/rk1968.cc: In function 'int host_get_data(lua_State*)': +rk1968/rk1968.cc:237:96: warning: 'format' attribute argument 2 value '2' exceeds the number of function parameters 1 [-Wattributes] + 237 | auto make_error_return = [&L] ( const char* fmt, ...) [[gnu::format(printf, 2, 3)]] -> int + | ^~~ In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libsigfile/tsv.hh:26, - from ../../src/libsigfile/all.hh:17: + from patterns/patterns.hh:21, + from patterns/patterns.cc:20: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -5950,22 +6064,19 @@ ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ -In file included from ../../src/common/fs.hh:22, - from ui/sm/sm.cc:18: +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ui/sf/sf.hh:22, + from ui/sf/controls_cb.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/common/config-validate.hh:24, + from expdesign/expdesign.cc:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from rk1968/rk1968-profiles.cc:17: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); @@ -5978,26 +6089,104 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/hypnogram.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from rk1968/rk1968-profiles.cc:17: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +patterns/patterns.hh:112:21: note: remove the '< >' +patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +patterns/patterns.hh:119:22: note: remove the '< >' +patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +patterns/patterns.hh:125:30: note: remove the '< >' +patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +patterns/patterns.hh:135:31: note: remove the '< >' +patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/channel.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.hh:24, + from ui/mw/admit-one_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': @@ -6005,11 +6194,11 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -6040,6 +6229,10 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -6052,6 +6245,13 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/beersma.hh:22: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6138,109 +6338,15 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, - from patterns/patterns.hh:21, - from patterns/patterns.cc:20: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from rk1968/rk1968.cc:31: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_cb.cc -rk1968/rk1968.cc: In function 'int host_get_data(lua_State*)': -rk1968/rk1968.cc:237:96: warning: 'format' attribute argument 2 value '2' exceeds the number of function parameters 1 [-Wattributes] - 237 | auto make_error_return = [&L] ( const char* fmt, ...) [[gnu::format(printf, 2, 3)]] -> int - | ^~~ -patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -patterns/patterns.hh:112:21: note: remove the '< >' -patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -patterns/patterns.hh:119:22: note: remove the '< >' -patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -patterns/patterns.hh:125:30: note: remove the '< >' -patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -patterns/patterns.hh:135:31: note: remove the '< >' -patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -patterns/patterns.hh:147:8: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/construct.o ui/mw/construct.cc -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/loadsave.o ui/mw/loadsave.cc -In file included from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/tree-scanner.cc:21: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/page-metrics-base.hh:19: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -6254,6 +6360,9 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -6266,11 +6375,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::error_log_serialize() const': -expdesign/expdesign.cc:187:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 187 | return move(ret); - | ~~~~^~~~~ -expdesign/expdesign.cc:187:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6301,6 +6405,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6357,143 +6466,43 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +expdesign/tree-scanner.cc: In member function 'int agh::CExpDesign::register_intree_source(sigfile::CTypedSource&&, const char**)': +expdesign/tree-scanner.cc:173:26: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 173 | } catch (invalid_argument) { + | ^~~~~~~~~~~~~~~~ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/edf.hh:26, + from ui/mw/admit-one.cc:13: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 226 | } catch (invalid_argument ex) { + | ^~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from rk1968/rk1968.hh:23, - from rk1968/rk1968-profiles.cc:19: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::make_dirname(agh::TExpDirLevel, const agh::SExpDirLevelId&) const': -expdesign/expdesign.cc:234:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 234 | return move(str::sasprintf( "%s/%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str(), level_id.d.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:234:28: note: remove 'std::move' call -expdesign/expdesign.cc:242:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 242 | return move(str::sasprintf( "%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:242:28: note: remove 'std::move' call -expdesign/expdesign.cc:248:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 248 | return move(str::sasprintf( "%s/%s", _session_dir.c_str(), level_id.g.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:248:28: note: remove 'std::move' call -expdesign/expdesign.cc:254:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 254 | return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME"))); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:254:28: note: remove 'std::move' call -In file included from expdesign/loadsave.cc:15: -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call -expdesign/loadsave.cc: In member function 'int agh::CExpDesign::load_settings()': -expdesign/loadsave.cc:82:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 82 | catch (invalid_argument ex) { - | ^~ -expdesign/loadsave.cc:88:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 88 | catch (invalid_argument ex) { - | ^~ -expdesign/loadsave.cc:94:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 94 | catch (invalid_argument ex) { - | ^~ -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call -expdesign/tree-scanner.cc: In member function 'int agh::CExpDesign::register_intree_source(sigfile::CTypedSource&&, const char**)': -expdesign/tree-scanner.cc:173:26: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 173 | } catch (invalid_argument) { - | ^~~~~~~~~~~~~~~~ -expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 226 | } catch (invalid_argument ex) { - | ^~ expdesign/tree-scanner.cc: In function 'int {anonymous}::supported_sigfile_processor(const char*, const stat*, int, FTW*)': expdesign/tree-scanner.cc:282:52: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] 282 | } catch ( invalid_argument ex) { | ^~ -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_groups() const': -expdesign/expdesign.cc:381:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 381 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:381:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_subjects() const': -expdesign/expdesign.cc:392:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 392 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:392:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_sessions() const': -expdesign/expdesign.cc:407:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 407 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:407:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_episodes() const': -expdesign/expdesign.cc:422:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 422 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:422:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_eeg_channels() const': -expdesign/expdesign.cc:443:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 443 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:443:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_all_channels() const': -expdesign/expdesign.cc:462:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 462 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:462:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::used_samplerates(sigfile::definitions::types) const': -expdesign/expdesign.cc:483:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 483 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:483:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'int agh::CExpDesign::setup_modrun(const std::string&, const std::string&, const std::string&, const agh::SProfileParamSet&, agh::ach::CModelRun**)': -expdesign/expdesign.cc:524:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 524 | } catch (invalid_argument ex) { // thrown by CProfile ctor - | ^~ -expdesign/expdesign.cc:527:31: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] - 527 | } catch (out_of_range ex) { - | ^~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements.o ui/mw/measurements.cc -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/edf.hh:26, - from ui/mw/admit-one.cc:13: +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ @@ -6502,6 +6511,19 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -6524,26 +6546,8 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements_cb.o ui/mw/measurements_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/populate.o ui/mw/populate.cc -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/settings_cb.o ui/mw/settings_cb.cc -In file included from ../../src/common/config-validate.hh:24, - from expdesign/expdesign.hh:22, - from main.cc:23: +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -6554,65 +6558,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations.o ui/mw/simulations.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/sm/sm.cc:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/splash.o ui/mw/splash.cc -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -6624,8 +6569,8 @@ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.hh:24, - from ui/mw/admit-one_cb.cc:13: + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/construct.cc:14: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -6636,16 +6581,35 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -6662,7 +6626,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -6688,6 +6652,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6700,6 +6670,17 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -6718,6 +6699,16 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6730,6 +6721,11 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -6774,12 +6770,36 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); @@ -6790,189 +6810,23 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: -../../src/libsigproc/ext-filters.hh: At global scope: -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: -../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 60 | CFilterIIR (size_t samplerate_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/beersma.hh:21, - from ui/mw/measurements.cc:19: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/loadsave.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ui/mw/settings_cb.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigfile/edf.hh: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from rk1968/rk1968.hh:23, + from rk1968/rk1968-profiles.cc:19: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -7000,31 +6854,23 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/admit-one.cc:16: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -7035,43 +6881,130 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -ui/sm/sm.cc: In constructor 'agh::ui::SSessionChooser::SSessionChooser(const char*)': -ui/sm/sm.cc:84:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 84 | } catch (invalid_argument ex) { - | ^~ -ui/sm/sm.cc: In member function 'int agh::ui::SSessionChooser::open_selected_session()': -ui/sm/sm.cc:117:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 117 | } catch (invalid_argument ex) { - | ^~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw.o ui/mw/mw.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc -In file included from ../../src/libsigfile/source-base.hh:18, - from ui/mw/measurements_cb.cc:12: +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/hypnogram_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27, + from expdesign/expdesign.cc:24: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ui/mw/mw.cc:18: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -7083,9 +7016,7 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: +../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -7101,7 +7032,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -7139,25 +7070,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: -../../src/libsigproc/ext-filters.hh: At global scope: -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7176,6 +7088,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7204,6 +7121,20 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/mw/mw.hh:23: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7219,6 +7150,24 @@ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -7228,6 +7177,16 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7258,40 +7217,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7308,6 +7233,12 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7340,10 +7271,10 @@ ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -7352,63 +7283,37 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, +In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -ui/mw/admit-one.cc: In member function 'int agh::ui::SExpDesignUI::dnd_maybe_admit_one(const char*)': -ui/mw/admit-one.cc:103:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 103 | } catch (invalid_argument ex) { - | ^~ -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:22, - from ui/mw/populate.cc:16: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/channel.o ui/sf/channel.cc +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -7416,7 +7321,7 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -7425,7 +7330,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:19: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -7451,8 +7356,10 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ../../src/aghermann/ui/mf/mf.hh:16, + from ui/mw/simulations_cb.cc:14: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -7488,10 +7395,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7520,13 +7423,17 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -7560,47 +7467,34 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/construct.o ui/sf/construct.cc -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/sf.hh:22, - from ui/mw/settings_cb.cc:19: +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +In file included from ../../src/common/config-validate.hh:24, + from expdesign/expdesign.hh:22, + from main.cc:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/mw/mainmenu_cb.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.hh:24, + from ui/mw/simulations.cc:13: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -7611,55 +7505,12 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/artifact-detection/3in1.hh:21: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/settings_cb.cc:20: +In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -7687,83 +7538,23 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from ui/mw/mainmenu_cb.cc:13: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26, - from ../../src/aghermann/ui/sf/sf.hh:23: +In file included from ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -7783,6 +7574,14 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.cc:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -7801,12 +7600,17 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -7819,6 +7623,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7875,56 +7684,69 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ui/mw/mw.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.hh:24, + from ui/mw/splash.cc:18: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/model/beersma.hh:22, + from ui/mw/mw.cc:23: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -8014,6 +7836,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8026,6 +7853,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -8048,85 +7880,50 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/mw/mainmenu_cb.cc:17: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.cc:19: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.hh:24, - from ui/mw/simulations.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from artifact-detection/3in1.hh:20, + from artifact-detection/3in1.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/ui/sf/channel.hh:30: + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/artifact-detection/3in1.hh:19: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -8210,17 +8007,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22, - from ui/mw/mw.cc:23: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8249,12 +8035,423 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::error_log_serialize() const': +expdesign/expdesign.cc:187:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 187 | return move(ret); + | ~~~~^~~~~ +expdesign/expdesign.cc:187:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::make_dirname(agh::TExpDirLevel, const agh::SExpDirLevelId&) const': +expdesign/expdesign.cc:234:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 234 | return move(str::sasprintf( "%s/%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str(), level_id.d.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:234:28: note: remove 'std::move' call +expdesign/expdesign.cc:242:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 242 | return move(str::sasprintf( "%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:242:28: note: remove 'std::move' call +expdesign/expdesign.cc:248:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 248 | return move(str::sasprintf( "%s/%s", _session_dir.c_str(), level_id.g.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:248:28: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +expdesign/expdesign.cc:254:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 254 | return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME"))); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:254:28: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/artifact-detection/3in1.hh:20, + from ui/sf/channel.cc:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25, + from ui/sm/sm.cc:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/measurements.cc:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/loadsave.cc:18: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ui/sf/sf.hh:22, + from ui/sf/ica_cb.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/sf.hh:22, + from ui/mw/mw_cb.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_groups() const': +expdesign/expdesign.cc:381:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 381 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:381:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_subjects() const': +expdesign/expdesign.cc:392:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 392 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:392:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/artifact-detection/3in1.hh:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_sessions() const': +expdesign/expdesign.cc:407:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 407 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:407:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -8268,6 +8465,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -8280,6 +8482,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_episodes() const': +expdesign/expdesign.cc:422:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 422 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:422:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8298,12 +8505,17 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -8338,11 +8550,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8355,6 +8562,13 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -8371,12 +8585,29 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); @@ -8387,146 +8618,27 @@ 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ui/mw/mw.hh:27, - from ui/mw/mainmenu_cb.cc:18: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_eeg_channels() const': +expdesign/expdesign.cc:443:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 443 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:443:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_all_channels() const': +expdesign/expdesign.cc:462:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 462 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:462:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::used_samplerates(sigfile::definitions::types) const': +expdesign/expdesign.cc:483:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 483 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:483:20: note: remove 'std::move' call +In file included from ui/mw/mw.hh:27: ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -ui/mw/settings_cb.cc: In function 'void tDesign_switch_page_cb(GtkNotebook*, gpointer, guint, gpointer)': -ui/mw/settings_cb.cc:54:49: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 54 | catch (invalid_argument ex) { - | ^~ -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/loadsave.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -ui/mw/mainmenu_cb.cc: In function 'void iHelpUsage_activate_cb(GtkMenuItem*, gpointer)': -ui/mw/mainmenu_cb.cc:610:21: warning: 'gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)' is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations] - 610 | gtk_show_uri( NULL, - | ~~~~~~~~~~~~^~~~~~~ - 611 | "http://johnhommer.com/academic/code/aghermann/usage/", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 612 | GDK_CURRENT_TIME, NULL); - | ~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-3.0/gtk/gtk.h:200, - from ../../src/aghermann/artifact-detection/3in1.hh:17: -/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here - 33 | gboolean gtk_show_uri (GdkScreen *screen, - | ^~~~~~~~~~~~ -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ../../src/aghermann/ui/mf/mf.hh:16, - from ui/mw/simulations_cb.cc:14: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -8543,15 +8655,59 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/sf/channel.cc:22: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +expdesign/expdesign.cc: In member function 'int agh::CExpDesign::setup_modrun(const std::string&, const std::string&, const std::string&, const agh::SProfileParamSet&, agh::ach::CModelRun**)': +expdesign/expdesign.cc:524:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 524 | } catch (invalid_argument ex) { // thrown by CProfile ctor + | ^~ +expdesign/expdesign.cc:527:31: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] + 527 | } catch (out_of_range ex) { + | ^~ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/measurements.cc:21: + from artifact-detection/3in1.hh:21: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -8562,11 +8718,14 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +In file included from ui/sf/channel.cc:23: +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -8588,7 +8747,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -8656,6 +8815,17 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -8672,6 +8842,18 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/artifact-detection/3in1.hh:20, + from ui/mw/mainmenu_cb.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8705,28 +8887,29 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ + from ../../src/aghermann/model/achermann.hh:24, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27, + from ui/sf/channel.cc:25: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ui/sf/channel.cc:15: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -8776,12 +8959,17 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8794,6 +8982,17 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -8810,19 +9009,17 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -8845,95 +9042,11 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ui/mw/mw.hh:27: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.hh:24, - from ui/mw/splash.cc:18: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ui/mw/mw.hh:25: @@ -8941,54 +9054,23 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -9014,17 +9096,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9037,6 +9108,11 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -9055,11 +9131,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9072,6 +9143,13 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -9088,6 +9166,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9116,12 +9199,65 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage_cb.o ui/sf/montage_cb.cc ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/controls_cb.o ui/sf/controls_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage-menus_cb.o ui/sf/montage-menus_cb.cc +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/sf.o ui/sf/sf.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/sf_cb.o ui/sf/sf_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts.o ui/sf/d/artifacts.cc +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -9136,7 +9272,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -9220,6 +9356,14 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +In file included from artifact-detection/3in1.hh:22: +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +In file included from artifact-detection/3in1.cc:17: +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9253,199 +9397,41 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.cc:16: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -ui/mw/loadsave.cc: In function 'std::forward_list > {anonymous}::saving_colors()': -ui/mw/loadsave.cc:30:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 30 | return move( +artifact-detection/3in1.cc: In member function 'virtual std::string agh::ad::CComprehensiveArtifactDetector::serialize() const': +artifact-detection/3in1.cc:60:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 60 | return move( | ~~~~^ - 31 | forward_list> - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | ({ - | ~~ - 33 | {"MWNight", SExpDesignUI::TColour::mw_night}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 34 | {"MWDay", SExpDesignUI::TColour::mw_day}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 35 | {"MWTicks", SExpDesignUI::TColour::mw_ticks}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 36 | {"MWLabels", SExpDesignUI::TColour::mw_labels}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | {"MWProfile", SExpDesignUI::TColour::mw_profile}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 38 | - | - 39 | {"ScoreNONE", SExpDesignUI::TColour::score_none}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 40 | {"ScorNeREM1", SExpDesignUI::TColour::score_nrem1}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 41 | {"ScoreNREM2", SExpDesignUI::TColour::score_nrem2}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 42 | {"ScoreNREM3", SExpDesignUI::TColour::score_nrem3}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 43 | {"ScoreNREM4", SExpDesignUI::TColour::score_nrem4}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 44 | {"ScoreREM", SExpDesignUI::TColour::score_rem}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 45 | {"ScoreWake", SExpDesignUI::TColour::score_wake}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 46 | - | - 47 | {"SFProfilePSD", SExpDesignUI::TColour::sf_profile_psd}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 48 | {"SFProfileSWU", SExpDesignUI::TColour::sf_profile_swu}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 49 | {"SFProfileMC", SExpDesignUI::TColour::sf_profile_mc}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 50 | - | - 51 | {"SFPhasicSpindle", SExpDesignUI::TColour::sf_phasic_spindle}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 52 | {"SFPhasicKComplex", SExpDesignUI::TColour::sf_phasic_Kcomplex}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 53 | {"SFPhasicEyeBlink", SExpDesignUI::TColour::sf_phasic_eyeblink}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 54 | - | - 55 | {"SFEMG", SExpDesignUI::TColour::sf_emg}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | {"SFHypnogram", SExpDesignUI::TColour::sf_hypnogram}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 57 | {"SFArtifacts", SExpDesignUI::TColour::sf_artifact}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 58 | {"SFAnnotations", SExpDesignUI::TColour::sf_annotations}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 59 | {"SFEmbeddedAnnotations", SExpDesignUI::TColour::sf_embedded_annotations}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 60 | {"SFSelection", SExpDesignUI::TColour::sf_selection}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 61 | {"SFTicks", SExpDesignUI::TColour::sf_ticks}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 62 | {"SFLabels", SExpDesignUI::TColour::sf_labels}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 63 | {"SFCursor", SExpDesignUI::TColour::sf_cursor}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 64 | - | - 65 | {"BandDelta", SExpDesignUI::TColour::band_delta}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 66 | {"BandTheta", SExpDesignUI::TColour::band_theta}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 67 | {"BandAlpha", SExpDesignUI::TColour::band_alpha}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | {"BandBeta", SExpDesignUI::TColour::band_beta}, + 61 | CStorablePPack::serialize() + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 62 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 63 | "flat.min_size:%g; flat.pad:%g;\n" + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 64 | "emg.min_steadytone_factor:%g; emg.min_steadytone_run:%g;\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | {"BandGamma", SExpDesignUI::TColour::band_gamma}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | - | - 71 | {"MFSWA", SExpDesignUI::TColour::mf_swa}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 72 | {"MFSWASim", SExpDesignUI::TColour::mf_swa_sim}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | {"MFProcessS", SExpDesignUI::TColour::mf_process_s}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | {"MFPaper", SExpDesignUI::TColour::mf_paper}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | {"MFTicks", SExpDesignUI::TColour::mf_ticks}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | {"MFLabels", SExpDesignUI::TColour::mf_labels} - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 77 | })); - | ~~~ -ui/mw/loadsave.cc:30:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/populate.cc:19: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/measurements_cb.cc:15: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call + 65 | "MC.scope:%g; MC.upper_thr:%g; MC.lower_thr:%g; MC.f0:%g; MC.fc:%g; MC.bandwidth:%g; MC.mc_gain:%g; MC.iir_backpolate:%g; MC.E:%g; MC.dmin:%g; MC.dmax:%g; MC.sssu_hist_size:%zu; MC.smooth_side:%zu; MC.estimate_E:%d; MC.use_range:%d;", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 66 | Pp.flat_min_size, Pp.flat_pad, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | Pp.emg_min_steadytone_factor, Pp.emg_min_steadytone_run, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | Pp.MC.scope, Pp.MC.upper_thr, Pp.MC.lower_thr, Pp.MC.f0, Pp.MC.fc, Pp.MC.bandwidth, Pp.MC.mc_gain, Pp.MC.iir_backpolate, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | Pp.MC.E, Pp.MC.dmin, Pp.MC.dmax, Pp.MC.sssu_hist_size, Pp.MC.smooth_side, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | Pp.MC.estimate_E, Pp.MC.use_range)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +artifact-detection/3in1.cc:60:20: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -9529,6 +9515,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9557,95 +9548,39 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -ui/mw/splash.cc: In member function 'int agh::ui::SExpDesignUI::try_download()': -ui/mw/splash.cc:161:32: warning: 'gboolean vte_terminal_spawn_sync(VteTerminal*, VtePtyFlags, const char*, char**, char**, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GPid*, GCancellable*, GError**)' is deprecated [-Wdeprecated-declarations] - 161 | vte_terminal_spawn_sync( - | ~~~~~~~~~~~~~~~~~~~~~~~^ - 162 | tTerm, - | ~~~~~~ - 163 | VTE_PTY_DEFAULT, - | ~~~~~~~~~~~~~~~~ - 164 | ED->session_dir(), - | ~~~~~~~~~~~~~~~~~~ - 165 | const_cast (argv), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ - 166 | NULL, // char **envv, - | ~~~~~~~~~~~~~~~~~~~~~ - 167 | (GSpawnFlags)G_SPAWN_DO_NOT_REAP_CHILD, // GSpawnFlags spawn_flags, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 168 | NULL, // GSpawnChildSetupFunc child_setup, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 169 | NULL, // gpointer child_setup_data, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 170 | &dl_pid, - | ~~~~~~~~ - 171 | NULL, - | ~~~~~ - 172 | &Error); // GError **error); - | ~~~~~~~ -In file included from /usr/include/vte-2.91/vte/vte.h:38, - from ui/mw/splash.cc:15: -/usr/include/vte-2.91/vte/vtedeprecated.h:91:10: note: declared here - 91 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal, - | ^~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram_cb.o ui/sf/hypnogram_cb.cc -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/construct.cc:14: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/channel.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:27, - from ../../src/aghermann/ui/mf/mf.hh:16, - from ui/mw/mw.cc:26: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/ica.o ui/sf/ica.cc -In file included from ../../src/libsigproc/sigproc.hh:27, +ui/sm/sm.cc: In constructor 'agh::ui::SSessionChooser::SSessionChooser(const char*)': +ui/sm/sm.cc:84:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 84 | } catch (invalid_argument ex) { + | ^~ +ui/sm/sm.cc: In member function 'int agh::ui::SSessionChooser::open_selected_session()': +ui/sm/sm.cc:117:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 117 | } catch (invalid_argument ex) { + | ^~ +In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: + from ui/mw/mw.hh:25, + from ui/mw/mw_cb.cc:16: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -9661,6 +9596,11 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -9673,60 +9613,74 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.cc +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/admit-one.cc:16: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': -ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] - 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, - from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, - from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, - from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, - from /usr/include/gtk-3.0/gdk/gdk.h:32, - from /usr/include/gtk-3.0/gtk/gtk.h:30, - from ../../src/aghermann/ui/globals.hh:16, - from ../../src/aghermann/ui/misc.hh:18, - from ui/mw/mw.cc:24: -/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here - 1067 | void gdk_window_process_all_updates (void); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -9752,6 +9706,15 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/populate.cc:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9776,12 +9739,22 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9794,6 +9767,11 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -9838,106 +9816,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/sf.hh:22, - from ui/mw/mw_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/sf.hh:22, - from ui/sf/controls_cb.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/sf/channel.cc:21: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/ica_cb.o ui/sf/ica_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/mainmenu_cb.o ui/sf/mainmenu_cb.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/mw_cb.cc:16: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -9950,6 +9828,11 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/artifact-detection/3in1.hh:21: @@ -9975,71 +9858,35 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +In file included from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/channel.cc:22: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from ui/sf/channel.cc:23: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -10047,19 +9894,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/hypnogram.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -10078,6 +9912,17 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ui/sf/channel.hh:28, + from ui/sf/hypnogram.cc:18: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -10090,6 +9935,14 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -10102,6 +9955,10 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -10136,6 +9993,12 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/sf.hh:22, + from ui/mw/settings_cb.cc:19: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -10164,24 +10027,21 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27, - from ui/sf/channel.cc:25: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/channel.cc:15: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -10225,12 +10085,18 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -10293,29 +10159,192 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ui/sf/channel.hh:21, + from ui/sf/ica.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: +In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +In file included from ui/mw/mainmenu_cb.cc:13: +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/channel.hh:22: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +ui/mw/loadsave.cc: In function 'std::forward_list > {anonymous}::saving_colors()': +ui/mw/loadsave.cc:30:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 30 | return move( + | ~~~~^ + 31 | forward_list> + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | ({ + | ~~ + 33 | {"MWNight", SExpDesignUI::TColour::mw_night}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 34 | {"MWDay", SExpDesignUI::TColour::mw_day}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 35 | {"MWTicks", SExpDesignUI::TColour::mw_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 36 | {"MWLabels", SExpDesignUI::TColour::mw_labels}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | {"MWProfile", SExpDesignUI::TColour::mw_profile}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 38 | + | + 39 | {"ScoreNONE", SExpDesignUI::TColour::score_none}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 40 | {"ScorNeREM1", SExpDesignUI::TColour::score_nrem1}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 41 | {"ScoreNREM2", SExpDesignUI::TColour::score_nrem2}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 42 | {"ScoreNREM3", SExpDesignUI::TColour::score_nrem3}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 43 | {"ScoreNREM4", SExpDesignUI::TColour::score_nrem4}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 44 | {"ScoreREM", SExpDesignUI::TColour::score_rem}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 45 | {"ScoreWake", SExpDesignUI::TColour::score_wake}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 46 | + | + 47 | {"SFProfilePSD", SExpDesignUI::TColour::sf_profile_psd}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 48 | {"SFProfileSWU", SExpDesignUI::TColour::sf_profile_swu}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | {"SFProfileMC", SExpDesignUI::TColour::sf_profile_mc}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 50 | + | + 51 | {"SFPhasicSpindle", SExpDesignUI::TColour::sf_phasic_spindle}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 52 | {"SFPhasicKComplex", SExpDesignUI::TColour::sf_phasic_Kcomplex}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 53 | {"SFPhasicEyeBlink", SExpDesignUI::TColour::sf_phasic_eyeblink}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 54 | + | + 55 | {"SFEMG", SExpDesignUI::TColour::sf_emg}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | {"SFHypnogram", SExpDesignUI::TColour::sf_hypnogram}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 57 | {"SFArtifacts", SExpDesignUI::TColour::sf_artifact}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 58 | {"SFAnnotations", SExpDesignUI::TColour::sf_annotations}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 59 | {"SFEmbeddedAnnotations", SExpDesignUI::TColour::sf_embedded_annotations}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 60 | {"SFSelection", SExpDesignUI::TColour::sf_selection}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 61 | {"SFTicks", SExpDesignUI::TColour::sf_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 62 | {"SFLabels", SExpDesignUI::TColour::sf_labels}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 63 | {"SFCursor", SExpDesignUI::TColour::sf_cursor}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 64 | + | + 65 | {"BandDelta", SExpDesignUI::TColour::band_delta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 66 | {"BandTheta", SExpDesignUI::TColour::band_theta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | {"BandAlpha", SExpDesignUI::TColour::band_alpha}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | {"BandBeta", SExpDesignUI::TColour::band_beta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | {"BandGamma", SExpDesignUI::TColour::band_gamma}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | + | + 71 | {"MFSWA", SExpDesignUI::TColour::mf_swa}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 72 | {"MFSWASim", SExpDesignUI::TColour::mf_swa_sim}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | {"MFProcessS", SExpDesignUI::TColour::mf_process_s}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | {"MFPaper", SExpDesignUI::TColour::mf_paper}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | {"MFTicks", SExpDesignUI::TColour::mf_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | {"MFLabels", SExpDesignUI::TColour::mf_labels} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 77 | })); + | ~~~ +ui/mw/loadsave.cc:30:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ui/sf/channel.hh:28, + from ui/sf/mainmenu_cb.cc:13: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/measurements_cb.cc:15: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -10326,6 +10355,12 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts_cb.o ui/sf/d/artifacts_cb.cc ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); @@ -10343,17 +10378,10 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from ui/sf/channel.hh:25: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -10364,44 +10392,18 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/hypnogram_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.cc -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage.o ui/sf/montage.cc -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ + from ../../src/aghermann/model/achermann.hh:24, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -10513,89 +10515,20 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/mainmenu_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage_cb.o ui/sf/montage_cb.cc -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/channel.cc:29: -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ui/sf/channel.hh:28, - from ui/sf/hypnogram.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, +In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -ui/sf/channel.cc: In member function 'std::__cxx11::list agh::ui::SScoringFacility::SChannel::in_annotations(double) const': -ui/sf/channel.cc:227:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 227 | return move(ret); - | ~~~~^~~~~ -ui/sf/channel.cc:227:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: + from ui/mw/mw.hh:25, + from ui/mw/settings_cb.cc:20: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -10623,29 +10556,74 @@ from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: +ui/mw/splash.cc: In member function 'int agh::ui::SExpDesignUI::try_download()': +ui/mw/splash.cc:161:32: warning: 'gboolean vte_terminal_spawn_sync(VteTerminal*, VtePtyFlags, const char*, char**, char**, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GPid*, GCancellable*, GError**)' is deprecated [-Wdeprecated-declarations] + 161 | vte_terminal_spawn_sync( + | ~~~~~~~~~~~~~~~~~~~~~~~^ + 162 | tTerm, + | ~~~~~~ + 163 | VTE_PTY_DEFAULT, + | ~~~~~~~~~~~~~~~~ + 164 | ED->session_dir(), + | ~~~~~~~~~~~~~~~~~~ + 165 | const_cast (argv), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ + 166 | NULL, // char **envv, + | ~~~~~~~~~~~~~~~~~~~~~ + 167 | (GSpawnFlags)G_SPAWN_DO_NOT_REAP_CHILD, // GSpawnFlags spawn_flags, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 168 | NULL, // GSpawnChildSetupFunc child_setup, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 169 | NULL, // gpointer child_setup_data, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 170 | &dl_pid, + | ~~~~~~~~ + 171 | NULL, + | ~~~~~ + 172 | &Error); // GError **error); + | ~~~~~~~ +In file included from /usr/include/vte-2.91/vte/vte.h:38, + from ui/mw/splash.cc:15: +/usr/include/vte-2.91/vte/vtedeprecated.h:91:10: note: declared here + 91 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal, + | ^~~~~~~~~~~~~~~~~~~~~~~ +ui/mw/admit-one.cc: In member function 'int agh::ui::SExpDesignUI::dnd_maybe_admit_one(const char*)': +ui/mw/admit-one.cc:103:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 103 | } catch (invalid_argument ex) { + | ^~ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage-overlays.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters.o ui/sf/d/filters.cc +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/aghermann/patterns/patterns.hh:21, + from ui/sf/channel.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -10673,36 +10651,29 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage-menus_cb.o ui/sf/montage-menus_cb.cc -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/sf.o ui/sf/sf.cc ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/channel.cc:29: +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:26, + from ../../src/aghermann/ui/sf/sf.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -10814,62 +10785,11 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/sf_cb.o ui/sf/sf_cb.cc -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/sf.cc:16: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/subject.hh:23, - from ui/sf/sf.cc:20: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/mainmenu_cb.cc:13: -../../src/aghermann/patterns/patterns.hh: At global scope: ../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^ @@ -10890,21 +10810,17 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/subject.hh:26: -../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -11031,84 +10947,45 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/mainmenu_cb.cc:15: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.hh:21, - from ui/sf/ica.cc:18: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); +ui/sf/channel.cc: In member function 'std::__cxx11::list agh::ui::SScoringFacility::SChannel::in_annotations(double) const': +ui/sf/channel.cc:227:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 227 | return move(ret); | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/channel.hh:22: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/mainmenu_cb.cc:15: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, +ui/sf/channel.cc:227:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/mw/mainmenu_cb.cc:17: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18, - from ui/sf/hypnogram_cb.cc:15: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage-overlays.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters-construct.o ui/sf/d/filters-construct.cc ui/sf/mainmenu_cb.cc: In function 'gboolean wSF_key_press_event_cb(GtkWidget*, const GdkEventKey*, gpointer)': ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] 306 | gdk_beep(); \ @@ -11116,11 +10993,6 @@ ui/sf/mainmenu_cb.cc:310:25: note: in expansion of macro 'KEKE' 310 | case GDK_KEY_1: KEKE(1); | ^~~~ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from /usr/include/gtk-3.0/gdk/gdk.h:50, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../../src/aghermann/ui/ui.hh:20, @@ -11209,9 +11081,158 @@ /usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here 121 | void gdk_beep (void); | ^~~~~~~~ -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ui/sf/channel.hh:28: +In file included from ../../src/aghermann/ui/mw/mw.hh:27, + from ../../src/aghermann/ui/mf/mf.hh:16, + from ui/mw/mw.cc:26: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_cb.cc +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/ui/sf/channel.hh:30: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ../../src/aghermann/artifact-detection/3in1.hh:19: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -11227,71 +11248,76 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +ui/mw/settings_cb.cc: In function 'void tDesign_switch_page_cb(GtkNotebook*, gpointer, guint, gpointer)': +ui/mw/settings_cb.cc:54:49: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 54 | catch (invalid_argument ex) { + | ^~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18, + from ui/sf/hypnogram_cb.cc:15: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/sf_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ui/sf/channel.hh:30: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ui/sf/montage-overlays.cc:14: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -11403,17 +11429,34 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ +ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': +ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] + 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, + from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, + from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, + from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, + from /usr/include/gtk-3.0/gdk/gdk.h:32, + from /usr/include/gtk-3.0/gtk/gtk.h:30, + from ../../src/aghermann/ui/globals.hh:16, + from ../../src/aghermann/ui/misc.hh:18, + from ui/mw/mw.cc:24: +/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here + 1067 | void gdk_window_process_all_updates (void); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ui/mw/mw.hh:27, + from ui/mw/mainmenu_cb.cc:18: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -11553,6 +11596,122 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc +ui/mw/mainmenu_cb.cc: In function 'void iHelpUsage_activate_cb(GtkMenuItem*, gpointer)': +ui/mw/mainmenu_cb.cc:610:21: warning: 'gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)' is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations] + 610 | gtk_show_uri( NULL, + | ~~~~~~~~~~~~^~~~~~~ + 611 | "http://johnhommer.com/academic/code/aghermann/usage/", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 612 | GDK_CURRENT_TIME, NULL); + | ~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:200, + from ../../src/aghermann/artifact-detection/3in1.hh:17: +/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here + 33 | gboolean gtk_show_uri (GdkScreen *screen, + | ^~~~~~~~~~~~ +In file included from ui/sf/channel.hh:28, + from ui/sf/montage-overlays.cc:18: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/sf.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/sf_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-profiles.o ui/sf/d/patterns-profiles.cc +In file included from ui/sf/sf.cc:16: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/artifacts.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -11593,10 +11752,20 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, +In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/sf/sf.cc:22: + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_cb.cc +In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -11612,13 +11781,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -11631,16 +11793,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -11651,45 +11803,12 @@ ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -11705,35 +11824,19 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/sf.hh:22, - from ui/sf/ica_cb.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.cc ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -11834,7 +11937,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts.o ui/sf/d/artifacts.cc ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -11863,27 +11965,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -11893,7 +11974,10 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/montage-overlays.cc:14: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ui/sf/montage.cc:14: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -11907,6 +11991,9 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -11937,6 +12024,7 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -11949,6 +12037,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -12010,91 +12103,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts_cb.o ui/sf/d/artifacts_cb.cc -In file included from ui/sf/channel.hh:28, - from ui/sf/sf.cc:24: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/sf.cc:27: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage_cb.cc:16: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -ui/sf/sf.cc: In member function 'void agh::ui::SScoringFacility::load_montage()': -ui/sf/sf.cc:743:44: warning: catching polymorphic type 'class libconfig::ParseException' by value [-Wcatch-value=] - 743 | } catch (libconfig::ParseException ex) { - | ^~ -ui/sf/sf.cc:748:45: warning: catching polymorphic type 'class libconfig::FileIOException' by value [-Wcatch-value=] - 748 | } catch (libconfig::FileIOException ex) { - | ^~ -In file included from ui/sf/channel.hh:28, - from ui/sf/montage-overlays.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters.o ui/sf/d/filters.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12135,7 +12143,20 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters-construct.o ui/sf/d/filters-construct.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/filters.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -12152,15 +12173,72 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968.o ui/sf/d/rk1968.cc +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/subject.hh:23, + from ui/sf/sf.cc:20: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage_cb.cc:16: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage-menus_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -12222,12 +12300,17 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -12278,124 +12361,36 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/montage_cb.cc:17: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage-menus_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_cb.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/subject.hh:26: +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -12507,38 +12502,20 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/artifacts.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12546,11 +12523,41 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +In file included from ui/sf/channel.hh:28, + from ui/sf/montage.cc:18: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -12574,16 +12581,63 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/artifacts_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/construct.o ui/mf/construct.cc +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -12600,11 +12654,73 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/montage.cc:20: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -12614,7 +12730,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/montage.cc:14: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -12731,75 +12847,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/montage-menus_cb.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -12816,17 +12863,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/montage-menus_cb.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -12966,129 +13007,29 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/montage.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/artifacts_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/montage.cc:20: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/artifact-detection/3in1.hh:20, + from ui/sf/d/artifacts.hh:19, + from ui/sf/d/artifacts-profiles_cb.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-profiles.o ui/sf/d/patterns-profiles.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_cb.cc -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/filters.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -13215,24 +13156,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/sf/d/artifacts.hh:19, - from ui/sf/d/artifacts-profiles_cb.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -13255,21 +13178,104 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/sf/channel.hh:28, + from ui/sf/montage-menus_cb.cc:14: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/d/artifacts.cc:13: -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/artifact-detection/3in1.hh:21: + from ../../src/aghermann/ui/mw/mw.hh:25, + from ui/sf/sf.cc:22: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -13297,47 +13303,14 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, +In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/artifacts_cb.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28: + from ../../src/aghermann/artifact-detection/3in1.hh:21: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -13360,38 +13333,21 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ +In file included from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -13453,17 +13409,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/artifacts.hh:20: -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -13488,7 +13433,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ @@ -13517,6 +13461,81 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/montage-menus_cb.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ui/sf/channel.hh:28, + from ui/sf/montage_cb.cc:17: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/mf.o ui/mf/mf.cc +In file included from ui/sf/channel.hh:28, + from ui/sf/sf.cc:24: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/mf_cb.o ui/mf/mf_cb.cc +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/artifacts.hh:20: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call In file included from ../../src/aghermann/artifact-detection/3in1.hh:19: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -13525,16 +13544,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -13605,12 +13620,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -13644,11 +13653,17 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/sf.cc:27: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/d/filters_cb.cc:14: @@ -13662,17 +13677,49 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/d/artifacts.cc:13: +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +ui/sf/sf.cc: In member function 'void agh::ui::SScoringFacility::load_montage()': +ui/sf/sf.cc:743:44: warning: catching polymorphic type 'class libconfig::ParseException' by value [-Wcatch-value=] + 743 | } catch (libconfig::ParseException ex) { + | ^~ +ui/sf/sf.cc:748:45: warning: catching polymorphic type 'class libconfig::FileIOException' by value [-Wcatch-value=] + 748 | } catch (libconfig::FileIOException ex) { + | ^~ ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/artifacts_cb.cc:14: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/globals.o ui/globals.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/d/filters-construct.cc:15: @@ -13681,17 +13728,19 @@ 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/misc.o ui/misc.cc ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/d/artifacts_cb.cc:15: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/ui++.o ui/ui++.cc +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, | ^~~~~~~~~~ ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/ui.o ui/ui.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -13732,11 +13781,61 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/phasediff-construct.cc:13: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/patterns.cc:13: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -13748,33 +13847,43 @@ 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/d/artifacts_cb.cc:15: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -13784,7 +13893,6 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -13799,11 +13907,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -13816,10 +13919,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -13838,7 +13937,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -13907,59 +14005,16 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/patterns.cc:13: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -14100,8 +14155,28 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/patterns-profiles_cb.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/channel.hh:22: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } @@ -14119,6 +14194,54 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:25: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/mf/mf.hh:16, + from ui/mf/construct.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/d/rk1968.hh:16, + from ui/sf/d/rk1968-profiles.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -14138,6 +14261,63 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns-profiles.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns-draw.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/channel.hh:22: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:25: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/aghermann/patterns/patterns.hh:21, from ../../src/aghermann/ui/sf/channel.hh:28: @@ -14156,6 +14336,95 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/aghermann/patterns/patterns.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/d/rk1968.hh:16, + from ui/sf/d/rk1968_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -14188,9 +14457,42 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/ui/sf/channel.hh:30: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -14252,6 +14554,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -14308,163 +14615,23 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc -In file included from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns.cc:14: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns-profiles.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968.o ui/sf/d/rk1968.cc -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns_cb.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/aghermann/patterns/patterns.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -14478,6 +14645,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14490,12 +14662,23 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -14526,12 +14709,18 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14547,7 +14736,22 @@ ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -14560,6 +14764,13 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14576,11 +14787,102 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/d/rk1968.hh:16, + from ui/sf/d/rk1968-profiles_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -14597,35 +14899,15 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns-draw.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles.cc -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -14737,36 +15019,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/patterns-profiles_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/phasediff-construct.cc:13: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -14774,6 +15026,11 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -14806,64 +15063,25 @@ ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/channel.hh:22: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_cb.cc -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:28: +In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -14891,15 +15109,17 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -14913,23 +15133,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns-profiles.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14954,14 +15163,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14974,10 +15175,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -14990,6 +15187,17 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -15012,6 +15220,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -15040,47 +15253,100 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/construct.o ui/mf/construct.cc -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/phasediff.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/ui/sf/channel.hh:30: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -15188,24 +15454,23 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/mf.o ui/mf/mf.cc In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/channel.hh:22: + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns_cb.cc:15: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -15216,150 +15481,16 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/mf_cb.o ui/mf/mf_cb.cc -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns_cb.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns-profiles.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns-draw.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/globals.o ui/globals.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/misc.o ui/misc.cc -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns_cb.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/ui/sf/channel.hh:30: + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -15476,47 +15607,14 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns-draw.cc:15: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/ui++.o ui/ui++.cc -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968-profiles_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/ui.o ui/ui.cc +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/phasediff.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968.cc:13: + from ui/sf/d/phasediff_cb.cc:14: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -15527,57 +15625,41 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: +In file included from ../../src/aghermann/ui/mw/mw.hh:27, + from ui/sf/d/patterns-profiles_cb.cc:17: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/beersma.hh:21, + from ui/mf/mf_cb.cc:15: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/beersma.hh:21, - from ui/mf/mf_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -15599,11 +15681,13 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns-profiles_cb.cc:19: +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -15616,46 +15700,20 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/phasediff_cb.cc:14: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns.cc:14: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -15666,7 +15724,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, @@ -15691,34 +15748,55 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:27, - from ui/sf/d/patterns-profiles_cb.cc:17: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/d/rk1968.hh:16, + from ui/sf/d/rk1968.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ui/sf/d/rk1968.hh:15: +In file included from ui/sf/d/phasediff.cc:13: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -15798,10 +15876,16 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -15814,6 +15898,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15830,13 +15919,117 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns-profiles_cb.cc:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, | ^~~~~~~~~~ ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/patterns-profiles.cc:16: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ui/mf/mf.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/patterns-draw.cc:14: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -15861,11 +16054,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -15981,11 +16169,10 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968-profiles.cc:17: +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -15996,202 +16183,44 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/ui.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ui/mf/mf.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -16207,6 +16236,28 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -16216,7 +16267,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/d/phasediff_cb.cc:12: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -16272,11 +16323,12 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16301,10 +16353,15 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16317,6 +16374,10 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16329,6 +16390,7 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ @@ -16338,20 +16400,45 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/mf/mf.hh:16, - from ui/mf/construct.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -16368,7 +16455,13 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/d/phasediff.cc:13: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ../../src/libsigfile/page.hh:20, + from ui/sf/d/rk1968.hh:15: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -16394,173 +16487,50 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/page.hh:20, + from ../../src/aghermann/model/achermann.hh:22: +../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: -../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 60 | CFilterIIR (size_t samplerate_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: -../../src/libsigproc/ext-filters.hh: At global scope: -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] +../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ @@ -16568,6 +16538,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16580,6 +16556,12 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16592,24 +16574,51 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16638,6 +16647,30 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16654,49 +16687,38 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/mf/mf.hh:16, - from ui/mf/mf_cb.cc:17: +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -16712,6 +16734,29 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -16723,13 +16768,6 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) @@ -16755,17 +16793,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff_cb.cc:15: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16778,18 +16805,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16876,73 +16891,46 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/phasediff.cc:16: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } @@ -16953,23 +16941,21 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ui/sf/d/phasediff_cb.cc:12: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -17081,25 +17067,52 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns-profiles.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns-draw.cc:15: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff.cc:16: + from ui/sf/d/patterns_cb.cc:16: ../../src/aghermann/patterns/patterns.hh: At global scope: ../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) @@ -17126,86 +17139,10 @@ 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/mf/mf.cc:14: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -17324,26 +17261,21 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/ui.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -17361,16 +17293,22 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns_cb.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -17506,16 +17444,108 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25, + from ui/mf/mf.hh:16, + from ui/mf/mf_cb.cc:17: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/phasediff_cb.cc:15: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, | ^~~~~~~~~~ ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25, + from ui/mf/mf.cc:14: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } @@ -17526,7 +17556,13 @@ 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, | ^~~~~~~~~~ ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -shared -Wl,-z,relro -Wl,-z,now -o aghermann artifact-detection/3in1.o expdesign/dirlevel.o expdesign/expdesign.o expdesign/loadsave.o expdesign/recording.o expdesign/subject.o expdesign/tree-scanner.o model/achermann-tunable.o model/achermann.o model/achermann-siman.o model/ultradian-cycle.o model/borbely.o patterns/patterns.o rk1968/rk1968.o rk1968/rk1968-profiles.o ui/sm/sm-construct.o ui/sm/sm.o ui/sm/sm_cb.o ui/mw/admit-one.o ui/mw/admit-one_cb.o ui/mw/construct.o ui/mw/loadsave.o ui/mw/mainmenu_cb.o ui/mw/measurements.o ui/mw/measurements_cb.o ui/mw/populate.o ui/mw/settings_cb.o ui/mw/simulations.o ui/mw/simulations_cb.o ui/mw/splash.o ui/mw/mw.o ui/mw/mw_cb.o ui/sf/channel.o ui/sf/construct.o ui/sf/controls_cb.o ui/sf/hypnogram.o ui/sf/hypnogram_cb.o ui/sf/ica.o ui/sf/ica_cb.o ui/sf/mainmenu_cb.o ui/sf/montage-overlays.o ui/sf/montage.o ui/sf/montage_cb.o ui/sf/montage-menus_cb.o ui/sf/sf.o ui/sf/sf_cb.o ui/sf/d/artifacts.o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts_cb.o ui/sf/d/filters.o ui/sf/d/filters-construct.o ui/sf/d/filters_cb.o ui/sf/d/patterns.o ui/sf/d/patterns-draw.o ui/sf/d/patterns-profiles.o ui/sf/d/patterns_cb.o ui/sf/d/patterns-profiles_cb.o ui/sf/d/phasediff.o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff_cb.o ui/sf/d/rk1968.o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968_cb.o ui/mf/construct.o ui/mf/mf.o ui/mf/mf_cb.o ui/globals.o ui/misc.o ui/ui++.o ui/ui.o main.o globals.o ../libmetrics/libmetrics.la ../libsigproc/libsigproc.la ../common/liba.a ../libsigfile/libsigfile.la -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lcairo -lvte-2.91 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lconfig++ -lfftw3_omp -lpthread -fopenmp -llua5.1 +In file included from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -shared -Wl,-z,relro -Wl,-z,now -o aghermann artifact-detection/3in1.o expdesign/dirlevel.o expdesign/expdesign.o expdesign/loadsave.o expdesign/recording.o expdesign/subject.o expdesign/tree-scanner.o model/achermann-tunable.o model/achermann.o model/achermann-siman.o model/ultradian-cycle.o model/borbely.o patterns/patterns.o rk1968/rk1968.o rk1968/rk1968-profiles.o ui/sm/sm-construct.o ui/sm/sm.o ui/sm/sm_cb.o ui/mw/admit-one.o ui/mw/admit-one_cb.o ui/mw/construct.o ui/mw/loadsave.o ui/mw/mainmenu_cb.o ui/mw/measurements.o ui/mw/measurements_cb.o ui/mw/populate.o ui/mw/settings_cb.o ui/mw/simulations.o ui/mw/simulations_cb.o ui/mw/splash.o ui/mw/mw.o ui/mw/mw_cb.o ui/sf/channel.o ui/sf/construct.o ui/sf/controls_cb.o ui/sf/hypnogram.o ui/sf/hypnogram_cb.o ui/sf/ica.o ui/sf/ica_cb.o ui/sf/mainmenu_cb.o ui/sf/montage-overlays.o ui/sf/montage.o ui/sf/montage_cb.o ui/sf/montage-menus_cb.o ui/sf/sf.o ui/sf/sf_cb.o ui/sf/d/artifacts.o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts_cb.o ui/sf/d/filters.o ui/sf/d/filters-construct.o ui/sf/d/filters_cb.o ui/sf/d/patterns.o ui/sf/d/patterns-draw.o ui/sf/d/patterns-profiles.o ui/sf/d/patterns_cb.o ui/sf/d/patterns-profiles_cb.o ui/sf/d/phasediff.o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff_cb.o ui/sf/d/rk1968.o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968_cb.o ui/mf/construct.o ui/mf/mf.o ui/mf/mf_cb.o ui/globals.o ui/misc.o ui/ui++.o ui/ui.o main.o globals.o ../libmetrics/libmetrics.la ../libsigproc/libsigproc.la ../common/liba.a ../libsigfile/libsigfile.la -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lcairo -lvte-2.91 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lconfig++ -lfftw3_omp -lpthread -fopenmp -llua5.1 libtool: warning: Linking the executable aghermann against the loadable module libtool: warning: libmetrics.so is not portable! @@ -17557,6 +17593,37 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from agh-profile-gen.cc:22: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from agh-profile-gen.cc:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -17567,6 +17634,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from edfcat.cc:22: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, from edfhed.cc:21: @@ -17579,25 +17651,6 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from agh-profile-gen.cc:22: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from edfcat.cc:22: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -17631,63 +17684,22 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from edfhed.cc:22: -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -edfhed.cc: In function 'int main(int, char**)': -edfhed.cc:418:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 418 | } catch (invalid_argument ex) { - | ^~ -edfhed.cc:421:39: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] - 421 | } catch (out_of_range ex) { - | ^~ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/edf.hh:26, - from edfcat.cc:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } +In file included from ../../src/libsigfile/typed-source.hh:16, + from agh-profile-gen.cc:25: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from agh-profile-gen.cc:23: + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/edf.hh:26, + from edfcat.cc:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -17698,13 +17710,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -edfcat.cc: At global scope: -edfcat.cc:57:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 57 | void figure_timepoints( const list&) throw (invalid_argument); - | ^~~~~ -edfcat.cc:58:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | void figure_channels( const list&) throw (invalid_argument); - | ^~~~~ ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -17715,28 +17720,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -edfcat.cc:66:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 66 | int parse_op( int argc, const char* argv[]) throw (invalid_argument); - | ^~~~~ -edfcat.cc:69:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 69 | SOperation( int argc, const char* argv[]) throw (invalid_argument) - | ^~~~~ -edfcat.cc:79:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 79 | parse_op( int argc, const char* argv[]) throw (invalid_argument) - | ^~~~~ -edfcat.cc:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 139 | figure_timepoints( const list& argv) throw (invalid_argument) - | ^~~~~ -edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 170 | figure_channels( const list& argv) throw (invalid_argument) - | ^~~~~ -In file included from ../../src/libsigfile/typed-source.hh:16, - from agh-profile-gen.cc:25: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/psd.hh:25, from ../../src/libmetrics/all.hh:16, from agh-profile-gen.cc:26: @@ -17802,6 +17785,11 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -17870,11 +17858,59 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from edfhed.cc:22: +../../src/libsigfile/edf.hh: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigfile/edf.hh: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +edfhed.cc: In function 'int main(int, char**)': +edfhed.cc:418:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 418 | } catch (invalid_argument ex) { + | ^~ +edfhed.cc:421:39: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] + 421 | } catch (out_of_range ex) { + | ^~ +edfcat.cc: At global scope: +edfcat.cc:57:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 57 | void figure_timepoints( const list&) throw (invalid_argument); + | ^~~~~ +edfcat.cc:58:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 58 | void figure_channels( const list&) throw (invalid_argument); + | ^~~~~ +edfcat.cc:66:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 66 | int parse_op( int argc, const char* argv[]) throw (invalid_argument); + | ^~~~~ +edfcat.cc:69:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 69 | SOperation( int argc, const char* argv[]) throw (invalid_argument) + | ^~~~~ +edfcat.cc:79:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 79 | parse_op( int argc, const char* argv[]) throw (invalid_argument) + | ^~~~~ +edfcat.cc:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 139 | figure_timepoints( const list& argv) throw (invalid_argument) + | ^~~~~ +edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 170 | figure_channels( const list& argv) throw (invalid_argument) + | ^~~~~ In file included from ../aghermann/ui/ui.cc:14: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) @@ -17931,6 +17967,17 @@ 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +edfhed-gtk.cc: In function 'int main(int, char**)': +edfhed-gtk.cc:164:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 164 | } catch (invalid_argument ex) { + | ^~ +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o agh-profile-gen agh-profile-gen.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../libmetrics/libmetrics.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread + +libtool: warning: Linking the executable agh-profile-gen against the loadable module +libtool: warning: libsigfile.so is not portable! + +libtool: warning: Linking the executable agh-profile-gen against the loadable module +libtool: warning: libsigproc.so is not portable! edfhed.cc:246:54: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 6 [-Wformat-truncation=] 246 | snprintf( date_buf, 9, "%02d.%02d.%02d", | ^~~~ @@ -17961,45 +18008,34 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o agh-profile-gen agh-profile-gen.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../libmetrics/libmetrics.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -edfhed-gtk.cc: In function 'int main(int, char**)': -edfhed-gtk.cc:164:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 164 | } catch (invalid_argument ex) { - | ^~ - -libtool: warning: Linking the executable agh-profile-gen against the loadable module -libtool: warning: libsigfile.so is not portable! - -libtool: warning: Linking the executable agh-profile-gen against the loadable module -libtool: warning: libsigproc.so is not portable! libtool: warning: Linking the executable agh-profile-gen against the loadable module libtool: warning: libmetrics.so is not portable! libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/agh-profile-gen agh-profile-gen.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../libmetrics/.libs/libmetrics.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -fopenmp -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfhed edfhed.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfcat edfcat.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfhed edfhed.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread libtool: warning: Linking the executable edfhed against the loadable module libtool: warning: libsigfile.so is not portable! libtool: warning: Linking the executable edfhed against the loadable module libtool: warning: libsigproc.so is not portable! +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfhed-gtk ../aghermann/ui/edfhed_gtk-ui.o edfhed_gtk-edfhed-gtk.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lfftw3_omp -lpthread +libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfhed edfhed.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfcat edfcat.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -libtool: warning: Linking the executable edfcat against the loadable module +libtool: warning: Linking the executable edfhed-gtk against the loadable module libtool: warning: libsigfile.so is not portable! libtool: warning: Linking the executable edfcat against the loadable module -libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfhed edfhed.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann -libtool: warning: libsigproc.so is not portable! -libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfcat edfcat.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfhed-gtk ../aghermann/ui/edfhed_gtk-ui.o edfhed_gtk-edfhed-gtk.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lfftw3_omp -lpthread - -libtool: warning: Linking the executable edfhed-gtk against the loadable module libtool: warning: libsigfile.so is not portable! libtool: warning: Linking the executable edfhed-gtk against the loadable module libtool: warning: libsigproc.so is not portable! + +libtool: warning: Linking the executable edfcat against the loadable module +libtool: warning: libsigproc.so is not portable! libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfhed-gtk ../aghermann/ui/edfhed_gtk-ui.o edfhed_gtk-edfhed-gtk.o -Wl,--export-dynamic ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfftw3_omp -lpthread -pthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann +libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfcat edfcat.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/tools' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src' make[5]: Nothing to be done for 'all-am'. @@ -18031,7 +18067,7 @@ make[2]: Leaving directory '/build/reproducible-path/aghermann-1.1.2' make[1]: Leaving directory '/build/reproducible-path/aghermann-1.1.2' dh_auto_test - make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/aghermann-1.1.2' Making check in src make[2]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src' @@ -18109,7 +18145,7 @@ make[4]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' /usr/bin/mkdir -p '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' - /bin/bash ../../libtool --mode=install /usr/bin/install -c libsigproc.la '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' + /bin/sh ../../libtool --mode=install /usr/bin/install -c libsigproc.la '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libsigproc.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so libtool: install: /usr/bin/install -c .libs/libsigproc.lai /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.la libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu/aghermann' @@ -18120,7 +18156,7 @@ make[4]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' /usr/bin/mkdir -p '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' - /bin/bash ../../libtool --mode=install /usr/bin/install -c libsigfile.la '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' + /bin/sh ../../libtool --mode=install /usr/bin/install -c libsigfile.la '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libsigfile.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigfile.so libtool: install: /usr/bin/install -c .libs/libsigfile.lai /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigfile.la libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu/aghermann' @@ -18130,7 +18166,7 @@ make[4]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' /usr/bin/mkdir -p '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' - /bin/bash ../../libtool --mode=install /usr/bin/install -c libmetrics.la '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' + /bin/sh ../../libtool --mode=install /usr/bin/install -c libmetrics.la '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libmetrics.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libmetrics.so libtool: install: /usr/bin/install -c .libs/libmetrics.lai /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libmetrics.la libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu/aghermann' @@ -18141,7 +18177,7 @@ make[4]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/aghermann' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/aghermann' /usr/bin/mkdir -p '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c aghermann '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin' + /bin/sh ../../libtool --mode=install /usr/bin/install -c aghermann '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin' libtool: warning: '../libmetrics/libmetrics.la' has not been installed in '/usr/lib/x86_64-linux-gnu/aghermann' libtool: warning: '../libsigproc/libsigproc.la' has not been installed in '/usr/lib/x86_64-linux-gnu/aghermann' libtool: warning: '../libsigfile/libsigfile.la' has not been installed in '/usr/lib/x86_64-linux-gnu/aghermann' @@ -18157,7 +18193,7 @@ make[4]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/tools' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/tools' /usr/bin/mkdir -p '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c edfcat edfhed edfhed-gtk agh-profile-gen '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin' + /bin/sh ../../libtool --mode=install /usr/bin/install -c edfcat edfhed edfhed-gtk agh-profile-gen '/build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin' libtool: warning: '../libsigfile/libsigfile.la' has not been installed in '/usr/lib/x86_64-linux-gnu/aghermann' libtool: warning: '../libsigproc/libsigproc.la' has not been installed in '/usr/lib/x86_64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/edfcat /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin/edfcat @@ -18249,18 +18285,18 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libmetrics.so contains an unresolvable reference to symbol _ZN7sigproc6smoothIfEEvRSt8valarrayIT_Em: it's probably a plugin -dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigfile.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigfile.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigproc.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigproc.so' +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libmetrics.so contains an unresolvable reference to symbol gsl_histogram_alloc: it's probably a plugin +dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to see them all) +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol gsl_spline_alloc: it's probably a plugin +dpkg-shlibdeps: warning: 27 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: can't extract name and version from library name 'libmetrics.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libmetrics.so' -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_interp_accel_free: it's probably a plugin +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_alloc: it's probably a plugin dpkg-shlibdeps: warning: 7 other similar warnings have been skipped (use -v to see them all) -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol gsl_interp_akima: it's probably a plugin -dpkg-shlibdeps: warning: 27 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/aghermann/usr/bin/agh-profile-gen debian/aghermann/usr/bin/aghermann were not linked against libfftw3.so.3 (they use none of the library's symbols) dh_installdeb dh_gencontrol @@ -18275,12 +18311,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/2134839/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2134839/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/1354970 and its subdirectories -I: Current time: Sat Jan 25 14:10:47 -12 2025 -I: pbuilder-time-stamp: 1737857447 +I: removing directory /srv/workspace/pbuilder/2134839 and its subdirectories +I: Current time: Sat Feb 28 22:36:13 +14 2026 +I: pbuilder-time-stamp: 1772267773