Diff of the two buildlogs: -- --- b1/build.log 2025-03-19 08:36:44.600093509 +0000 +++ b2/build.log 2025-03-19 08:40:23.338243313 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 21 02:53:51 -12 2026 -I: pbuilder-time-stamp: 1776783231 +I: Current time: Wed Mar 19 22:36:46 +14 2025 +I: pbuilder-time-stamp: 1742373406 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying gcc-13.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2877767/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/177234/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 Mar 19 08:36 /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/177234/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/177234/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='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="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=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='49e11032d4cf4f5baf373075f1f6b672' - 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='2877767' - PS1='# ' - PS2='> ' + INVOCATION_ID=d43d1ddef9a34a2d959664cb764f7140 + 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=177234 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.26PdflkA/pbuilderrc_h78P --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.26PdflkA/b1 --logfile b1/build.log aghermann_1.1.2-5.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+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.26PdflkA/pbuilderrc_ojyQ --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.26PdflkA/b2 --logfile b2/build.log aghermann_1.1.2-5.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2877767/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/177234/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -473,7 +505,7 @@ Get: 341 http://deb.debian.org/debian unstable/main amd64 libvte-2.91-dev amd64 0.80.0-1 [61.8 kB] Get: 342 http://deb.debian.org/debian unstable/main amd64 libxml2-utils amd64 2.12.7+dfsg+really2.9.14-0.3+b1 [99.4 kB] Get: 343 http://deb.debian.org/debian unstable/main amd64 lua5.1 amd64 5.1.5-11 [103 kB] -Fetched 160 MB in 12s (13.4 MB/s) +Fetched 160 MB in 3s (51.2 MB/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 ... 19784 files and directories currently installed.) @@ -1589,8 +1621,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Apr 21 14:56:22 UTC 2026. -Universal Time is now: Tue Apr 21 14:56:22 UTC 2026. +Local time is now: Wed Mar 19 08:38:10 UTC 2025. +Universal Time is now: Wed Mar 19 08:38:10 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/177234/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/177234/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 -j20 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' @@ -2198,38 +2234,27 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call +In file included from libcommon.cc:25: +alg.hh: At global scope: +alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ 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] - 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 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) - | ^ 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); | ~~~~^~~~~ 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 libcommon.cc:26: fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2276,6 +2301,17 @@ 347 | return move(fname); | ~~~~^~~~~~~ libcommon.cc:347: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] + 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)); } @@ -2287,14 +2323,14 @@ make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/common' Making all in libsigproc make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o exstrom.lo exstrom.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ext-filters.lo ext-filters.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sigproc.lo sigproc.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o winfun.lo winfun.cc +/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 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 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 winfun.cc -fPIC -DPIC -o .libs/winfun.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ext-filters.cc -fPIC -DPIC -o .libs/ext-filters.o +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 In file included from exstrom.cc:12: exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -2479,27 +2515,27 @@ 230 | return move( interpolate( xi, in.samplerate, y, 1./in.samplerate)); | ^ sigproc.ii:230:77: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/x86_64-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/x86_64-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o .libs/exstrom.o .libs/ext-filters.o .libs/sigproc.o .libs/winfun.o -lsamplerate -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigproc.so -o .libs/libsigproc.so libtool: link: ( cd ".libs" && rm -f "libsigproc.la" && ln -s "../libsigproc.la" "libsigproc.la" ) make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' Making all in libsigfile make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o channel.lo channel.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o source-base.lo source-base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o typed-source.lo typed-source.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf.lo edf.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf-io.lo edf-io.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tsv.lo tsv.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o page.lo page.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c typed-source.cc -fPIC -DPIC -o .libs/typed-source.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o channel.lo channel.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o source-base.lo source-base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o typed-source.lo typed-source.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf.lo edf.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o edf-io.lo edf-io.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tsv.lo tsv.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o page.lo page.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 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-io.cc -fPIC -DPIC -o .libs/edf-io.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c edf.cc -fPIC -DPIC -o .libs/edf.o 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 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 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 source-base.cc -fPIC -DPIC -o .libs/source-base.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c edf.cc -fPIC -DPIC -o .libs/edf.o -In file included from edf-io.cc:12: +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)); @@ -2510,19 +2546,7 @@ 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 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 -In file included from source-base.cc:14: +In file included from edf-io.cc:12: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2533,17 +2557,6 @@ 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: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 tsv.cc:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2555,26 +2568,18 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call -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 -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 -In file included from channel.cc:16: +In file included from source-base.cc:14: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 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] 61 | return move(tokens( s_, sep)); @@ -2585,11 +2590,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from source-base.cc:15: -../../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 source-base.hh:18, from typed-source.hh:16, from typed-source.cc:13: @@ -2601,6 +2601,11 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from source-base.hh:18, + from page.cc:21: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -2628,7 +2633,8 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from edf.cc:25: +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)); @@ -2639,42 +2645,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from source-base.cc:16: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../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 source-base.hh:19, - from source-base.cc:17: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -2685,6 +2655,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)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +In file included from source-base.cc:15: +../../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 In file included from ../../src/libsigproc/sigproc.hh:27, from tsv.hh:26, from tsv.cc:24: @@ -2692,6 +2682,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 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 ../../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); @@ -2713,11 +2715,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: 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); - | ^~~~~ ../../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( @@ -2730,36 +2727,13 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -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 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 -../../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 tsv.hh:26, - from typed-source.cc:15: + from source-base.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 -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/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); @@ -2769,12 +2743,39 @@ ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ -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)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -source-base.hh:297:30: note: remove 'std::move' call +page.cc: In member function 'float sigfile::CHypnogram::percent_scored(float*, float*, float*) const': +page.cc:47:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 47 | mem_fun_ref (&SPage::is_nrem)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/ios:44, + from /usr/include/c++/14/istream:40, + from /usr/include/c++/14/fstream:40, + from page.cc:17: +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +page.cc:51:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 51 | mem_fun_ref (&SPage::is_rem)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +page.cc:55:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 55 | mem_fun_ref (&SPage::is_wake)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +page.cc:59:29: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 59 | mem_fun_ref (&SPage::is_scored)) / _pages.size() * 100; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ ../../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( @@ -2787,16 +2788,39 @@ 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 page.cc:21: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from 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 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); + | ^~~~~ +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 +edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +edf.hh:94:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from source-base.hh:18, from edf.hh:26, from edf.cc:26: @@ -2820,18 +2844,8 @@ 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 +In file included from source-base.hh:19, + from source-base.cc:17: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -2847,6 +2861,50 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from tsv.hh:26, + from typed-source.cc:15: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 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 '< >' +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +edf.hh: At global scope: +edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ 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); @@ -2861,38 +2919,16 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source-base.hh:297:30: note: remove 'std::move' call -page.cc: In member function 'float sigfile::CHypnogram::percent_scored(float*, float*, float*) const': -page.cc:47:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 47 | mem_fun_ref (&SPage::is_nrem)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/istream:40, - from /usr/include/c++/14/fstream:40, - from page.cc:17: -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -page.cc:51:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 51 | mem_fun_ref (&SPage::is_rem)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -page.cc:55:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 55 | mem_fun_ref (&SPage::is_wake)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -page.cc:59:29: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 59 | mem_fun_ref (&SPage::is_scored)) / _pages.size() * 100; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ +edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +edf.hh:94:30: note: remove 'std::move' call +edf-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 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) @@ -2905,24 +2941,33 @@ 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 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 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-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 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 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) + | ^ +../../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 swu.cc:17: + 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)); @@ -2943,27 +2988,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -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) - | ^ -../../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 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) - | ^ -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) - | ^ In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, from mc.cc:14: @@ -2975,44 +2999,6 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../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/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)': @@ -3035,8 +3021,13 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: + from swu.cc:17: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -3057,8 +3048,18 @@ 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 mc-artifacts.cc:17: +In file included from ../../src/libsigproc/sigproc.hh:27, + from psd.cc:27: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/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); @@ -3081,34 +3082,37 @@ 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/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/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from mc-artifacts.cc:15: +In file included from ../../src/libsigproc/sigproc.hh:28, + from mc-artifacts.cc:17: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/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 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] 62 | T () = delete; \ | ^ @@ -3158,7 +3162,7 @@ 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mc.hh:17, - from mc-artifacts.cc:18: + from mc.cc:15: ../../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_, | ^~~~~~ @@ -3191,6 +3195,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -3219,25 +3228,66 @@ 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/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 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: +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 +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( + | ~~~~^ + 64 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 65 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 66 | ":%g+%g-%g_%g" "_%g" "_%g_%g", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | pagesize, step, + | ~~~~~~~~~~~~~~~ + 70 | scope, iir_backpolate, + | ~~~~~~~~~~~~~~~~~~~~~~ + 71 | mc_gain, + | ~~~~~~~~ + 72 | f0fc, bandwidth)); + | ~~~~~~~~~~~~~~~~~ +mc.cc:63:20: note: remove 'std::move' call +mc.cc: In member function 'virtual std::string metrics::mc::CProfile::mirror_fname() const': +mc.cc:79:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 79 | return move( + | ~~~~^ + 80 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 81 | "%s-%s-%lu" + | ~~~~~~~~~~~ + 82 | ":%g+%g-%g_%g" "_%g" "_%g_%g" "_%g_%g@%zu" + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 83 | ".mc", + | ~~~~~~ + 84 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 85 | _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 86 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | pagesize, step, + | ~~~~~~~~~~~~~~~ + 88 | scope, iir_backpolate, + | ~~~~~~~~~~~~~~~~~~~~~~ + 89 | mc_gain, + | ~~~~~~~~ + 90 | f0fc, bandwidth, + | ~~~~~~~~~~~~~~~~ + 91 | freq_from, freq_inc, + | ~~~~~~~~~~~~~~~~~~~~ + 92 | sizeof(TFloat))); + | ~~~~~~~~~~~~~~~~ +mc.cc:79:20: note: remove 'std::move' call +In file included from mc-artifacts.cc:15: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -3287,7 +3337,7 @@ 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mc.hh:17, - from mc.cc:15: + from mc-artifacts.cc:18: ../../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_, | ^~~~~~ @@ -3348,111 +3398,92 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -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 -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( +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 +In file included from psd.hh:25, + from psd.cc:29: +page-metrics-base.hh: At global scope: +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 + | ^~~~~~~ +psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +psd.hh:152:36: note: remove 'std::move' call +psd.cc: In member function 'virtual std::string metrics::psd::CProfile::fname_base() const': +psd.cc:85:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 85 | return move( | ~~~~^ - 64 | agh::str::sasprintf( + 86 | agh::str::sasprintf( | ~~~~~~~~~~~~~~~~~~~~ - 65 | "%s.%s-%lu" + 87 | "%s.%s-%lu" | ~~~~~~~~~~~ - 66 | ":%g+%g-%g_%g" "_%g" "_%g_%g", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 67 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | pagesize, step, - | ~~~~~~~~~~~~~~~ - 70 | scope, iir_backpolate, - | ~~~~~~~~~~~~~~~~~~~~~~ - 71 | mc_gain, - | ~~~~~~~~ - 72 | f0fc, bandwidth)); + 88 | ":%g+%g-%g-%c%c", | ~~~~~~~~~~~~~~~~~ -mc.cc:63:20: note: remove 'std::move' call -mc.cc: In member function 'virtual std::string metrics::mc::CProfile::mirror_fname() const': -mc.cc:79:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 79 | return move( - | ~~~~^ - 80 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 81 | "%s-%s-%lu" - | ~~~~~~~~~~~ - 82 | ":%g+%g-%g_%g" "_%g" "_%g_%g" "_%g_%g@%zu" - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 83 | ".mc", - | ~~~~~~ - 84 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 85 | _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 86 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | pagesize, step, - | ~~~~~~~~~~~~~~~ - 88 | scope, iir_backpolate, - | ~~~~~~~~~~~~~~~~~~~~~~ - 89 | mc_gain, - | ~~~~~~~~ - 90 | f0fc, bandwidth, - | ~~~~~~~~~~~~~~~~ - 91 | freq_from, freq_inc, - | ~~~~~~~~~~~~~~~~~~~~ - 92 | sizeof(TFloat))); - | ~~~~~~~~~~~~~~~~ -mc.cc:79:20: note: remove 'std::move' call -swu.cc: In member function 'virtual std::string metrics::swu::CProfile::fname_base() const': -swu.cc:53:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 53 | return move( - | ~~~~^ - 54 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 55 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 56 | ":%g+%g-%g", - | ~~~~~~~~~~~~ - 57 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), + 89 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 58 | _using_F().dirty_signature( _using_sig_no), + 90 | _using_F().dirty_signature( _using_sig_no), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 59 | pagesize, step, min_upswing_duration)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -swu.cc:53:20: note: remove 'std::move' call -swu.cc: In member function 'virtual std::string metrics::swu::CProfile::mirror_fname() const': -swu.cc:67:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 67 | return move( + 91 | pagesize, step, binsize, + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 92 | 'a'+(char)welch_window_type, 'a'+(char)plan_type) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 93 | ); + | ~ +psd.cc:85:20: note: remove 'std::move' call +psd.cc: In member function 'virtual std::string metrics::psd::CProfile::mirror_fname() const': +psd.cc:102:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 102 | return move( | ~~~~^ - 68 | agh::str::sasprintf( + 103 | agh::str::sasprintf( | ~~~~~~~~~~~~~~~~~~~~ - 69 | "%s.%s-%lu" + 104 | "%s.%s-%lu" | ~~~~~~~~~~~ - 70 | ":%g+%g-%g@%zu" - | ~~~~~~~~~~~~~~~ - 71 | ".swu", + 105 | ":%g+%g-%g-%c%c@%zu" + | ~~~~~~~~~~~~~~~~~~~~ + 106 | ".psd", | ~~~~~~~ - 72 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), + 107 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | _using_F().channel_by_id(_using_sig_no).custom_name(), + 108 | _using_F().channel_by_id(_using_sig_no).custom_name(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | _using_F().dirty_signature( _using_sig_no), + 109 | _using_F().dirty_signature( _using_sig_no), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | pagesize, step, min_upswing_duration, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | sizeof(TFloat))); - | ~~~~~~~~~~~~~~~~ -swu.cc:67:20: note: remove 'std::move' call + 110 | pagesize, step, binsize, + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 111 | 'a'+(char)welch_window_type, 'a'+(char)plan_type, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 112 | sizeof(double)) + | ~~~~~~~~~~~~~~~ + 113 | ); + | ~ +psd.cc:102:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, - from psd.cc: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) | ^ +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 ../../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); @@ -3474,6 +3505,45 @@ 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/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 In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, @@ -3499,98 +3569,64 @@ 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 '< >' +In file included from ../../src/libsigfile/typed-source.hh:16, + from swu.cc:19: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from 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 -In file included from psd.hh:25, - from psd.cc:29: -page-metrics-base.hh: At global scope: -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 - | ^~~~~~~ -psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -psd.hh:152:36: note: remove 'std::move' call -psd.cc: In member function 'virtual std::string metrics::psd::CProfile::fname_base() const': -psd.cc:85:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 85 | return move( +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( | ~~~~^ - 86 | agh::str::sasprintf( + 54 | agh::str::sasprintf( | ~~~~~~~~~~~~~~~~~~~~ - 87 | "%s.%s-%lu" + 55 | "%s.%s-%lu" | ~~~~~~~~~~~ - 88 | ":%g+%g-%g-%c%c", - | ~~~~~~~~~~~~~~~~~ - 89 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), + 56 | ":%g+%g-%g", + | ~~~~~~~~~~~~ + 57 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 90 | _using_F().dirty_signature( _using_sig_no), + 58 | _using_F().dirty_signature( _using_sig_no), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 91 | pagesize, step, binsize, - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 92 | 'a'+(char)welch_window_type, 'a'+(char)plan_type) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 93 | ); - | ~ -psd.cc:85:20: note: remove 'std::move' call -psd.cc: In member function 'virtual std::string metrics::psd::CProfile::mirror_fname() const': -psd.cc:102:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 102 | return move( + 59 | pagesize, step, min_upswing_duration)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +swu.cc:53:20: note: remove 'std::move' call +swu.cc: In member function 'virtual std::string metrics::swu::CProfile::mirror_fname() const': +swu.cc:67:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 67 | return move( | ~~~~^ - 103 | agh::str::sasprintf( + 68 | agh::str::sasprintf( | ~~~~~~~~~~~~~~~~~~~~ - 104 | "%s.%s-%lu" + 69 | "%s.%s-%lu" | ~~~~~~~~~~~ - 105 | ":%g+%g-%g-%c%c@%zu" - | ~~~~~~~~~~~~~~~~~~~~ - 106 | ".psd", + 70 | ":%g+%g-%g@%zu" + | ~~~~~~~~~~~~~~~ + 71 | ".swu", | ~~~~~~~ - 107 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), + 72 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 108 | _using_F().channel_by_id(_using_sig_no).custom_name(), + 73 | _using_F().channel_by_id(_using_sig_no).custom_name(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 109 | _using_F().dirty_signature( _using_sig_no), + 74 | _using_F().dirty_signature( _using_sig_no), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 110 | pagesize, step, binsize, - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 111 | 'a'+(char)welch_window_type, 'a'+(char)plan_type, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 112 | sizeof(double)) - | ~~~~~~~~~~~~~~~ - 113 | ); - | ~ -psd.cc:102:20: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -avoid-version -rpath /usr/lib/x86_64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/x86_64-linux-gnu/aghermann page-metrics-base.lo psd.lo swu.lo mc.lo mc-artifacts.lo + 75 | pagesize, step, min_upswing_duration, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | sizeof(TFloat))); + | ~~~~~~~~~~~~~~~~ +swu.cc:67: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 +/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' @@ -3616,32 +3652,53 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sm/sm-construct.o ui/sm/sm-construct.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sm/sm.o ui/sm/sm.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sm/sm_cb.o ui/sm/sm_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one.o ui/mw/admit-one.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/construct.o ui/mw/construct.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/loadsave.o ui/mw/loadsave.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements.o ui/mw/measurements.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements_cb.o ui/mw/measurements_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/populate.o ui/mw/populate.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/settings_cb.o ui/mw/settings_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations.o ui/mw/simulations.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/splash.o ui/mw/splash.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw.o ui/mw/mw.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/channel.o ui/sf/channel.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/construct.o ui/sf/construct.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/controls_cb.o ui/sf/controls_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram_cb.o ui/sf/hypnogram_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/ica.o ui/sf/ica.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/ica_cb.o ui/sf/ica_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/mainmenu_cb.o ui/sf/mainmenu_cb.cc +In file included from ../../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 +../../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 model/borbely.cc:17: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from 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] @@ -3653,14 +3710,17 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from expdesign/tree-scanner.cc:17: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../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/montage-overlays.o ui/sf/montage-overlays.cc In file included from ../../src/common/fs.hh:22, - from patterns/patterns.cc:17: + 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)); @@ -3671,20 +3731,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/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from rk1968/rk1968.hh:22, - from rk1968/rk1968.cc:13: +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: ../../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)); @@ -3695,10 +3747,18 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/hypnogram_cb.cc:12: + 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)); @@ -3709,21 +3769,8 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/subject.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: + 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)); @@ -3744,19 +3791,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/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/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)); } @@ -3769,7 +3803,7 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/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 | ^~~~~~~ @@ -3778,8 +3812,7 @@ 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/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; \ @@ -3875,6 +3908,7 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one.o ui/mw/admit-one.cc ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -3897,13 +3931,212 @@ ../../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::__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/libsigfile/typed-source.hh:16, +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/recording.hh:18, + from model/achermann-siman.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/recording.hh:18, + from model/ultradian-cycle.cc:17: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../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 +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from model/achermann.hh:23, + from model/achermann.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/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/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/subject.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +expdesign/recording.cc: In member function 'std::string agh::SProfileParamSet::display_name() const': +expdesign/recording.cc:58:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 58 | case metrics::TType::psd: return move(sasprintf( "%s (%g-%g Hz)", metric_name(), P.psd.freq_from, P.psd.freq_upto)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:58:46: note: remove 'std::move' call +expdesign/recording.cc:59:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 59 | case metrics::TType::swu: return move(sasprintf( "%s (%g Hz)", metric_name(), P.swu.f0)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:59:46: note: remove 'std::move' call +expdesign/recording.cc:60:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 60 | case metrics::TType::mc : return move(sasprintf( "%s (%g Hz)", metric_name(), P.mc.f0)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:60:46: note: remove 'std::move' call +expdesign/recording.cc:61:29: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | default: return move(sasprintf( "(invalid metric: %d)", (int)metric)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:61:29: note: remove 'std::move' call +In file included from ../../src/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::__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 +../../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 +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/libmetrics/psd.hh:25, + from model/borbely.cc:18: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../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)); } @@ -3920,29 +4153,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 | ^~~~~~~ -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/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:20, - from ../../src/aghermann/model/beersma.hh:21, - from ui/mw/measurements.cc:19: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/common/fs.hh:23: +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)); + | ~~~~^~~~~~~~~~~~~~~~~~ +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; \ @@ -3956,6 +4178,7 @@ ../../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: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; \ | ^ @@ -4016,6 +4239,10 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -4026,6 +4253,7 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../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; \ | ^ @@ -4065,44 +4293,56 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../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/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/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/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 + 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/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from rk1968/rk1968.hh:22, + from rk1968/rk1968.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -expdesign/subject.cc: In member function 'std::__cxx11::list agh::SEpisode::get_annotations() const': -expdesign/subject.cc:98:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 98 | return move(ret); - | ~~~~^~~~~ -expdesign/subject.cc:98:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/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)); @@ -4118,46 +4358,6 @@ 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/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 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, "/")); @@ -4167,47 +4367,25 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/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/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/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/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/libmetrics/psd.hh:152:36: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/psd.hh:22: +In file included from ../../src/libsigfile/page.hh:20, + from model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4258,7 +4436,7 @@ 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ 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_, | ^~~~~~ @@ -4291,28 +4469,12 @@ 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/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/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/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4335,114 +4497,18 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../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 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) - | ^ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from rk1968/rk1968.cc:28: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -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/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh: 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/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:369: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 '< >' -../../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/common/fs.hh:22, - from rk1968/rk1968-profiles.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ui/mw/mw.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from expdesign/expdesign.cc:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: +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, "/")); @@ -4453,45 +4519,19 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from model/achermann.hh:23, - from model/achermann.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -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 - | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +../../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] 62 | T () = delete; \ @@ -4553,15 +4593,6 @@ ../../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/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; \ | ^ @@ -4584,11 +4615,6 @@ 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; \ | ^ @@ -4617,76 +4643,22 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/common/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 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 -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.cc:19: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/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/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/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/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: +../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22, - from ui/mw/mw.cc:23: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -4695,7 +4667,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 ../../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; \ @@ -4807,144 +4779,79 @@ 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/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - 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/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/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/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/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/common/string.hh:71:20: note: remove 'std::move' call -../../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 -../../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/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -In file included from ../../src/common/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/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: +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from rk1968/rk1968-profiles.cc:17: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -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/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, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from model/achermann.hh:24: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh: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/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from model/achermann.hh:22: +../../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: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; \ @@ -4970,18 +4877,24 @@ ../../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/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; \ | ^ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -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/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -5068,104 +4981,20 @@ ../../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 -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/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../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: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/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sm/sm_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/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/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/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/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/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: +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; \ @@ -5179,12 +5008,17 @@ ../../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/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/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -5216,11 +5050,16 @@ 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_, | ^~~~~~ ../../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; \ | ^ @@ -5233,12 +5072,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/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/loadsave.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -5283,227 +5116,46 @@ 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: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/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 -../../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/edf.hh:26, - from ../../src/libsigfile/all.hh:16, - from expdesign/tree-scanner.cc:20: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/common/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 '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call In file included from ../../src/libmetrics/page-metrics-base.hh:20, from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/dirlevel.cc:20: + 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) | ^ -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: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../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/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/common/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 -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/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/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/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); +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); | ~~~~^~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: 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 -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/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/string.hh:61: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/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, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/string.hh: 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 +model/ultradian-cycle.cc:215: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': @@ -5511,11 +5163,6 @@ 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 @@ -5650,60 +5297,18 @@ ../../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/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/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/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigproc/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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ../../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/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 @@ -5715,21 +5320,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/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/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/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: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; \ @@ -5737,8 +5333,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh: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/montage_cb.o ui/sf/montage_cb.cc ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -5843,42 +5437,47 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: 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/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/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -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: +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/loadsave.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27, + from expdesign/tree-scanner.cc:21: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: +In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5886,26 +5485,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:62:11: 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/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; \ | ^ @@ -6004,11 +5589,6 @@ 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 | ^~~~~~~ @@ -6019,46 +5599,132 @@ ../../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 +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 +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: + 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:157:36: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::make_dirname(agh::TExpDirLevel, const agh::SExpDirLevelId&) const': +expdesign/expdesign.cc:234:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 234 | return move(str::sasprintf( "%s/%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str(), level_id.d.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:234:28: note: remove 'std::move' call +expdesign/expdesign.cc:242:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 242 | return move(str::sasprintf( "%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:242:28: note: remove 'std::move' call +expdesign/expdesign.cc:248:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 248 | return move(str::sasprintf( "%s/%s", _session_dir.c_str(), level_id.g.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:248:28: note: remove 'std::move' call +expdesign/expdesign.cc:254:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 254 | return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME"))); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:254:28: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:26: -../../src/libsigproc/ext-filters.hh: At global scope: -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/common/fs.hh:23: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_cb.cc +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; \ @@ -6117,64 +5783,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); - | ^~~~~~~~~~~~~~~~~~~~~~ -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:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -6228,69 +5836,180 @@ 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: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/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 -../../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/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.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/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from rk1968/rk1968.cc:28: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/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 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 '< >' +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 +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27, + from expdesign/dirlevel.cc:20: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh: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/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.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 +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 '< >' +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 +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/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/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/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; \ @@ -6402,53 +6121,31 @@ 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/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.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/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/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); +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/libsigproc/exstrom.hh:369: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); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -expdesign/dirlevel.cc:91:28: note: remove 'std::move' call -../../src/common/string.hh:61:20: 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/expdesign.cc:483: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 +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 + | ^~ 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': @@ -6456,61 +6153,13 @@ 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 -../../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/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/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 model/ultradian-cycle.cc:18: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -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) - | ^ +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/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -../../src/libsigproc/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, @@ -6518,33 +6167,10 @@ ../../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_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/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: -../../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:152:36: note: remove 'std::move' call In file included from ../../src/common/fs.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: @@ -6554,13 +6180,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: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -6579,10 +6198,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: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6659,7 +6274,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -6681,6 +6295,223 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +expdesign/tree-scanner.cc: In member function 'int agh::CExpDesign::register_intree_source(sigfile::CTypedSource&&, const char**)': +expdesign/tree-scanner.cc:173:26: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 173 | } catch (invalid_argument) { + | ^~~~~~~~~~~~~~~~ +expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 226 | } catch (invalid_argument ex) { + | ^~ +expdesign/tree-scanner.cc: In function 'int {anonymous}::supported_sigfile_processor(const char*, const stat*, int, FTW*)': +expdesign/tree-scanner.cc:282:52: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 282 | } catch ( invalid_argument ex) { + | ^~ +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) { + | ^~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/construct.o ui/mw/construct.cc +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 +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 +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/loadsave.o ui/mw/loadsave.cc +../../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 +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 + | ^~~ +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/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/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/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements.o ui/mw/measurements.cc +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/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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/measurements_cb.o ui/mw/measurements_cb.cc +../../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 expdesign/expdesign.hh:22, + from main.cc:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/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/mw/populate.o ui/mw/populate.cc +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from artifact-detection/3in1.hh:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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/mw/settings_cb.o ui/mw/settings_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)); } @@ -6695,13 +6526,6 @@ 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/montage-menus_cb.o ui/sf/montage-menus_cb.cc -In file included from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/tree-scanner.cc:21: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/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] @@ -6716,13 +6540,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/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; \ | ^ @@ -6735,16 +6552,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6830,13 +6637,160 @@ ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from artifact-detection/3in1.hh:22: +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +In file included from artifact-detection/3in1.cc:17: +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +artifact-detection/3in1.cc: In member function 'virtual std::string agh::ad::CComprehensiveArtifactDetector::serialize() const': +artifact-detection/3in1.cc:60:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 60 | return move( + | ~~~~^ + 61 | CStorablePPack::serialize() + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 62 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 63 | "flat.min_size:%g; flat.pad:%g;\n" + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 64 | "emg.min_steadytone_factor:%g; emg.min_steadytone_run:%g;\n" + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 65 | "MC.scope:%g; MC.upper_thr:%g; MC.lower_thr:%g; MC.f0:%g; MC.fc:%g; MC.bandwidth:%g; MC.mc_gain:%g; MC.iir_backpolate:%g; MC.E:%g; MC.dmin:%g; MC.dmax:%g; MC.sssu_hist_size:%zu; MC.smooth_side:%zu; MC.estimate_E:%d; MC.use_range:%d;", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 66 | Pp.flat_min_size, Pp.flat_pad, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | Pp.emg_min_steadytone_factor, Pp.emg_min_steadytone_run, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | Pp.MC.scope, Pp.MC.upper_thr, Pp.MC.lower_thr, Pp.MC.f0, Pp.MC.fc, Pp.MC.bandwidth, Pp.MC.mc_gain, Pp.MC.iir_backpolate, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | Pp.MC.E, Pp.MC.dmin, Pp.MC.dmax, Pp.MC.sssu_hist_size, Pp.MC.smooth_side, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | Pp.MC.estimate_E, Pp.MC.use_range)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +artifact-detection/3in1.cc:60:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations.o ui/mw/simulations.cc +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/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 +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25, + from ui/sm/sm.cc:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +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/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/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/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 ../../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/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/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); @@ -6868,11 +6822,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -6970,10 +6919,24 @@ 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] +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc +In file included from ../../src/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ui/mw/mw.hh:24, from ui/mw/admit-one_cb.cc:13: @@ -6986,19 +6949,28 @@ ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/string.hh:71:20: note: remove 'std::move' call -model/ultradian-cycle.cc: In function 'std::__cxx11::list agh::beersma::analyse_deeper(const SUltradianCycle&, agh::CRecording&, const SUltradianCycleCtl&)': -model/ultradian-cycle.cc:215:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 215 | return move(ret); - | ~~~~^~~~~ -model/ultradian-cycle.cc:215:20: note: remove 'std::move' call -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); +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/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); | ~~~~^~~~~ -expdesign/expdesign.cc:187:20: note: remove 'std::move' call -In file included from ui/mw/settings_cb.cc:17: +../../src/common/alg.hh:169: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) { + | ^~ +ui/sm/sm.cc: In member function 'int agh::ui::SSessionChooser::open_selected_session()': +ui/sm/sm.cc:117:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 117 | } catch (invalid_argument ex) { + | ^~ +In file included from ../../src/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)); @@ -7009,28 +6981,68 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/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 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/mw/splash.o ui/mw/splash.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 -expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::make_dirname(agh::TExpDirLevel, const agh::SExpDirLevelId&) const': -expdesign/expdesign.cc:234:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 234 | return move(str::sasprintf( "%s/%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str(), level_id.d.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:234:28: note: remove 'std::move' call -expdesign/expdesign.cc:242:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 242 | return move(str::sasprintf( "%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:242:28: note: remove 'std::move' call -expdesign/expdesign.cc:248:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 248 | return move(str::sasprintf( "%s/%s", _session_dir.c_str(), level_id.g.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:248:28: note: remove 'std::move' call -expdesign/expdesign.cc:254:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 254 | return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME"))); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:254:28: note: remove 'std::move' call ../../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 @@ -7042,19 +7054,13 @@ ../../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/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)); - | ~~~~^~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw.o ui/mw/mw.cc ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -7086,7 +7092,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -7117,10 +7122,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -7171,152 +7172,37 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../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 | ^~~~~~~ -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/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 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) { - | ^~ -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 -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_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: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) - | ^ -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -In file included from ../../src/common/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/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/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 -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/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/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)': @@ -7324,86 +7210,16 @@ 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/tree-scanner.cc: In member function 'int agh::CExpDesign::register_intree_source(sigfile::CTypedSource&&, const char**)': -expdesign/tree-scanner.cc:173:26: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 173 | } catch (invalid_argument) { - | ^~~~~~~~~~~~~~~~ -expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 226 | } catch (invalid_argument ex) { - | ^~ -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -expdesign/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/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.o ui/sf/sf.cc -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/hypnogram.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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 -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) - | ^ -expdesign/recording.cc:59:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 59 | case metrics::TType::swu: return move(sasprintf( "%s (%g Hz)", metric_name(), P.swu.f0)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:59:46: note: remove 'std::move' call -expdesign/recording.cc:60:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 60 | case metrics::TType::mc : return move(sasprintf( "%s (%g Hz)", metric_name(), P.mc.f0)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:60:46: note: remove 'std::move' call -expdesign/recording.cc:61:29: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | default: return move(sasprintf( "(invalid metric: %d)", (int)metric)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/recording.cc:61:29: note: remove 'std::move' call ../../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, "/")); @@ -7414,114 +7230,16 @@ 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 '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 -../../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 -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); - | ~~~~^~~~~~ -../../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 -expdesign/expdesign.cc:443:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_all_channels() const': -expdesign/expdesign.cc:462:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 462 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:462:20: note: remove 'std::move' call -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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/sf_cb.o ui/sf/sf_cb.cc -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -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/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.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)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: 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 - | ^~ ../../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/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) - | ^ -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/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -7533,13 +7251,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/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/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; \ @@ -7651,10 +7368,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ ../../src/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 | ^~~~~~~ @@ -7666,16 +7379,13 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:27, - 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 -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.hh:23: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc +../../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/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)); @@ -7686,54 +7396,61 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: +../../src/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/channel.o ui/sf/channel.cc +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) + | ^ +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/beersma.hh:21, + from ui/mw/measurements.cc:19: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -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/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_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: +../../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/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); @@ -7749,11 +7466,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -7766,87 +7478,24 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from artifact-detection/3in1.cc:17: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -artifact-detection/3in1.cc: In member function 'virtual std::string agh::ad::CComprehensiveArtifactDetector::serialize() const': -artifact-detection/3in1.cc:60:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 60 | return move( - | ~~~~^ - 61 | CStorablePPack::serialize() + - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 62 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 63 | "flat.min_size:%g; flat.pad:%g;\n" - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 64 | "emg.min_steadytone_factor:%g; emg.min_steadytone_run:%g;\n" - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 65 | "MC.scope:%g; MC.upper_thr:%g; MC.lower_thr:%g; MC.f0:%g; MC.fc:%g; MC.bandwidth:%g; MC.mc_gain:%g; MC.iir_backpolate:%g; MC.E:%g; MC.dmin:%g; MC.dmax:%g; MC.sssu_hist_size:%zu; MC.smooth_side:%zu; MC.estimate_E:%d; MC.use_range:%d;", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 66 | Pp.flat_min_size, Pp.flat_pad, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 67 | Pp.emg_min_steadytone_factor, Pp.emg_min_steadytone_run, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | Pp.MC.scope, Pp.MC.upper_thr, Pp.MC.lower_thr, Pp.MC.f0, Pp.MC.fc, Pp.MC.bandwidth, Pp.MC.mc_gain, Pp.MC.iir_backpolate, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | Pp.MC.E, Pp.MC.dmin, Pp.MC.dmax, Pp.MC.sssu_hist_size, Pp.MC.smooth_side, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | Pp.MC.estimate_E, Pp.MC.use_range)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -artifact-detection/3in1.cc:60:20: note: remove 'std::move' call -In file included from ../../src/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 -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/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) - | ^ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.cc In file included from ../../src/libsigproc/sigproc.hh: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) | ^ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/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] @@ -7875,56 +7524,12 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/loadsave.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/libsigproc/sigproc.hh:28, - 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/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:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ In file included from ../../src/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, "/")); @@ -7934,99 +7539,10 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../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_) - | ^ -../../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/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/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: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 ../../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); - | ~~~~^~~~~~ -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:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: 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 '< >' -../../src/libmetrics/page-metrics-base.hh: At global scope: +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 | ^~~~~~~ @@ -8037,17 +7553,13 @@ ../../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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/construct.o ui/sf/construct.cc ../../src/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/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; \ @@ -8103,17 +7615,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: 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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8132,19 +7633,102 @@ ../../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 + | ^~~~~~~ +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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/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/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/aghermann/ui/mw/mw.hh:23: +../../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/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; \ @@ -8158,16 +7742,11 @@ ../../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: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/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; \ | ^ @@ -8204,12 +7783,6 @@ ../../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); - | ^~~~~~~~~~~~~~~~~~~~~~ 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] @@ -8272,58 +7845,44 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../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/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/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/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:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, +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/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, 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, "/")); @@ -8334,31 +7893,118 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/mw/mw.hh:27: +ui/mw/loadsave.cc: In function 'std::forward_list > {anonymous}::saving_colors()': +ui/mw/loadsave.cc:30:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 30 | return move( + | ~~~~^ + 31 | forward_list> + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | ({ + | ~~ + 33 | {"MWNight", SExpDesignUI::TColour::mw_night}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 34 | {"MWDay", SExpDesignUI::TColour::mw_day}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 35 | {"MWTicks", SExpDesignUI::TColour::mw_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 36 | {"MWLabels", SExpDesignUI::TColour::mw_labels}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | {"MWProfile", SExpDesignUI::TColour::mw_profile}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 38 | + | + 39 | {"ScoreNONE", SExpDesignUI::TColour::score_none}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 40 | {"ScorNeREM1", SExpDesignUI::TColour::score_nrem1}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 41 | {"ScoreNREM2", SExpDesignUI::TColour::score_nrem2}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 42 | {"ScoreNREM3", SExpDesignUI::TColour::score_nrem3}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 43 | {"ScoreNREM4", SExpDesignUI::TColour::score_nrem4}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 44 | {"ScoreREM", SExpDesignUI::TColour::score_rem}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 45 | {"ScoreWake", SExpDesignUI::TColour::score_wake}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 46 | + | + 47 | {"SFProfilePSD", SExpDesignUI::TColour::sf_profile_psd}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 48 | {"SFProfileSWU", SExpDesignUI::TColour::sf_profile_swu}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | {"SFProfileMC", SExpDesignUI::TColour::sf_profile_mc}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 50 | + | + 51 | {"SFPhasicSpindle", SExpDesignUI::TColour::sf_phasic_spindle}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 52 | {"SFPhasicKComplex", SExpDesignUI::TColour::sf_phasic_Kcomplex}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 53 | {"SFPhasicEyeBlink", SExpDesignUI::TColour::sf_phasic_eyeblink}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 54 | + | + 55 | {"SFEMG", SExpDesignUI::TColour::sf_emg}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | {"SFHypnogram", SExpDesignUI::TColour::sf_hypnogram}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 57 | {"SFArtifacts", SExpDesignUI::TColour::sf_artifact}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 58 | {"SFAnnotations", SExpDesignUI::TColour::sf_annotations}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 59 | {"SFEmbeddedAnnotations", SExpDesignUI::TColour::sf_embedded_annotations}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 60 | {"SFSelection", SExpDesignUI::TColour::sf_selection}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 61 | {"SFTicks", SExpDesignUI::TColour::sf_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 62 | {"SFLabels", SExpDesignUI::TColour::sf_labels}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 63 | {"SFCursor", SExpDesignUI::TColour::sf_cursor}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 64 | + | + 65 | {"BandDelta", SExpDesignUI::TColour::band_delta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 66 | {"BandTheta", SExpDesignUI::TColour::band_theta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | {"BandAlpha", SExpDesignUI::TColour::band_alpha}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | {"BandBeta", SExpDesignUI::TColour::band_beta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | {"BandGamma", SExpDesignUI::TColour::band_gamma}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | + | + 71 | {"MFSWA", SExpDesignUI::TColour::mf_swa}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 72 | {"MFSWASim", SExpDesignUI::TColour::mf_swa_sim}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | {"MFProcessS", SExpDesignUI::TColour::mf_process_s}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | {"MFPaper", SExpDesignUI::TColour::mf_paper}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | {"MFTicks", SExpDesignUI::TColour::mf_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | {"MFLabels", SExpDesignUI::TColour::mf_labels} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 77 | })); + | ~~~ +ui/mw/loadsave.cc:30:20: note: remove 'std::move' call ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../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/splash.cc:18: + 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)); @@ -8369,38 +8015,19 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': -ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] - 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, - from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, - from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, - from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, - from /usr/include/gtk-3.0/gdk/gdk.h:32, - from /usr/include/gtk-3.0/gtk/gtk.h:30, - from ../../src/aghermann/ui/globals.hh:16, - from ../../src/aghermann/ui/misc.hh:18, - from ui/mw/mw.cc:24: -/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here - 1067 | void gdk_window_process_all_updates (void); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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.cc:22: +../../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 + | ^~~~~~~ +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_) | ^ @@ -8413,31 +8040,20 @@ 125 | explicit SPattern (const SPattern& rv) | ^ ../../src/aghermann/patterns/patterns.hh:125:30: 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 - | ^~~~~~~ ../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 135 | explicit SPattern (SPattern&& rv) | ^~~~~~~~~~~ ../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../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/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libmetrics/page-metrics-base.hh: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; \ @@ -8493,10 +8109,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8553,7 +8165,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../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 | ^~~~~~~ @@ -8565,36 +8176,15 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from ui/sf/channel.cc:23: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -../../src/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 + 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/common/config-validate.hh:26: +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; \ @@ -8706,13 +8296,80 @@ 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/page-metrics-base.hh: At global scope: +../../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/populate.cc:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/measurements_cb.cc:15: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +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/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/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 | ^~~~~~~ @@ -8723,17 +8380,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/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); | ~~~~^~~~~ ../../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; \ @@ -8856,19 +8508,101 @@ 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: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/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) + | ^ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/controls_cb.o ui/sf/controls_cb.cc +../../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 ui/mw/mw.hh:27, + from ui/mw/mainmenu_cb.cc:18: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/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/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27, - from ui/sf/channel.cc:25: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/channel.cc:15: +In file included from 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; \ @@ -8980,35 +8714,27 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164: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/sf/d/artifacts_cb.o ui/sf/d/artifacts_cb.cc +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, +In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/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 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); @@ -9041,29 +8767,6 @@ from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18, - from ui/sf/hypnogram_cb.cc:15: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/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:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, from 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] @@ -9075,6 +8778,19 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +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/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)); } @@ -9089,7 +8805,8 @@ 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, + 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; \ @@ -9201,25 +8918,80 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ui/mw/mw.cc:18: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/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/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.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) + | ^ +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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/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 +ui/mw/settings_cb.cc: In function 'void tDesign_switch_page_cb(GtkNotebook*, gpointer, guint, gpointer)': +ui/mw/settings_cb.cc:54:49: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 54 | catch (invalid_argument ex) { + | ^~ In file included from ../../src/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: + 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)); @@ -9230,14 +9002,44 @@ 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: +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.cc:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/model/beersma.hh:22, + from ui/mw/mw.cc:23: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -9336,7 +9138,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters.o ui/sf/d/filters.cc ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -9370,376 +9171,11 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -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 -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 -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_) - | ^~~~~~~~~~ -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/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/sf.hh:22, - from ui/mw/mw_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -ui/sm/sm.cc: In constructor 'agh::ui::SSessionChooser::SSessionChooser(const char*)': -ui/sm/sm.cc:84:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 84 | } catch (invalid_argument ex) { - | ^~ -ui/sm/sm.cc: In member function 'int agh::ui::SSessionChooser::open_selected_session()': -ui/sm/sm.cc:117:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 117 | } catch (invalid_argument ex) { - | ^~ -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/mw/mainmenu_cb.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from 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) - | ^ -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); - | ~~~~~~~ -../../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 /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, - | ^~~~~~~~~~~~~~~~~~~~~~~ -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 -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/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -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/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/channel.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/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../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/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: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 -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/common/config-validate.hh:24, - from ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/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/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/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) - | ^ +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 In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ui/sf/channel.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); @@ -9755,11 +9191,6 @@ 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( @@ -9772,6 +9203,18 @@ 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] @@ -9795,31 +9238,29 @@ 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/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/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ +../../src/common/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:93:23: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -9836,21 +9277,68 @@ 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 ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../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/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 ui/sf/channel.hh:30: + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/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; \ @@ -9973,18 +9461,27 @@ 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/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); - | ~~~~^~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -9994,17 +9491,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../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/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; \ @@ -10036,7 +9523,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -10117,6 +9603,108 @@ 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 ../../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/aghermann/ui/sf/sf.hh:22, + from ui/mw/mw_cb.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +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 +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, + | ^~~~~~~~~~~~~~~~~~~~~~~ +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( @@ -10129,15 +9717,167 @@ 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/ica_cb.o ui/sf/ica_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 ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:26: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +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 -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/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); @@ -10165,41 +9905,224 @@ 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/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 +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ../../src/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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +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 +../../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/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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage_cb.cc:16: + 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)); | ~~~~^~~~~~~~~~~~~~~~~~ -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/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/mw/mw.hh:27, + from ../../src/aghermann/ui/mf/mf.hh:16, + from ui/mw/mw.cc:26: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage.o ui/sf/montage.cc +In file included from ui/sf/sf.hh:22, + from ui/sf/controls_cb.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_cb.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/mw_cb.cc:16: +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/montage_cb.o ui/sf/montage_cb.cc +In file included from ../../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); @@ -10210,50 +10133,40 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345: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/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); - | ~~~~^~~~~ +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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ -In file included from ../../src/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(); - | ^~~~ ../../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] @@ -10264,9 +10177,10 @@ ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ui/mw/mainmenu_cb.cc:13: +../../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; | ^~~~ @@ -10281,41 +10195,39 @@ ../../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_) | ^ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc ../../src/libsigproc/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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/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/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/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, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from 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, "/")); @@ -10326,166 +10238,44 @@ 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 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 -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/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/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, +ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': +ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] + 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, + from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, + from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, + from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, + from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, - from ../../src/aghermann/ui/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); - | ^~~~ -../../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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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); - | ^~~~~~~~ -../../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/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/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 + from ../../src/aghermann/ui/globals.hh:16, + from ../../src/aghermann/ui/misc.hh:18, + from ui/mw/mw.cc:24: +/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here + 1067 | void gdk_window_process_all_updates (void); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ 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/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/mw/mw.hh:23: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -10553,37 +10343,163 @@ ../../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: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: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: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: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:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); +../../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: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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +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 +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 '< >' +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/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; + | ^~~~ +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 +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: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ui/sf/channel.cc:15: +../../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:63:11: note: remove the '< >' +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/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/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; \ @@ -10591,10 +10507,6 @@ ../../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; \ | ^ @@ -10628,37 +10540,9 @@ ../../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: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: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: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -10687,11 +10571,6 @@ ../../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; \ | ^ @@ -10719,9 +10598,48 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/model/achermann.hh:23, +../../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/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/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +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/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18, + from ui/sf/hypnogram_cb.cc:15: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/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 | ^~~~~~~ @@ -10732,12 +10650,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 | ^~~~~~~ +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/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/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; \ @@ -10763,13 +10686,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/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -10800,6 +10716,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -10856,55 +10777,81 @@ 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 | ^~~~~~~ -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/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 +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ui/sf/channel.hh:28, + from ui/sf/hypnogram.cc:18: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' 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/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/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/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/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/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/exstrom.hh:369: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/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( @@ -10912,25 +10859,11 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../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 '< >' -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/subject.hh:23, - from ui/sf/sf.cc:20: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -10947,78 +10880,34 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage-overlays.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -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/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 +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 +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 ../../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 ui/mw/mw.hh:25, - from ui/mw/measurements_cb.cc:15: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/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/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 + | ^~~~~~~ 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); @@ -11080,24 +10969,12 @@ 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; \ | ^ ../../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; \ | ^ @@ -11148,17 +11025,147 @@ 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_cb.o ui/sf/d/artifacts_cb.cc +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/channel.cc:29: +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +ui/sf/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 +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 +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_cb.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage-overlays.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc +In file included from ui/sf/channel.hh:21, + from ui/sf/ica.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/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/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 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/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, "/")); @@ -11169,30 +11176,88 @@ 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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/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/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call 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: +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 +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; \ @@ -11206,6 +11271,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -11230,6 +11300,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_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -11242,6 +11317,13 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/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] @@ -11276,6 +11358,11 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -11304,50 +11391,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/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/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: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/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/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( @@ -11360,6 +11403,30 @@ 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/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/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_) @@ -11377,57 +11444,20 @@ 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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 | ^~~~~~~ -../../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/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 | ^~~~~~~ -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/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 -../../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/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] @@ -11436,12 +11466,6 @@ ../../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:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -11518,42 +11542,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh: 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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -11588,111 +11576,44 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/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/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/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/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/sf.cc:16: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/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/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/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; \ @@ -11700,10 +11621,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -11758,12 +11675,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh: 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:157:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -11804,17 +11715,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -11825,12 +11725,144 @@ 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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +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 +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 +../../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 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 '< >' +../../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 '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/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; \ @@ -11914,6 +11946,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 ../../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; \ | ^ @@ -11926,6 +11966,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -11942,28 +11987,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/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: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 -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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ui/sf/channel.hh:28, from ui/sf/montage_cb.cc:17: ../../src/aghermann/patterns/patterns.hh: At global scope: @@ -11987,40 +12010,19 @@ 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/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) { - | ^~ -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 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: + 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/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)); @@ -12028,88 +12030,20 @@ ../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/sf/d/artifacts.hh:19, - from ui/sf/d/artifacts-profiles_cb.cc:12: + from ../../src/aghermann/expdesign/subject.hh:23, + from ui/sf/sf.cc:20: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -In file included from ../../src/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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage-menus_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/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/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:93:23: note: remove the '< >' -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/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage.cc:17: + 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)); @@ -12120,39 +12054,6 @@ 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 -../../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 ui/mw/mw.hh:27, - from ui/mw/mainmenu_cb.cc:18: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/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 -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) { - | ^~ ../../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)); } @@ -12170,13 +12071,6 @@ 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] @@ -12188,38 +12082,30 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +In file included from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/subject.hh:26: +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/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/montage-overlays.cc:14: +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; \ @@ -12321,21 +12207,45 @@ ../../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/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/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../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/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 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/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -12352,75 +12262,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, - 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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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: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/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.cc +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ 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); @@ -12538,6 +12395,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 In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12545,32 +12413,11 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../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] @@ -12587,6 +12434,11 @@ 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( @@ -12598,7 +12450,14 @@ ../../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_) | ^ -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/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) + | ^ In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12606,17 +12465,65 @@ ../../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: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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/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: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../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] @@ -12628,11 +12535,106 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: 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); + | ^~~~~~~~ ../../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/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); + | ^~~~~~~~ +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/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( @@ -12640,6 +12642,37 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../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, @@ -12649,7 +12682,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/montage.cc:14: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -12669,11 +12702,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: 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: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -12698,11 +12726,6 @@ ../../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/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -12743,6 +12766,17 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -12771,58 +12805,12 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../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/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/common/fs.hh: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/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/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/artifacts.hh:20: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/artifact-detection/3in1.hh:19: +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; \ @@ -12939,6 +12927,17 @@ 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/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, @@ -12955,15 +12954,8 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/d/artifacts.cc:13: -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ui/sf/channel.hh:28, - from ui/sf/montage-overlays.cc:18: + 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_) @@ -12985,51 +12977,31 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/montage.cc:20: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/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)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 ../../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 ui/sf/channel.hh:28, - from ui/sf/montage-menus_cb.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -13104,11 +13076,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh: 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; \ | ^ @@ -13165,52 +13132,11 @@ ../../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/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -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/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); - | ^~~~~~~~~~~~~~~~~~~~~~ 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: @@ -13219,149 +13145,13 @@ 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:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh: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/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/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/expdesign.hh:78:30: note: remove 'std::move' call -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -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 In file included from ui/sf/channel.hh:28, - from ui/sf/montage.cc:18: + 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_) @@ -13383,6 +13173,25 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../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( @@ -13395,18 +13204,71 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/montage.cc:20: +In file included from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/artifact-detection/3in1.hh:20, + from ui/sf/d/artifacts.hh:19, + from ui/sf/d/artifacts-profiles_cb.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from 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 '< >' -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: +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 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/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:119:22: 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/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, "/")); @@ -13417,36 +13279,114 @@ 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/phasediff_cb.o ui/sf/d/phasediff_cb.cc -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +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 '< >' -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 ../../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 - | ^~~~~~~ +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/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 ui/sf/d/artifacts.hh:20, + from ui/sf/d/artifacts.cc:13: +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +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/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ + from ../../src/aghermann/model/achermann.hh:24, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/artifacts.hh:20: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/ui.hh:22, - from ui/sf/d/filters-construct.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; \ @@ -13558,111 +13498,11 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/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/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: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 '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_cb.cc In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -13679,31 +13519,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/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/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns-profiles.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -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/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -13830,42 +13650,47 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/mf/construct.o ui/mf/construct.cc -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 '< >' -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 ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/sf.cc:27: +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 +../../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/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/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: @@ -13873,16 +13698,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) | ^ -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/patterns.cc:13: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/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); @@ -13911,28 +13726,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: 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/mf/mf_cb.o ui/mf/mf_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/aghermann/ui/sf/channel.hh:28, from ui/sf/d/artifacts_cb.cc:14: ../../src/aghermann/patterns/patterns.hh: At global scope: @@ -13956,22 +13749,53 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/globals.o ui/globals.cc +../../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/patterns-profiles.o ui/sf/d/patterns-profiles.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_cb.cc +In file included from ../../src/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 +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/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; \ @@ -14083,11 +13907,28 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ui/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/d/patterns-draw.cc:13: @@ -14096,67 +13937,11 @@ 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/misc.o ui/misc.cc -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -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/sf/channel.hh:22: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../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/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 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 '< >' -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/phasediff-construct.cc:13: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -14164,20 +13949,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) | ^ -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/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, - from ../../src/aghermann/patterns/patterns.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:28: +In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -14193,6 +13970,47 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.cc +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -14221,51 +14039,6 @@ 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 '< >' -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/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/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -14282,15 +14055,32 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh: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) + | ^ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc +../../src/common/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/ui/sf/channel.hh:30: + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -14402,39 +14192,16 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh: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 '< >' ../../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/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -14561,24 +14328,85 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc ../../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: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968.o ui/sf/d/rk1968.cc +In file included from ../../src/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc +In file included from ../../src/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 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/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/mf/construct.o ui/mf/construct.cc +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/aghermann/patterns/patterns.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -14606,25 +14434,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:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/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_) | ^ @@ -14645,21 +14454,15 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -14776,6 +14579,27 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/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/mf/mf.o ui/mf/mf.cc +In file included from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns.cc:14: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/globals.o ui/globals.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/sf/channel.hh:22: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -14788,31 +14612,11 @@ 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/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 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 '< >' -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, @@ -14827,16 +14631,34 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46: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 '< >' +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns-profiles.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/patterns-profiles_cb.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/d/patterns_cb.cc:15: @@ -14854,7 +14676,7 @@ 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 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)); @@ -14895,6 +14717,18 @@ 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 ../../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_) | ^ @@ -14915,17 +14749,6 @@ 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: -../../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] @@ -15091,9 +14914,24 @@ 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/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: + 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) @@ -15131,54 +14969,13 @@ 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/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 -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 +../../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/phasediff.cc:15: + 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)); @@ -15188,12 +14985,14 @@ ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/string.hh: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, @@ -15271,6 +15070,11 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/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; \ | ^ @@ -15315,27 +15119,32 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ui/mf/mf.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../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 In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/expdesign/dirlevel.hh:23, from ../../src/aghermann/rk1968/rk1968.hh:22, from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968.cc:13: + from ui/sf/d/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)); @@ -15346,25 +15155,38 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/patterns-profiles_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/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/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, "/")); @@ -15374,41 +15196,32 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/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: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/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/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:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libmetrics/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; \ @@ -15434,11 +15247,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/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; \ | ^ @@ -15525,15 +15333,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:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libmetrics/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/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/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); @@ -15544,71 +15365,21 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369: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/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/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:63:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libsigproc/sigproc.hh:28: +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); @@ -15619,18 +15390,11 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/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( @@ -15643,6 +15407,257 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/phasediff.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +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/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh: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 +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 ../../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 +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/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/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/d/rk1968.hh:16, + from ui/sf/d/rk1968_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/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 +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/patterns_cb.cc:16: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ui/ui++.o ui/ui++.cc +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../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] @@ -15666,29 +15681,17 @@ 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/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/beersma.hh:21, - from ui/mf/mf_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -15699,11 +15702,6 @@ 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:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -15711,17 +15709,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/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, "/")); @@ -15732,58 +15726,65 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +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/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../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/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 -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from 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; \ @@ -15809,38 +15810,18 @@ ../../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: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; \ | ^ ../../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/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../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/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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15859,56 +15840,125 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -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/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: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: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: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/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:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); +../../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/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/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/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); | ^~~~~~~~~~~~~~~~~~~~~~ ../../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/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: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: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -15916,10 +15966,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:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -15943,12 +15989,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/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: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; \ @@ -16006,48 +16046,9 @@ 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/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/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; \ - | ^ -../../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/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ ../../src/libmetrics/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/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../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 | ^~~~~~~ @@ -16056,17 +16057,9 @@ 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 ui/ui.cc:14: +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) | ^ @@ -16075,27 +16068,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/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/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)); } @@ -16105,25 +16077,6 @@ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns_cb.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -16131,31 +16084,23 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ -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/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/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/aghermann/ui/mw/mw.hh:23: +../../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/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; \ @@ -16163,6 +16108,11 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -16181,6 +16131,12 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from 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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16273,16 +16229,114 @@ ../../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/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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/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/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/phasediff_cb.cc:15: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../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/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 +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 +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/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/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 @@ -16299,7 +16353,8 @@ 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; \ @@ -16383,6 +16438,13 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/mw/mw.hh: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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16422,6 +16484,125 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh: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 '< >' +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/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 +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 +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../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 @@ -16433,11 +16614,6 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/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); @@ -16566,95 +16742,12 @@ 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/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 -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28: -../../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/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/channel.hh:22: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns_cb.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' 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, "/")); @@ -16665,76 +16758,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/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/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/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/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/aghermann/ui/dirlevel-storable-adapter.hh:34:22: 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 ../../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/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: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] @@ -16751,6 +16790,11 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -16763,57 +16807,29 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/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 + | ^~~~~~~ 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/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ ../../src/libmetrics/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/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; \ @@ -16925,20 +16941,90 @@ 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 ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/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 +../../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/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::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/ui/sf/channel.hh:30: + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/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; \ @@ -17055,45 +17141,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 -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -17116,7 +17163,7 @@ | ~~~~^~~~~ ../../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: + 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; \ @@ -17172,6 +17219,18 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60: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/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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -17200,6 +17259,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; \ | ^ @@ -17239,29 +17303,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff_cb.cc:15: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/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)); } @@ -17278,6 +17319,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/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); @@ -17407,10 +17453,26 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/mf/mf.cc:14: + from ui/mf/mf.hh:16, + from ui/mf/mf_cb.cc:17: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -17438,11 +17500,7 @@ 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/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( '/'))); } @@ -17451,8 +17509,7 @@ In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/mf/mf.hh:16, - from ui/mf/mf_cb.cc:17: + from ui/mf/mf.cc:14: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -17480,43 +17537,22 @@ 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 -../../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/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 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 '< >' -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -shared -Wl,-z,relro -Wl,-z,now -o aghermann artifact-detection/3in1.o expdesign/dirlevel.o expdesign/expdesign.o expdesign/loadsave.o expdesign/recording.o expdesign/subject.o expdesign/tree-scanner.o model/achermann-tunable.o model/achermann.o model/achermann-siman.o model/ultradian-cycle.o model/borbely.o patterns/patterns.o rk1968/rk1968.o rk1968/rk1968-profiles.o ui/sm/sm-construct.o ui/sm/sm.o ui/sm/sm_cb.o ui/mw/admit-one.o ui/mw/admit-one_cb.o ui/mw/construct.o ui/mw/loadsave.o ui/mw/mainmenu_cb.o ui/mw/measurements.o ui/mw/measurements_cb.o ui/mw/populate.o ui/mw/settings_cb.o ui/mw/simulations.o ui/mw/simulations_cb.o ui/mw/splash.o ui/mw/mw.o ui/mw/mw_cb.o ui/sf/channel.o ui/sf/construct.o ui/sf/controls_cb.o ui/sf/hypnogram.o ui/sf/hypnogram_cb.o ui/sf/ica.o ui/sf/ica_cb.o ui/sf/mainmenu_cb.o ui/sf/montage-overlays.o ui/sf/montage.o ui/sf/montage_cb.o ui/sf/montage-menus_cb.o ui/sf/sf.o ui/sf/sf_cb.o ui/sf/d/artifacts.o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts_cb.o ui/sf/d/filters.o ui/sf/d/filters-construct.o ui/sf/d/filters_cb.o ui/sf/d/patterns.o ui/sf/d/patterns-draw.o ui/sf/d/patterns-profiles.o ui/sf/d/patterns_cb.o ui/sf/d/patterns-profiles_cb.o ui/sf/d/phasediff.o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff_cb.o ui/sf/d/rk1968.o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968_cb.o ui/mf/construct.o ui/mf/mf.o ui/mf/mf_cb.o ui/globals.o ui/misc.o ui/ui++.o ui/ui.o main.o globals.o ../libmetrics/libmetrics.la ../libsigproc/libsigproc.la ../common/liba.a ../libsigfile/libsigfile.la -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lcairo -lvte-2.91 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lconfig++ -lfftw3_omp -lpthread -fopenmp -llua5.1 +In file included from 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 +/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! @@ -17547,6 +17583,15 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from agh-profile-gen.cc:22: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -17557,42 +17602,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from agh-profile-gen.cc:22: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -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/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 edfhed.cc:22: -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call 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)': @@ -17615,13 +17624,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -edfhed.cc: In function 'int main(int, char**)': -edfhed.cc:418:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 418 | } catch (invalid_argument ex) { - | ^~ -edfhed.cc:421:39: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] - 421 | } catch (out_of_range ex) { - | ^~ In file included from ../../src/libsigproc/sigproc.hh:27, from edfcat.cc:22: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] @@ -17638,6 +17640,13 @@ 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326: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/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); @@ -17655,20 +17664,21 @@ 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 ../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) - | ^ ../../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/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': @@ -17705,37 +17715,6 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -edfcat.cc: At global scope: -edfcat.cc:57:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 57 | void figure_timepoints( const list&) throw (invalid_argument); - | ^~~~~ -edfcat.cc:58:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | void figure_channels( const list&) throw (invalid_argument); - | ^~~~~ -edfcat.cc:66:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 66 | int parse_op( int argc, const char* argv[]) throw (invalid_argument); - | ^~~~~ -edfcat.cc:69:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 69 | SOperation( int argc, const char* argv[]) throw (invalid_argument) - | ^~~~~ -edfcat.cc:79:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 79 | parse_op( int argc, const char* argv[]) throw (invalid_argument) - | ^~~~~ -edfcat.cc:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 139 | figure_timepoints( const list& argv) throw (invalid_argument) - | ^~~~~ -edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 170 | figure_channels( const list& argv) throw (invalid_argument) - | ^~~~~ In file included from ../../src/libmetrics/psd.hh:25, from ../../src/libmetrics/all.hh:16, from agh-profile-gen.cc:26: @@ -17746,6 +17725,10 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigfile/edf.hh: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ ../../src/libmetrics/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); @@ -17869,11 +17852,105 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/edf.hh:94: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 edfhed.cc:22: +../../src/libsigfile/edf.hh: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +edfcat.cc: At global scope: +edfcat.cc:57:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 57 | void figure_timepoints( const list&) throw (invalid_argument); + | ^~~~~ +edfcat.cc:58:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 58 | void figure_channels( const list&) throw (invalid_argument); + | ^~~~~ +edfcat.cc:66:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 66 | int parse_op( int argc, const char* argv[]) throw (invalid_argument); + | ^~~~~ +edfcat.cc:69:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 69 | SOperation( int argc, const char* argv[]) throw (invalid_argument) + | ^~~~~ +edfcat.cc:79:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 79 | parse_op( int argc, const char* argv[]) throw (invalid_argument) + | ^~~~~ +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:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 139 | figure_timepoints( const list& argv) throw (invalid_argument) + | ^~~~~ +edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 170 | figure_channels( const list& argv) throw (invalid_argument) + | ^~~~~ +/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 ../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) + | ^ +../../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 + +libtool: warning: Linking the executable agh-profile-gen against the loadable module +libtool: warning: libsigfile.so is not portable! + +libtool: warning: Linking the executable agh-profile-gen against the loadable module +libtool: warning: libsigproc.so is not portable! + +libtool: warning: Linking the executable agh-profile-gen against the loadable module +libtool: warning: libmetrics.so is not portable! +libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/agh-profile-gen agh-profile-gen.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../libmetrics/.libs/libmetrics.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -fopenmp -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann +edfhed.cc:246:54: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 6 [-Wformat-truncation=] + 246 | snprintf( date_buf, 9, "%02d.%02d.%02d", + | ^~~~ +In function 'int set_recording_datetime_from_mtime(sigfile::CEDFFile&)', + inlined from 'int main(int, char**)' at edfhed.cc:346:74: +edfhed.cc:246:48: note: directive argument in the range [-2147483647, 2147483647] + 246 | snprintf( date_buf, 9, "%02d.%02d.%02d", + | ^~~~~~~~~~~~~~~~ +edfhed.cc:246:48: note: directive argument in the range [-2147483648, 2147483547] +In file included from /usr/include/stdio.h:970, + from /usr/include/c++/14/cstdio:42, + from /usr/include/c++/14/ext/string_conversions.h:45, + from /usr/include/c++/14/bits/basic_string.h:4154, + from /usr/include/c++/14/string:54, + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/ios:44, + from /usr/include/c++/14/ostream:40, + from /usr/include/c++/14/iostream:41, + from edfhed.cc:17: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int set_recording_datetime_from_mtime(sigfile::CEDFFile&)' at edfhed.cc:246:33, + inlined from 'int main(int, char**)' at edfhed.cc:346:74: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 9 and 36 bytes into a destination of size 9 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/edf.hh:26, from edfhed-gtk.cc:15: @@ -17925,56 +18002,15 @@ edfhed-gtk.cc:164:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] 164 | } catch (invalid_argument ex) { | ^~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o agh-profile-gen agh-profile-gen.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../libmetrics/libmetrics.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -edfhed.cc:246:54: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 6 [-Wformat-truncation=] - 246 | snprintf( date_buf, 9, "%02d.%02d.%02d", - | ^~~~ -In function 'int set_recording_datetime_from_mtime(sigfile::CEDFFile&)', - inlined from 'int main(int, char**)' at edfhed.cc:346:74: -edfhed.cc:246:48: note: directive argument in the range [-2147483647, 2147483647] - 246 | snprintf( date_buf, 9, "%02d.%02d.%02d", - | ^~~~~~~~~~~~~~~~ -edfhed.cc:246:48: note: directive argument in the range [-2147483648, 2147483547] -In file included from /usr/include/stdio.h:970, - from /usr/include/c++/14/cstdio:42, - from /usr/include/c++/14/ext/string_conversions.h:45, - from /usr/include/c++/14/bits/basic_string.h:4154, - from /usr/include/c++/14/string:54, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/ostream:40, - from /usr/include/c++/14/iostream:41, - from edfhed.cc:17: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int set_recording_datetime_from_mtime(sigfile::CEDFFile&)' at edfhed.cc:246:33, - inlined from 'int main(int, char**)' at edfhed.cc:346:74: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 9 and 36 bytes into a destination of size 9 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ - -libtool: warning: Linking the executable agh-profile-gen against the loadable module -libtool: warning: libsigfile.so is not portable! - -libtool: warning: Linking the executable agh-profile-gen against the loadable module -libtool: warning: libsigproc.so is not portable! - -libtool: warning: Linking the executable agh-profile-gen against the loadable module -libtool: warning: libmetrics.so is not portable! -libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/agh-profile-gen agh-profile-gen.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../libmetrics/.libs/libmetrics.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -fopenmp -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -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 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\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfcat edfcat.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o edfhed edfhed.o ../libsigfile/libsigfile.la ../libsigproc/libsigproc.la ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -libtool: warning: Linking the executable edfhed-gtk against the loadable module +libtool: warning: Linking the executable edfcat against the loadable module libtool: warning: libsigfile.so is not portable! -libtool: warning: Linking the executable edfhed-gtk against the loadable module +libtool: warning: Linking the executable edfcat against the loadable module libtool: warning: libsigproc.so is not portable! -libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfhed-gtk ../aghermann/ui/edfhed_gtk-ui.o edfhed_gtk-edfhed-gtk.o -Wl,--export-dynamic ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfftw3_omp -lpthread -pthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann +libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/edfcat edfcat.o ../libsigfile/.libs/libsigfile.so ../libsigproc/.libs/libsigproc.so ../common/liba.a -lfftw3 -litpp -lsamplerate -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/aghermann libtool: warning: Linking the executable edfhed against the loadable module libtool: warning: libsigfile.so is not portable! @@ -17982,14 +18018,14 @@ 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 -/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\" -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 edfcat against the loadable module +libtool: warning: Linking the executable edfhed-gtk against the loadable module libtool: warning: libsigfile.so is not portable! -libtool: warning: Linking the executable edfcat against the loadable module +libtool: 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\" -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 +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 make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/tools' make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src' make[5]: Nothing to be done for 'all-am'. @@ -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 -j20 check "TESTSUITEFLAGS=-j20 --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,25 +18275,25 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libmetrics.so contains an unresolvable reference to symbol _ZN7sigproc6smoothIfEEvRSt8valarrayIT_Em: it's probably a plugin -dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigfile.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigfile.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigproc.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libsigproc.so' -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol _ZN3agh3log12CLogFacility3msgENS0_6TLevelEPKcS4_z: 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/libmetrics.so contains an unresolvable reference to symbol _ZN3agh3str9sasprintfB5cxx11EPKcz: it's probably a plugin +dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: can't extract name and version from library name 'libmetrics.so' dpkg-shlibdeps: warning: can't extract name and version from library name 'libmetrics.so' -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_interp_akima: it's probably a plugin +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_eval: it's probably a plugin dpkg-shlibdeps: warning: 7 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/aghermann debian/aghermann/usr/bin/agh-profile-gen were not linked against libfftw3.so.3 (they use none of the library's symbols) +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/x86_64-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol _ZN3agh3str3padERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm: it's probably a plugin +dpkg-shlibdeps: warning: 27 other similar warnings have been skipped (use -v to see them all) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/aghermann/usr/bin/agh-profile-gen debian/aghermann/usr/bin/aghermann were not linked against libfftw3.so.3 (they use none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'aghermann' in '../aghermann_1.1.2-5_amd64.deb'. dpkg-deb: building package 'aghermann-dbgsym' in '../aghermann-dbgsym_1.1.2-5_amd64.deb'. +dpkg-deb: building package 'aghermann' in '../aghermann_1.1.2-5_amd64.deb'. dpkg-genbuildinfo --build=binary -O../aghermann_1.1.2-5_amd64.buildinfo dpkg-genchanges --build=binary -O../aghermann_1.1.2-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -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/177234/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/177234/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/2877767 and its subdirectories -I: Current time: Tue Apr 21 02:59:43 -12 2026 -I: pbuilder-time-stamp: 1776783583 +I: removing directory /srv/workspace/pbuilder/177234 and its subdirectories +I: Current time: Wed Mar 19 22:40:22 +14 2025 +I: pbuilder-time-stamp: 1742373622