Diff of the two buildlogs: -- --- b1/build.log 2025-09-07 14:27:08.809888650 +0000 +++ b2/build.log 2025-09-07 14:29:54.614105308 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 10 08:46:17 -12 2026 -I: pbuilder-time-stamp: 1791665177 +I: Current time: Mon Sep 8 04:27:09 +14 2025 +I: pbuilder-time-stamp: 1757255229 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -25,53 +25,85 @@ 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/3665945/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1571978/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Sep 7 14:27 /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/1571978/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1571978/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=42 ' - DISTRIBUTION='forky' - 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=40 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8be58fdeeca6440cb8cd311021c6c4af' - 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='3665945' - PS1='# ' - PS2='> ' + INVOCATION_ID=d024fc4fdfb24ebc846682f5545815b3 + 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=1571978 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.LlH37wC8/pbuilderrc_K2G7 --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LlH37wC8/b1 --logfile b1/build.log aghermann_1.1.2-5.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.LlH37wC8/pbuilderrc_DbHV --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LlH37wC8/b2 --logfile b2/build.log aghermann_1.1.2-5.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3665945/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1571978/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -474,7 +506,7 @@ Get: 341 http://deb.debian.org/debian forky/main amd64 libvte-2.91-dev amd64 0.80.3-2 [62.0 kB] Get: 342 http://deb.debian.org/debian forky/main amd64 libxml2-utils amd64 2.14.5+dfsg-0.2 [123 kB] Get: 343 http://deb.debian.org/debian forky/main amd64 lua5.1 amd64 5.1.5-11 [103 kB] -Fetched 161 MB in 20s (8241 kB/s) +Fetched 161 MB in 20s (7958 kB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared: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 ... 19897 files and directories currently installed.) @@ -1590,8 +1622,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Oct 10 20:48:21 UTC 2026. -Universal Time is now: Sat Oct 10 20:48:21 UTC 2026. +Local time is now: Sun Sep 7 14:28:37 UTC 2025. +Universal Time is now: Sun Sep 7 14:28:37 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1899,7 +1931,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/1571978/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1571978/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 @@ -2152,7 +2188,7 @@ dh_auto_build - make -j42 + make -j40 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' @@ -2165,7 +2201,7 @@ 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 libcommon.cc:24: +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)); @@ -2176,7 +2212,7 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call -In file included from log-facility.cc:19: +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] 61 | return move(tokens( s_, sep)); @@ -2187,7 +2223,7 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call -In file included from subject_id.cc:16: +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)); @@ -2198,11 +2234,22 @@ 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) + | ^ In file included from libcommon.cc:25: alg.hh: At global scope: 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 alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -2249,22 +2296,6 @@ 135 | return move(acc); | ~~~~^~~~~ libcommon.cc:135:20: note: remove 'std::move' call -libcommon.cc: In function 'std::string agh::fs::make_fname_base(const std::string&, const std::string&, TMakeFnameOption)': -libcommon.cc:347:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 347 | return move(fname); - | ~~~~^~~~~~~ -libcommon.cc:347: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] @@ -2276,6 +2307,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +libcommon.cc: In function 'std::string agh::fs::make_fname_base(const std::string&, const std::string&, TMakeFnameOption)': +libcommon.cc:347:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 347 | return move(fname); + | ~~~~^~~~~~~ +libcommon.cc:347: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)); } @@ -2287,13 +2323,13 @@ 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 +/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 ext-filters.cc -fPIC -DPIC -o .libs/ext-filters.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 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 In file included from exstrom.cc:12: exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': @@ -2479,26 +2515,26 @@ 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 +/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 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 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 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 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 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 edf.cc -fPIC -DPIC -o .libs/edf.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 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 tsv.cc -fPIC -DPIC -o .libs/tsv.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 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] @@ -2532,6 +2568,17 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71: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] + 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 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] @@ -2553,19 +2600,9 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169: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] - 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 source-base.hh:18, - from page.cc:21: + from typed-source.hh:16, + from typed-source.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) | ^ @@ -2575,9 +2612,7 @@ | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from source-base.hh:18, - from edf.hh:26, - from edf-io.cc:13: -../../src/common/alg.hh: At global scope: + 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) | ^ @@ -2603,17 +2638,28 @@ 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: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 +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, "/")); @@ -2648,6 +2694,23 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from source-base.hh:18, + from edf.hh:26, + from edf-io.cc:13: +../../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 +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)); } @@ -2660,16 +2723,22 @@ 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: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/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 ../../src/libsigproc/sigproc.hh:27, from tsv.hh:26, from tsv.cc:24: @@ -2677,48 +2746,6 @@ ../../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 -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); - | ^~~~~ -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 -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/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 source-base.hh:18, from edf.hh:26, from edf.cc:26: @@ -2726,6 +2753,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) | ^ +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/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); @@ -2742,26 +2779,33 @@ 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 -edf-io.cc: In member function 'virtual std::valarray sigfile::CEDFFile::get_region_original_smpl(int, size_t, size_t) const': -edf-io.cc:61:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 61 | return move(recp); +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); | ~~~~^~~~~~ -edf-io.cc:61:20: note: remove 'std::move' call -In file included from source-base.hh:18, - from typed-source.hh:16, - from typed-source.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/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 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; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +../../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 /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, @@ -2784,60 +2828,42 @@ /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 source-base.hh:19, - from tsv.hh: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 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) | ^~~~~~~~~~~ -../../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 +../../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 '< >' 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); - | ^~~~~ 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); + | ^~~~~ 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 -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 +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); + | ^~~~~ +In file included from source-base.hh:19, + from tsv.hh: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, "/")); @@ -2848,24 +2874,26 @@ 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)); } +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)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call -edf.cc: At global scope: -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.hh:94: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); | ^~~~~ +edf-io.cc: In member function 'virtual std::valarray sigfile::CEDFFile::get_region_original_smpl(int, size_t, size_t) const': +edf-io.cc:61:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 61 | return move(recp); + | ~~~~^~~~~~ +edf-io.cc:61: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 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)); } @@ -2901,26 +2929,34 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +edf.cc: At global scope: +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 +/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/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 +/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 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 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 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-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 psd.cc -fPIC -DPIC -o .libs/psd.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) @@ -2969,18 +3005,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -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/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( @@ -2988,16 +3012,6 @@ 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::__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: 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_) @@ -3114,15 +3128,64 @@ 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: ../../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 swu.cc:18: -../../src/common/alg.hh: At global scope: +../../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)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../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 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) | ^ @@ -3131,6 +3194,12 @@ 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 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); @@ -3164,17 +3233,6 @@ 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.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)': @@ -3197,33 +3255,6 @@ 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)': -../../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)); } @@ -3240,6 +3271,11 @@ 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: ../../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] @@ -3268,13 +3304,6 @@ 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 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 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] @@ -3387,11 +3416,36 @@ 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 ../../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 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 +../../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 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( @@ -3446,6 +3500,25 @@ 92 | sizeof(TFloat))); | ~~~~~~~~~~~~~~~~ mc.cc:79: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 +../../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/typed-source.hh:16, + from psd.cc:28: +../../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( @@ -3486,38 +3559,11 @@ 76 | sizeof(TFloat))); | ~~~~~~~~~~~~~~~~ swu.cc:67: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 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 ../../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': -../../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.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: @@ -3580,17 +3626,7 @@ 113 | ); | ~ psd.cc:102: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 -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 -/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' @@ -3636,22 +3672,181 @@ 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 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/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 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 +../../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 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 +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 ../../src/libsigproc/sigproc.hh:27, + from expdesign/recording.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); + | ~~~~^~~~~~ +../../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: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/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 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 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) | ^ +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 +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/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 In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/loadsave.cc:14: + 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/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: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) | ^ @@ -3660,6 +3855,22 @@ 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 +../../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, @@ -3684,11 +3895,69 @@ 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)': +../../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/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::__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: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/alg.hh:169: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 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 +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 +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/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 @@ -3696,17 +3965,22 @@ 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 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/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: + 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; \ @@ -3824,85 +4098,24 @@ ../../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 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/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 -../../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/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/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 - | ^~~~~~~ -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 + 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/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:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from 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; \ @@ -4014,50 +4227,25 @@ 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 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/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 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 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/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 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 ../../src/common/fs.hh:22, - from rk1968/rk1968-profiles.cc:15: + 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)); @@ -4078,56 +4266,6 @@ 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 expdesign/recording.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); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326: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/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/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/common/config-validate.hh:24, from ../../src/aghermann/expdesign/dirlevel.hh:23, from rk1968/rk1968.hh:22, @@ -4141,7 +4279,23 @@ ../../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/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) + | ^ ../../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/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, "/")); @@ -4152,43 +4306,49 @@ 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 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 +../../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); + | ^~~~~ 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: + 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/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/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/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/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 + | ^~~~~~~ +../../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/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: + 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)); @@ -4199,21 +4359,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71: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 - | ^~~~~~~ -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/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); @@ -4224,11 +4369,6 @@ 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: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] @@ -4243,6 +4383,10 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -4255,6 +4399,7 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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; \ | ^ @@ -4341,11 +4486,18 @@ 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 +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 ../../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 | ^~~~~~~ @@ -4357,24 +4509,56 @@ 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/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/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 -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/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/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/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 +../../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/libsigfile/tsv.hh:26, - from ../../src/libsigfile/all.hh:17: + 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); @@ -4403,11 +4587,7 @@ | ^ ../../src/libsigproc/sigproc.hh:93:23: 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, - from ../../src/aghermann/model/beersma.hh:21, - from expdesign/recording.cc:17: + 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)); @@ -4418,104 +4598,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 -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) - | ^ -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/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 '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 -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 -../../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/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/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/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/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 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 @@ -4523,34 +4611,28 @@ 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 - | ^~~~~~~ -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/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 +../../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/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: +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 +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; \ @@ -4594,6 +4676,11 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -4606,11 +4693,6 @@ 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; \ | ^ @@ -4639,20 +4721,6 @@ 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: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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4681,6 +4749,47 @@ 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/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/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; \ | ^ @@ -4747,24 +4856,10 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../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/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:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libsigproc/ext-filters.hh:113: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, - 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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4793,43 +4888,32 @@ 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 | ^~~~~~~ -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/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: 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/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 +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/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 @@ -4837,28 +4921,16 @@ 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: ../../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/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/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/fs.hh:23: +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; \ @@ -4942,6 +5014,14 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4970,25 +5050,25 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164: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/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 | ^~~~~~~ ../../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/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; - | ^~~~ ../../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/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: +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)); @@ -4999,28 +5079,198 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +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 + | ^~~~~~~ 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: ../../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/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/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/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/string.hh:71: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; \ + | ^ +../../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/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; \ + | ^ +../../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/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/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/fs.hh:46: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; \ + | ^ +../../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 +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/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/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::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/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, "/")); @@ -5031,9 +5281,69 @@ 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, +../../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/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) + | ^ +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 +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 +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 +../../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/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 ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from rk1968/rk1968.cc:28: + 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/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, "/")); @@ -5044,48 +5354,223 @@ 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/beersma.hh:21, - from ui/mw/measurements.cc:19: +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 +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( + | ~~~~^ + 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 ui/sm/sm_cb.cc:13: +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 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 +../../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/common/string.hh:61:20: 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: +../../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/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 +../../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/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; \ + | ^ +../../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, + 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: 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/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/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 +../../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/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/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/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: 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); + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -5093,11 +5578,55 @@ ../../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/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/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/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/fs.hh:37: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/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: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] @@ -5182,6 +5711,11 @@ 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; \ | ^ @@ -5221,16 +5755,179 @@ 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 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/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 +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 +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) { + | ^~~~~~~~~~~~~~~~ +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) + | ^ +expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 226 | } catch (invalid_argument ex) { + | ^~ +../../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/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) { + | ^~ +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 +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 +../../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/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 +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/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); + | ~~~~^~~~~~ +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 +../../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 +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 +../../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/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 ../../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 +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 ../../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)); } @@ -5238,29 +5935,21 @@ ../../src/libsigfile/source-base.hh:297:30: 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: + 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/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 - | ^~~~~~~ +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)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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; \ @@ -5286,12 +5975,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/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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -5317,7 +6000,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_, | ^~~~~~ @@ -5350,6 +6033,7 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +expdesign/recording.cc:58:46: 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; \ | ^ @@ -5368,6 +6052,10 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +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 ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -5377,33 +6065,20 @@ ../../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_, | ^~~~~~ +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 ../../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/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/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 ../../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 -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) - | ^ 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: @@ -5412,68 +6087,46 @@ 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 -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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../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/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/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19: +../../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/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/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/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) { + | ^~ +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ ../../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/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/common/fs.hh:23: +rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +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; \ @@ -5505,6 +6158,13 @@ ../../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 ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -5523,10 +6183,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -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) { - | ^~~~~~~~~~~~~~~~ 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] @@ -5589,11 +6245,60 @@ 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/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/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); | ~~~~^~~~~ +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) + | ^ ../../src/libmetrics/psd.hh:152: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 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] @@ -5650,9 +6355,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 226 | } catch (invalid_argument ex) { - | ^~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -5708,16 +6410,12 @@ ../../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: 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:164:24: note: remove the '< >' -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) { - | ^~ +../../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: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 | ^~~~~~~ @@ -5729,80 +6427,36 @@ 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 '< >' -../../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: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/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 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/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] +../../src/common/fs.hh:37: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 +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 -../../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.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 ../../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 @@ -5814,16 +6468,27 @@ ../../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/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-overlays.o ui/sf/montage-overlays.cc +../../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/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 -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/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/page.hh:20, from ../../src/aghermann/model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: @@ -5845,23 +6510,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -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 ../../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); | ^~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -5874,7 +6528,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:61:29: 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; \ | ^ @@ -5920,25 +6573,15 @@ ../../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_, | ^~~~~~ -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 -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/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +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); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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 @@ -5950,6 +6593,36 @@ ../../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/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/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/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 +../../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; \ | ^ @@ -5978,55 +6651,18 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164: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/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: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 -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 +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/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/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:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/common/fs.hh:46: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/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/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: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] @@ -6071,11 +6707,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../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:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -6144,115 +6775,387 @@ 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/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/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/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/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/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/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/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/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 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/string.hh:71: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 '< >' -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/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); + | ^~~~~~~~~~~~~~~~~~~~~~ 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: + 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/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/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 rk1968/rk1968.cc:31: +../../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 +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/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 -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/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:22, - from ui/mw/populate.cc:16: +../../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 '< >' +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/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 -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 ui/mw/settings_cb.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 +../../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 +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/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 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)); @@ -6263,12 +7166,24 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71: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/libmetrics/psd.hh:22: +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; \ @@ -6306,6 +7221,10 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -6318,8 +7237,9 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78: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_, | ^~~~~~ @@ -6364,6 +7284,10 @@ ../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -6376,53 +7300,53 @@ ../../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:78: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 '< >' -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/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/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/common/fs.hh:22, - 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 -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 -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/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 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/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/hypnogram.cc:17: + 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)); @@ -6433,8 +7357,55 @@ 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 '< >' +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 '< >' +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) + | ^ +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/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 ui/sf/channel.cc:17: + 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)); @@ -6445,33 +7416,95 @@ 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/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: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/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 '< >' 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: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 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/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, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: + 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/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)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71: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/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, "/")); @@ -6481,46 +7514,23 @@ ../../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::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/alg.hh:169:20: note: remove 'std::move' call ../../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/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 -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 -../../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: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 +../../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_) + | ^ 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: @@ -6529,21 +7539,42 @@ 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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 -../../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 ../../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 +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 + | ^~~ +../../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/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/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, "/")); @@ -6564,8 +7595,19 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ui/sf/sf.hh:22, - from ui/sf/controls_cb.cc:12: +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 +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 +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/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) | ^ @@ -6574,19 +7616,47 @@ 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) - | ^ +../../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 -In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigfile/source-base.hh:297:30: 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 +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/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/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); @@ -6596,105 +7666,69 @@ ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); | ~~~~^~~~~~ +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) { + | ^~ ../../src/libsigproc/exstrom.hh:345: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 + | ^~~~~~~ +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) { + | ^~ ../../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 +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/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/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/exstrom.hh:345:20: note: remove 'std::move' call ../../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::__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 -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/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 -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 -../../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/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); +../../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); | ~~~~^~~~~~ -expdesign/expdesign.cc:462: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/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/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/libmetrics/page-metrics-base.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; \ @@ -6708,6 +7742,13 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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; \ | ^ @@ -6720,11 +7761,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/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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6749,11 +7790,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: 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/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] @@ -6778,17 +7814,12 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~^~~~~~ ../../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); | ^~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:483: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_, | ^~~~~~ @@ -6821,58 +7852,28 @@ 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 ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.cc:19: +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 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/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/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/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: 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)); @@ -6890,49 +7891,14 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: 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) { - | ^~ -../../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/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/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: + 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/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) - | ^ -../../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: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 | ^~~~~~~ @@ -6944,24 +7910,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 | ^~~~~~~ -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/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); @@ -7005,6 +7953,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; \ | ^ @@ -7035,14 +7988,6 @@ ../../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/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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7071,11 +8016,6 @@ ../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7092,6 +8032,11 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164: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 ../../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 | ^~~~~~~ @@ -7114,94 +8059,199 @@ 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)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh:369: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: +../../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/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/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/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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh:63: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: 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 - | ^~~~~~~ -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/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) + | ^ +../../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 +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 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 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/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/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: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: +../../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/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 '< >' +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 +../../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 +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 +../../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: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] @@ -7286,6 +8336,13 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7298,6 +8355,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7313,84 +8375,69 @@ ../../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/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/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 -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/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 ../../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 -../../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/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 +../../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/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); | ~~~~^~~~~ -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/libmetrics/psd.hh:152: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 +../../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: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] @@ -7487,6 +8534,26 @@ ../../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/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/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/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; \ | ^ @@ -7503,59 +8570,38 @@ 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/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/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: 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/sf/montage_cb.o ui/sf/montage_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/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/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/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_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: 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: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 ../../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; \ @@ -7593,6 +8639,10 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7605,12 +8655,20 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: 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/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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7623,6 +8681,11 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7635,6 +8698,13 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/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_, | ^~~~~~ @@ -7667,35 +8737,86 @@ 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/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/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 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/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/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/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/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 ../../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, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh:152: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/montage-menus_cb.o ui/sf/montage-menus_cb.cc -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; \ @@ -7715,12 +8836,26 @@ ../../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/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/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/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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7739,12 +8874,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_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: 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/libsigproc/exstrom.hh:369: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] @@ -7797,6 +8937,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: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -7806,42 +8953,15 @@ ../../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/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/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.o ui/sf/sf.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 -../../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, +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 ../../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); @@ -7857,6 +8977,19 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: 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/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( @@ -7869,39 +9002,9 @@ 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/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, +In file included 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/sf_cb.o ui/sf/sf_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/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: + 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 | ^~~~~~~ @@ -7912,12 +9015,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 | ^~~~~~~ +../../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/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; \ @@ -8029,258 +9137,60 @@ 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/d/artifacts.o ui/sf/d/artifacts.cc 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: + 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/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/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/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 -../../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/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: ../../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: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 ../../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/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 -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/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/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: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 '< >' -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/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 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/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-construct.o ui/sf/d/filters-construct.cc 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; - | ^~~~ -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 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) - | ^ -../../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/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 ../../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 ui/sf/channel.cc:15: +../../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/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; \ @@ -8306,6 +9216,14 @@ ../../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: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; \ | ^ @@ -8364,11 +9282,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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 ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8402,308 +9320,34 @@ 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); - | ~~~~^~~~~~ -../../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/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: -../../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: 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/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 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/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: 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/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: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/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 -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/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_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 artifact-detection/3in1.hh:22: +../../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 +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/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 artifact-detection/3in1.cc:17: +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( - | ~~~~^ - 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 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/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: 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 '< >' -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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../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 -artifact-detection/3in1.cc:60: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 -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/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: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, - 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 -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/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/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/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/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: 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/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); @@ -8712,57 +9356,27 @@ 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); - | ~~~~^~~~~~ -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 -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: + 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/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/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:297:30: 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/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( @@ -8770,53 +9384,6 @@ 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 -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/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::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/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 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: 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_) @@ -8824,61 +9391,25 @@ ../../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 ui/mw/mw.hh:25: + 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/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/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/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/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/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/model/achermann.hh:24, 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 + 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/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:26: +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +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; \ @@ -8904,13 +9435,11 @@ ../../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: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 ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8940,7 +9469,6 @@ ../../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/libmetrics/psd.hh:152:36: note: remove 'std::move' call ../../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; \ @@ -8954,20 +9482,6 @@ ../../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/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; \ | ^ @@ -8980,18 +9494,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: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/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_, | ^~~~~~ @@ -8999,30 +9501,6 @@ ../../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); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../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); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -9032,12 +9510,14 @@ ../../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/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/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); + | ~~~~^~~~~~ +../../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; \ | ^ @@ -9054,89 +9534,165 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164: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/libmetrics/page-metrics-base.hh: At global scope: +../../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/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/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); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345: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/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: 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/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: +../../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/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/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/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 '< >' +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/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/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:147:8: 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/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 +../../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 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/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 | ^~~~~~~ -../../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; \ - | ^ -../../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/libmetrics/mc.hh:157:36: 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/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 -../../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 ../../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; \ @@ -9254,83 +9810,174 @@ ../../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/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/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/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/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/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/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/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/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/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, + | ^~~~~~~~~~~~~~~~~~~~~~~ ../../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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../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 ui/sf/channel.hh:28, - from ui/sf/hypnogram.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: +../../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/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_) | ^ @@ -9339,6 +9986,11 @@ 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^~~~~~~~~~ ../../src/aghermann/patterns/patterns.hh:119:22: 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/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) | ^ @@ -9351,28 +10003,7 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: 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 - | ^~~~~~~ -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/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/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; \ @@ -9398,6 +10029,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/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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9410,6 +10050,11 @@ ../../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 ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -9428,6 +10073,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; \ | ^ @@ -9456,12 +10106,6 @@ 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: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; \ | ^ @@ -9474,11 +10118,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/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:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -9495,35 +10139,6 @@ 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_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/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); - | ~~~~^~~~~~ -../../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/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: 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( @@ -9531,22 +10146,27 @@ 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)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: 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: 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/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/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -9556,13 +10176,8 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -../../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 ui/mw/mw.hh:23: +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; \ @@ -9600,19 +10215,6 @@ ../../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/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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -9658,60 +10260,54 @@ ../../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_, | ^~~~~~ +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 ../../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 +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: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: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/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:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ +../../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: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/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/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/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: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] +../../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' @@ -9720,14 +10316,13 @@ ../../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: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/libmetrics/mc.hh:157:36: 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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9786,21 +10381,67 @@ 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; \ + | ^ +../../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); + | ^~~~~~~~~~~~~~~~~~~~~~ +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) { + | ^~ +../../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/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: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 ../../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/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: +../../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/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; \ @@ -9896,34 +10537,6 @@ ../../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/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; \ | ^ @@ -9940,11 +10553,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 ../../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 | ^~~~~~~ @@ -9958,31 +10566,93 @@ 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/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/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/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/fs.hh:37: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/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 +../../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/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: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( + | ~~~~^ + 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 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_) | ^~~~~~~~~~ @@ -9995,42 +10665,76 @@ 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 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/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/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 -../../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 - | ^~~~~~~ +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/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: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 +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) { + | ^~ +../../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/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 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/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 -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/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] @@ -10143,81 +10847,38 @@ 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/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - 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/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/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 -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: 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/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/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 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; \ @@ -10243,13 +10904,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -10262,11 +10916,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -10284,12 +10933,7 @@ ../../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/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/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../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; \ | ^ @@ -10346,10 +10990,43 @@ 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, +../../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/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, + | ^~~~~~~~~~~~ +../../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 ui/mw/mw.hh:25, - from ui/mw/measurements_cb.cc:15: + 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); @@ -10365,11 +11042,6 @@ 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( @@ -10382,6 +11054,9 @@ 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, + 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( '/'))); } @@ -10392,12 +11067,17 @@ 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 +../../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, "/")); @@ -10408,9 +11088,12 @@ 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/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from 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/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 | ^~~~~~~ @@ -10421,17 +11104,12 @@ ../../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); | ~~~~^~~~~ ../../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/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; \ @@ -10554,128 +11232,6 @@ 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/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/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/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, - 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; \ - | ^ -../../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/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/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 '< >' 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 @@ -10692,6 +11248,29 @@ /usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here 1067 | void gdk_window_process_all_updates (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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/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 +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/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/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) + | ^ +../../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-overlays.cc:17: @@ -10705,76 +11284,62 @@ 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/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 '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, +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 ../../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 +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/mw_cb.cc:16: + 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 +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 ../../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 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/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/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/libsigproc/exstrom.hh:369: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_cb.o ui/sf/d/filters_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/patterns.o ui/sf/d/patterns.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( @@ -10787,24 +11352,25 @@ 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 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: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 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, "/")); @@ -10815,168 +11381,74 @@ 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 -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) { - | ^~ -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) { - | ^~ -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( +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( | ~~~~^ - 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 -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, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../../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 + 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 -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 +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/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -10986,7 +11458,7 @@ 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; \ @@ -11060,6 +11532,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: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -11070,6 +11553,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; \ | ^ @@ -11103,180 +11591,23 @@ 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/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 '< >' -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 '< >' -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(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:310:25: note: in expansion of macro 'KEKE' - 310 | case GDK_KEY_1: KEKE(1); - | ^~~~ -../../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 '< >' -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, - from ../../src/aghermann/ui/mw/mw.hh:28: -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -../../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 '< >' -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:311:25: note: in expansion of macro 'KEKE' - 311 | case GDK_KEY_2: KEKE(2); - | ^~~~ -../../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 '< >' -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:312:25: note: in expansion of macro 'KEKE' - 312 | case GDK_KEY_3: KEKE(3); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:313:25: note: in expansion of macro 'KEKE' - 313 | case GDK_KEY_4: KEKE(4); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:314:25: note: in expansion of macro 'KEKE' - 314 | case GDK_KEY_5: KEKE(5); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:315:25: note: in expansion of macro 'KEKE' - 315 | case GDK_KEY_6: KEKE(6); - | ^~~~ -/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: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) - | ^ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:316:25: note: in expansion of macro 'KEKE' - 316 | case GDK_KEY_7: KEKE(7); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:317:25: note: in expansion of macro 'KEKE' - 317 | case GDK_KEY_8: KEKE(8); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:318:25: note: in expansion of macro 'KEKE' - 318 | case GDK_KEY_9: KEKE(9); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:319:25: note: in expansion of macro 'KEKE' - 319 | case GDK_KEY_0: KEKE(10); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -../../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 -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) { - | ^~ +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 +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 +../../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/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/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; \ @@ -11285,17 +11616,11 @@ 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/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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 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; \ | ^ @@ -11308,7 +11633,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63: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; \ | ^ @@ -11345,11 +11669,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../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/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -11405,6 +11724,63 @@ 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 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/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/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, @@ -11421,23 +11797,92 @@ 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 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 +../../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/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 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/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/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(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:310:25: note: in expansion of macro 'KEKE' + 310 | case GDK_KEY_1: KEKE(1); + | ^~~~ +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, + from ../../src/aghermann/ui/mw/mw.hh:28: +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:311:25: note: in expansion of macro 'KEKE' + 311 | case GDK_KEY_2: KEKE(2); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:312:25: note: in expansion of macro 'KEKE' + 312 | case GDK_KEY_3: KEKE(3); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:313:25: note: in expansion of macro 'KEKE' + 313 | case GDK_KEY_4: KEKE(4); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:314:25: note: in expansion of macro 'KEKE' + 314 | case GDK_KEY_5: KEKE(5); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:315:25: note: in expansion of macro 'KEKE' + 315 | case GDK_KEY_6: KEKE(6); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -11447,7 +11892,16 @@ 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: +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:316:25: note: in expansion of macro 'KEKE' + 316 | case GDK_KEY_7: KEKE(7); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +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; \ @@ -11473,6 +11927,21 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:317:25: note: in expansion of macro 'KEKE' + 317 | case GDK_KEY_8: KEKE(8); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:318:25: note: in expansion of macro 'KEKE' + 318 | case GDK_KEY_9: KEKE(9); + | ^~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -11485,6 +11954,9 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -11497,20 +11969,21 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:319:25: note: in expansion of macro 'KEKE' + 319 | case GDK_KEY_0: KEKE(10); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ 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/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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -11539,11 +12012,6 @@ 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; \ | ^ @@ -11572,38 +12040,116 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +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 '< >' +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/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/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)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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/filters_cb.o ui/sf/d/filters_cb.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 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 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 '< >' +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/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 ../../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/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/artifacts.cc:12: + 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)); @@ -11614,6 +12160,34 @@ 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( + | ~~~~^ + 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: @@ -11621,6 +12195,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 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/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); @@ -11642,6 +12222,22 @@ 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 ../../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/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( @@ -11654,21 +12250,16 @@ 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/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 ui/sf/channel.hh:28, - from ui/sf/montage-overlays.cc:18: + 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_) @@ -11690,6 +12281,11 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: 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/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -11706,31 +12302,21 @@ 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.o ui/sf/d/patterns.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-draw.o ui/sf/d/patterns-draw.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-profiles.o ui/sf/d/patterns-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 -../../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/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; \ @@ -11842,112 +12428,16 @@ 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/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/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/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/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 -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 -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/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)); } @@ -11989,6 +12479,19 @@ ../../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/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/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -12081,88 +12584,17 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164: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/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/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 -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 -../../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/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: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) - | ^ -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/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/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 -../../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: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] @@ -12201,6 +12633,10 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -12213,6 +12649,7 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: 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] @@ -12259,12 +12696,6 @@ ../../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: -../../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: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -12281,52 +12712,57 @@ 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/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: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/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: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_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_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/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/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/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: 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); + | ~~~~^~~~~ +../../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( @@ -12334,26 +12770,11 @@ 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/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 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] @@ -12382,23 +12803,6 @@ 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/patterns-profiles_cb.o ui/sf/d/patterns-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 -../../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, @@ -12415,6 +12819,11 @@ 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/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -12431,42 +12840,14 @@ 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.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/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 -../../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 +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 +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( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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)); } @@ -12483,76 +12864,16 @@ ../../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/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/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; \ - | ^ -../../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/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/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; \ - | ^ -../../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 '< >' 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] @@ -12582,30 +12903,6 @@ ../../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/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); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -12615,10 +12912,6 @@ ../../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: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; \ | ^ @@ -12640,30 +12933,6 @@ ../../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: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); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -12673,10 +12942,6 @@ ../../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: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; \ | ^ @@ -12721,26 +12986,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 + | ^~~~~~~ +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/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); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152: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 - | ^~~~~~~ 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] @@ -12797,11 +13070,6 @@ 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; \ | ^ @@ -12858,77 +13126,56 @@ 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/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 '< >' -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 -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 -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 -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 -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 -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 +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 '< >' +../../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/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 '< >' 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, @@ -12942,21 +13189,6 @@ 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/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/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)': @@ -12979,16 +13211,104 @@ 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/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 ../../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 ../../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); + | ~~~~^~~~~~ +../../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/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/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 ui/sf/montage.cc:14: +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; \ @@ -13112,39 +13432,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/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 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/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] @@ -13173,8 +13465,14 @@ 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/phasediff_cb.o ui/sf/d/phasediff_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.o ui/sf/d/rk1968.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.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 +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 In file included from ui/sf/channel.hh:28, - from ui/sf/montage-menus_cb.cc:14: + 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_) @@ -13212,46 +13510,23 @@ 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/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 '< >' -../../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.o ui/mf/mf.cc +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/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/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, @@ -13378,19 +13653,19 @@ 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/sf/d/filters-construct.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 +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 +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/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/d/artifacts.hh:20, from ui/sf/d/artifacts.cc:13: ../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: @@ -13398,8 +13673,23 @@ 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/montage.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/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 +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_) @@ -13421,155 +13711,45 @@ 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/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 '< >' -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/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 -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/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); - | ^~~~~~~~~~~~~~~~~~~~~~ -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/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); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: 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] - 60 | CFilterIIR (size_t samplerate_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:60:24: 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/construct.o ui/mf/construct.cc -../../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/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/filters_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/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 +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/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -13610,8 +13790,32 @@ 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/mf/mf.o ui/mf/mf.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/mf/mf_cb.o ui/mf/mf_cb.cc +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 +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/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/filters-construct.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 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, @@ -13628,57 +13832,26 @@ 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/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 '< >' +../../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/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/ui.hh:22, - from ui/sf/d/filters-construct.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; \ @@ -13790,21 +13963,57 @@ 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/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/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, +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: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/globals.o ui/globals.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/misc.o ui/misc.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/ui++.o ui/ui++.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/ui.o ui/ui.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/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 +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); @@ -13832,101 +14041,67 @@ 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/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: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: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/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 '< >' -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 -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 -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 '< >' -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 ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/filters_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 -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 -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/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:169: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 +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: @@ -13955,6 +14130,24 @@ 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 ../../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); + | ~~~~^~~~~~ +../../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( @@ -13962,36 +14155,23 @@ 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: 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: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 ../../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/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 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, @@ -14013,30 +14193,60 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: 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 '< >' 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: + 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/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:147:8: 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/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/aghermann/ui/ui.hh:22, + from ui/sf/d/filters-construct.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; \ @@ -14148,162 +14358,25 @@ 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/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/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 -../../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: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/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/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/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/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: -../../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 -../../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/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: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: -../../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); @@ -14389,12 +14462,6 @@ ../../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/exstrom.hh:326: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_, | ^~~~~~ @@ -14411,11 +14478,6 @@ ../../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; \ | ^ @@ -14432,128 +14494,21 @@ 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_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/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 '< >' -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); - | ~~~~^~~~~~ -../../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 ../../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/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/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/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/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; \ @@ -14579,6 +14534,11 @@ ../../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/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; \ | ^ @@ -14665,54 +14625,13 @@ 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 -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/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: + 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)); @@ -14723,13 +14642,6 @@ 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) - | ^ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -14795,17 +14707,12 @@ 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/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:169:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -14856,11 +14763,33 @@ 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/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/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: + 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)); @@ -14871,12 +14800,24 @@ 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)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: +../../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 +../../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/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); @@ -14904,73 +14845,11 @@ 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 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) - | ^ -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 -../../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 -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/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/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/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)); @@ -14981,18 +14860,55 @@ 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/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/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/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) @@ -15002,25 +14918,6 @@ 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/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/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] @@ -15037,6 +14934,22 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369: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/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( @@ -15044,28 +14957,56 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63: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 '< >' +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/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/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: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/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 | ^~~~~~~ +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/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; \ @@ -15079,11 +15020,6 @@ ../../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/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; \ | ^ @@ -15193,24 +15129,50 @@ 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/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 +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/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: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: +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; \ @@ -15294,11 +15256,6 @@ 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; \ | ^ @@ -15327,42 +15284,53 @@ 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/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/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/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/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/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/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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61: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 ../../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] @@ -15374,50 +15342,34 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345: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/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/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/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: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] @@ -15447,6 +15399,18 @@ | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' 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/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)': @@ -15459,14 +15423,45 @@ 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/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/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/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/phasediff_cb.cc:14: + 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)); @@ -15477,47 +15472,192 @@ 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 ../../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/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: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/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/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/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/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/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: 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/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 +../../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-profiles.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_) | ^ ../../src/aghermann/patterns/patterns.hh:112:21: 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/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_) | ^~~~~~~~~~ @@ -15534,11 +15674,48 @@ 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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../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, + 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); + | ~~~~^~~~~~ +../../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) + | ^ +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/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( @@ -15551,38 +15728,28 @@ 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/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/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/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/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] @@ -15594,27 +15761,16 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345: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_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/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/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( @@ -15622,17 +15778,57 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63: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 ../../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:19: +../../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/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/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/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/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; \ @@ -15658,6 +15854,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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; \ | ^ @@ -15700,6 +15901,12 @@ ../../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: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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15744,26 +15951,139 @@ 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/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/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( + | ~~~~^ + 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/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/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 +../../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 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/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 +../../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/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, + 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/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 -../../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/common/config-validate.hh:26: +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; \ @@ -15801,6 +16121,11 @@ ../../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 ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15819,34 +16144,25 @@ 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: -../../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: +../../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:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); +../../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:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -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] +../../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: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; \ @@ -15866,9 +16182,6 @@ ../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15881,39 +16194,46 @@ ../../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: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:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../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:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../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/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: note: remove the '< >' - 62 | T () = delete; \ +../../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; \ +../../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: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: note: remove the '< >' - 63 | T (const T&) = delete; \ +../../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); @@ -15921,25 +16241,21 @@ ../../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/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: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:60: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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -15974,6 +16290,11 @@ ../../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/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -15996,24 +16317,17 @@ 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/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/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, @@ -16030,36 +16344,28 @@ 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/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/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/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.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; \ @@ -16097,10 +16403,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16113,17 +16415,17 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/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/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/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; \ | ^ @@ -16180,113 +16482,34 @@ 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/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/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 -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: 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/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/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/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, "/")); @@ -16297,23 +16520,20 @@ 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/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 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, "/")); @@ -16324,73 +16544,22 @@ 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/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/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 ../../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/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/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 '< >' ../../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 @@ -16402,12 +16571,18 @@ ../../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/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/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/d/phasediff.cc:13: +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; \ @@ -16421,6 +16596,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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; \ | ^ @@ -16519,32 +16699,42 @@ 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/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/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/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/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/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 ui/sf/d/phasediff_cb.cc:12: +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; \ @@ -16656,35 +16846,26 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -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/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/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 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 In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25, @@ -16699,62 +16880,114 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345: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/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/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/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/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/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/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/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: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)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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 '< >' ../../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 @@ -16762,53 +16995,16 @@ 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: ../../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 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/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 ../../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; \ - | ^ -../../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); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/page.hh:20, - from ui/sf/d/rk1968.hh:15: +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; \ @@ -16828,18 +17024,6 @@ ../../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:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -16858,36 +17042,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: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: 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); - | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -16900,52 +17060,18 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: 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] - 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: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; \ - | ^ -../../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: 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/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; \ | ^ @@ -16961,35 +17087,7 @@ ../../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/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/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; \ - | ^ -../../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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -17029,16 +17127,46 @@ 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 -../../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/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, @@ -17051,69 +17179,47 @@ 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: 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 '< >' -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/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/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 '< >' -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/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: 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/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/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: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); | ~~~~^~~~~ ../../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_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; \ @@ -17197,11 +17303,6 @@ 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; \ | ^ @@ -17230,22 +17331,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/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/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 @@ -17257,6 +17342,11 @@ ../../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/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); @@ -17397,39 +17487,6 @@ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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/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/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/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/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] @@ -17452,27 +17509,11 @@ 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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../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 '< >' -../../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/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/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25, @@ -17493,11 +17534,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369: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 '< >' ../../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( @@ -17516,7 +17552,7 @@ 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -/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 +/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! @@ -17566,6 +17602,40 @@ 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 +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from edfhed.cc:21: +../../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/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: 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::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 edfcat.cc:22: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] @@ -17592,18 +17662,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369: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/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( @@ -17616,28 +17674,13 @@ 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 -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from edfhed.cc:21: -../../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/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)); } @@ -17667,18 +17710,7 @@ 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/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 -../../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 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); @@ -17688,7 +17720,11 @@ 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -In file included from edfhed.cc:22: +../../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); @@ -17836,6 +17872,13 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: 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); @@ -17858,13 +17901,6 @@ edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 170 | figure_channels( const list& argv) throw (invalid_argument) | ^~~~~ -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 ../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) @@ -17874,7 +17910,7 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -/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 +/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 In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/edf.hh:26, from edfhed-gtk.cc:15: @@ -17922,14 +17958,14 @@ 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call - -libtool: warning: Linking the executable agh-profile-gen against the loadable module -libtool: warning: libsigfile.so is not portable! - 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! @@ -17966,9 +18002,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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\" -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 -/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 +/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: warning: Linking the executable edfhed against the loadable module libtool: warning: libsigfile.so is not portable! @@ -17976,18 +18011,19 @@ libtool: warning: Linking the executable edfhed 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\" -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: Linking the executable edfcat against the loadable module +/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 edfhed-gtk against the loadable module libtool: warning: libsigfile.so is not portable! -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: 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: warning: Linking the executable edfcat against the loadable module +libtool: warning: libsigfile.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\" -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' @@ -18021,7 +18057,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 -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j40 check "TESTSUITEFLAGS=-j40 --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' @@ -18099,7 +18135,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' @@ -18110,7 +18146,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' @@ -18120,7 +18156,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' @@ -18131,7 +18167,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' @@ -18147,7 +18183,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 @@ -18239,18 +18275,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: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_free: 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_spline_eval: 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 '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: 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/libsigfile.so contains an unresolvable reference to symbol _ZN3agh3str13homedir2tildaERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: it's probably a plugin -dpkg-shlibdeps: warning: 27 other similar warnings have been skipped (use -v to see them all) +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_init: 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/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: 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 @@ -18265,12 +18301,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/1571978/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1571978/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/3665945 and its subdirectories -I: Current time: Sat Oct 10 08:50:08 -12 2026 -I: pbuilder-time-stamp: 1791665408 +I: removing directory /srv/workspace/pbuilder/1571978 and its subdirectories +I: Current time: Mon Sep 8 04:29:54 +14 2025 +I: pbuilder-time-stamp: 1757255394