Diff of the two buildlogs: -- --- b1/build.log 2025-03-08 11:04:08.136047525 +0000 +++ b2/build.log 2025-03-08 11:06:12.198479072 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 7 22:56:36 -12 2025 -I: pbuilder-time-stamp: 1741431396 +I: Current time: Sat Apr 11 07:27:07 +14 2026 +I: pbuilder-time-stamp: 1775842027 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ 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/49539/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/118031/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 Apr 10 17:27 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/118031/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/118031/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='3f88619c87a445a9a78f55a85147baef' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='49539' - PS1='# ' - PS2='> ' + INVOCATION_ID=e6b5b977376442768b5da080a2b0d57d + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=118031 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.jA9qxuh1/pbuilderrc_4F2J --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.jA9qxuh1/b1 --logfile b1/build.log aghermann_1.1.2-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jA9qxuh1/pbuilderrc_nR5D --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.jA9qxuh1/b2 --logfile b2/build.log aghermann_1.1.2-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos12-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/49539/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/118031/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -476,7 +508,7 @@ Get: 341 http://deb.debian.org/debian unstable/main i386 libvte-2.91-dev i386 0.79.91-2 [61.8 kB] Get: 342 http://deb.debian.org/debian unstable/main i386 libxml2-utils i386 2.12.7+dfsg+really2.9.14-0.2+b2 [99.6 kB] Get: 343 http://deb.debian.org/debian unstable/main i386 lua5.1 i386 5.1.5-10 [112 kB] -Fetched 168 MB in 3s (54.4 MB/s) +Fetched 168 MB in 2s (91.6 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:i386. (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 ... 19769 files and directories currently installed.) @@ -1593,8 +1625,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Mar 8 10:59:09 UTC 2025. -Universal Time is now: Sat Mar 8 10:59:09 UTC 2025. +Local time is now: Fri Apr 10 17:27:44 UTC 2026. +Universal Time is now: Fri Apr 10 17:27:44 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -1901,7 +1933,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/118031/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/118031/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 @@ -2154,7 +2190,7 @@ dh_auto_build - make -j11 + make -j21 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' @@ -2167,7 +2203,7 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon.o libcommon.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log-facility.o log-facility.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o subject_id.o subject_id.cc -In file included from log-facility.cc:19: +In file included from subject_id.cc:16: string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2189,7 +2225,7 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call -In file included from subject_id.cc:16: +In file included from log-facility.cc:19: string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2210,6 +2246,12 @@ 169 | return move(ret); | ~~~~^~~~~ alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from subject_id.cc:17: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ 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] @@ -2241,6 +2283,11 @@ 103 | return move(r); | ~~~~^~~ libcommon.cc:103: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 libcommon.cc: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, const char*)': libcommon.cc:120:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 120 | return move(acc); @@ -2256,17 +2303,6 @@ 347 | return move(fname); | ~~~~^~~~~~~ libcommon.cc:347:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from subject_id.cc:17: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -2289,13 +2325,13 @@ make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/common' Making all in libsigproc make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c exstrom.cc -fPIC -DPIC -o .libs/exstrom.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c sigproc.cc -fPIC -DPIC -o .libs/sigproc.o In file included from exstrom.cc:12: exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': @@ -2324,53 +2360,6 @@ 240 | return move(dcof_bwlp( n, fcf)); | ^ exstrom.hh:240:39: note: remove 'std::move' call -In file included from sigproc.hh:27, - from sigproc.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 sigproc.hh:28: -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] - 326 | return move(ccof); - | ~~~~^~~~~~ -exstrom.hh:326:20: note: remove 'std::move' call -exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -exstrom.hh:345:20: note: remove 'std::move' call -exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -exstrom.hh:369:20: note: remove 'std::move' call -sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sigproc.hh:63:20: note: remove 'std::move' call -sigproc.hh: At global scope: -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_) - | ^ -sigproc.hh:93:23: note: remove the '< >' -In file included from sigproc.hh:354: -sigproc.ii: In instantiation of 'std::valarray<_Tp> sigproc::dzcdf(const SSignalRef&, double, double, size_t) [with T = float; size_t = unsigned int]': -sigproc.cc:25:92: required from here - 25 | template valarray sigproc::dzcdf( const SSignalRef&, double, double, size_t); - | ^ -sigproc.ii:230:77: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 230 | return move( interpolate( xi, in.samplerate, y, 1./in.samplerate)); - | ^ -sigproc.ii:230:77: note: remove 'std::move' call In file included from ext-filters.hh:18, from ext-filters.cc:13: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -2481,27 +2470,74 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ext-filters.hh:164:24: note: remove the '< >' -/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 -Wformat -Werror=format-security -avoid-version -rpath /usr/lib/i386-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/i386-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate +In file included from sigproc.hh:27, + from sigproc.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 sigproc.hh:28: +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] + 326 | return move(ccof); + | ~~~~^~~~~~ +exstrom.hh:326:20: note: remove 'std::move' call +exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +exstrom.hh:345:20: note: remove 'std::move' call +exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +exstrom.hh:369:20: note: remove 'std::move' call +sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +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)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sigproc.hh:63:20: note: remove 'std::move' call +sigproc.hh: At global scope: +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_) + | ^ +sigproc.hh:93:23: note: remove the '< >' +In file included from sigproc.hh:354: +sigproc.ii: In instantiation of 'std::valarray<_Tp> sigproc::dzcdf(const SSignalRef&, double, double, size_t) [with T = float; size_t = unsigned int]': +sigproc.cc:25:92: required from here + 25 | template valarray sigproc::dzcdf( const SSignalRef&, double, double, size_t); + | ^ +sigproc.ii:230:77: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 230 | return move( interpolate( xi, in.samplerate, y, 1./in.samplerate)); + | ^ +sigproc.ii:230:77: note: remove 'std::move' call +/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 -Wformat -Werror=format-security -avoid-version -rpath /usr/lib/i386-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/i386-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/14/crtbeginS.o .libs/exstrom.o .libs/ext-filters.o .libs/sigproc.o .libs/winfun.o -lsamplerate -L/usr/lib/gcc/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c edf.cc -fPIC -DPIC -o .libs/edf.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c edf-io.cc -fPIC -DPIC -o .libs/edf-io.o -In file included from tsv.cc:23: +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 -Wformat -Werror=format-security -c edf.cc -fPIC -DPIC -o .libs/edf.o +In file included from edf-io.cc:12: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2511,13 +2547,13 @@ ../../src/common/string.hh:71:20: warning: moving a temporary 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.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: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)); @@ -2534,13 +2570,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 typed-source.hh:16, - from typed-source.cc:13: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from edf-io.cc:12: +In file included from tsv.cc:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2551,13 +2581,7 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from source-base.hh:19: +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)); @@ -2573,22 +2597,24 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object 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 edf.cc:25: +In file included from source-base.hh:18, + from typed-source.hh:16, + from typed-source.cc:13: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2599,68 +2625,11 @@ 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:27, - from tsv.hh:26, - from tsv.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/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 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 -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)': @@ -2668,58 +2637,11 @@ 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 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 source-base.cc:17: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -edf.hh:94:30: note: remove 'std::move' call -In file included from ../../src/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); @@ -2742,11 +2664,18 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call +In file included from source-base.hh: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.hh:18, from page.cc:21: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] @@ -2757,6 +2686,34 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +In file included from source-base.hh:19, + from source-base.cc:17: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from source-base.hh:19: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, from source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -2769,13 +2726,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: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/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -2786,27 +2736,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:27, + from tsv.hh:26, + from tsv.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 source-base.hh:19: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call In file included from source-base.hh:18, from edf.hh:26, from edf.cc:26: @@ -2814,11 +2755,39 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/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 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] @@ -2830,6 +2799,16 @@ 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 '< >' +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)); } @@ -2844,6 +2823,18 @@ 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 +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/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 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); @@ -2858,6 +2849,44 @@ 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ edf.hh:94:30: note: remove 'std::move' call +In file included from typed-source.cc:14: +edf.hh: At global scope: +edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +edf-io.cc: In member function 'virtual std::valarray sigfile::CEDFFile::get_region_original_smpl(int, size_t, size_t) const': +edf-io.cc:61:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 61 | return move(recp); + | ~~~~^~~~~~ +edf-io.cc:61: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 +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 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; @@ -2890,11 +2919,18 @@ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ -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 +../../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 '< >' 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) @@ -2907,22 +2943,22 @@ edf.cc:234:16: warning: 'char* __builtin_strncpy(char*, const char*, 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 -Wformat -Werror=format-security -avoid-version -rpath /usr/lib/i386-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigfile.la -rpath /usr/lib/i386-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 -Wformat -Werror=format-security -avoid-version -rpath /usr/lib/i386-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigfile.la -rpath /usr/lib/i386-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/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-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/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c page-metrics-base.cc -fPIC -DPIC -o .libs/page-metrics-base.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 -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c psd.cc -fPIC -DPIC -o .libs/psd.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -c mc-artifacts.cc -fPIC -DPIC -o .libs/mc-artifacts.o In file included from mc-artifacts.cc:16: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) @@ -2954,6 +2990,28 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from psd.cc:26: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from mc-artifacts.cc:17: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': @@ -3105,28 +3163,12 @@ 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: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: @@ -3138,6 +3180,11 @@ 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: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -3145,11 +3192,27 @@ 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/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/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -3160,21 +3223,20 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from page-metrics-base.hh:21, - from mc.hh:19: + 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)); @@ -3195,8 +3257,18 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 swu.cc:18: + 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) @@ -3222,11 +3294,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( @@ -3239,40 +3306,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -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 - | ^~~~~~~ -mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -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/common/fs.hh:22, - from psd.cc:26: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from 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] @@ -3392,6 +3425,13 @@ 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/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)); @@ -3451,13 +3491,6 @@ 92 | sizeof(TFloat))); | ~~~~~~~~~~~~~~~~ mc.cc:79:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from swu.cc:19: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call 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( @@ -3498,45 +3531,6 @@ 76 | sizeof(TFloat))); | ~~~~~~~~~~~~~~~~ swu.cc:67:20: note: remove 'std::move' call -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); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/typed-source.hh:16, from psd.cc:28: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': @@ -3544,6 +3538,31 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from page-metrics-base.hh:21, + from mc.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from psd.hh:25, from psd.cc:29: page-metrics-base.hh: At global scope: @@ -3606,7 +3625,24 @@ 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 -Wformat -Werror=format-security -avoid-version -rpath /usr/lib/i386-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/i386-linux-gnu/aghermann page-metrics-base.lo psd.lo swu.lo mc.lo mc-artifacts.lo +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +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 + | ^~~~~~~ +mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +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 -Wformat -Werror=format-security -avoid-version -rpath /usr/lib/i386-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/i386-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/i686-linux-gnu/14/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-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/i686-linux-gnu/14 -L/usr/lib/gcc/i686-linux-gnu/14/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/14/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/14/crtendS.o /usr/lib/gcc/i686-linux-gnu/14/../../../i386-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' @@ -3623,6 +3659,38 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o expdesign/tree-scanner.o expdesign/tree-scanner.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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/achermann-tunable.o model/achermann-tunable.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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/achermann.o model/achermann.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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/achermann-siman.o model/achermann-siman.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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/ultradian-cycle.o model/ultradian-cycle.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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/borbely.o model/borbely.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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o patterns/patterns.o patterns/patterns.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rk1968/rk1968.o rk1968/rk1968.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rk1968/rk1968-profiles.o rk1968/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/admit-one.o ui/mw/admit-one.cc +In file included from ../../src/common/fs.hh:22, + from rk1968/rk1968-profiles.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from 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] @@ -3634,8 +3702,7 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from expdesign/recording.cc:15: +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) | ^ @@ -3644,34 +3711,28 @@ 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/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_cb.cc +In file included from ../../src/common/fs.hh:22, + from patterns/patterns.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call 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] @@ -3683,8 +3744,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/achermann-siman.o model/achermann-siman.cc -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, "/")); @@ -3695,33 +3754,56 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from expdesign/tree-scanner.cc:17: +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) | ^ +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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object 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_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from expdesign/recording.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +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 -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: +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)); @@ -3732,6 +3814,47 @@ 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/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/recording.hh:18, + from model/achermann-siman.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from 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, "/")); @@ -3742,57 +3865,25 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/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/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: + from ../../src/libsigfile/source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call -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/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary 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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -3800,16 +3891,26 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::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/libsigproc/sigproc.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; \ @@ -3937,38 +4038,13 @@ 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, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -../../src/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 ../../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 | ^~~~~~~ @@ -3977,8 +4053,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/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; \ @@ -4096,16 +4171,298 @@ ../../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/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/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/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/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/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/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/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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, + from rk1968/rk1968.hh:23, + from rk1968/rk1968-profiles.cc:19: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/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/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::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: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::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: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a 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/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/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/libmetrics/psd.hh:25, + from model/borbely.cc:18: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary 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/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 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/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 @@ -4113,17 +4470,30 @@ 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/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from patterns/patterns.cc:19: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libsigfile/page.hh:20, - from model/achermann.hh:22: + from ../../src/aghermann/model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4173,6 +4543,59 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../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/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: 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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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_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/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/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] @@ -4241,48 +4664,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 | ^~~~~~~ -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/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/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -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/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; \ @@ -4366,222 +4759,67 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +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; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +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:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh: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:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -expdesign/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 -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/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, - 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 -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::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/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/loadsave.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -expdesign/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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object 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/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/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/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: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: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4589,6 +4827,10 @@ ../../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: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; \ | ^ @@ -4613,6 +4855,21 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: 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/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/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; \ | ^ @@ -4665,6 +4922,10 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../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/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_, | ^~~~~~ @@ -4675,88 +4936,17 @@ ../../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/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 -../../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, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -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/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; \ @@ -4788,12 +4978,18 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh: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/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -4868,32 +5064,63 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libsigfile/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/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/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/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/tree-scanner.cc:21: +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/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/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +In file included from ../../src/libmetrics/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: +../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -5025,72 +5252,9 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: 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 -expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::make_dirname(agh::TExpDirLevel, const agh::SExpDirLevelId&) const': -expdesign/expdesign.cc:234:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 234 | return move(str::sasprintf( "%s/%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str(), level_id.d.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:234:28: note: remove 'std::move' call -expdesign/expdesign.cc:242:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 242 | return move(str::sasprintf( "%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:242:28: note: remove 'std::move' call -expdesign/expdesign.cc:248:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 248 | return move(str::sasprintf( "%s/%s", _session_dir.c_str(), level_id.g.c_str())); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:248:28: note: remove 'std::move' call -expdesign/expdesign.cc:254:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 254 | return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME"))); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc:254:28: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, +In file included from ../../src/libsigfile/source-base.hh:19, 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 -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_groups() const': -expdesign/expdesign.cc:381:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 381 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:381:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_subjects() const': -expdesign/expdesign.cc:392:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 392 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:392:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_sessions() const': -expdesign/expdesign.cc:407:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 407 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:407:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_episodes() const': -expdesign/expdesign.cc:422:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 422 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:422:20: note: remove 'std::move' call -In file included from ../../src/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 + 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, "/")); @@ -5100,77 +5264,89 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_eeg_channels() const': -expdesign/expdesign.cc:443:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 443 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:443:20: note: remove 'std::move' call -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -expdesign/expdesign.hh:78:30: 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); +In file included from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/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); | ~~~~^~~~~~ -expdesign/expdesign.cc:462:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::used_samplerates(sigfile::definitions::types) const': -expdesign/expdesign.cc:483:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 483 | return move(recp); +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); | ~~~~^~~~~~ -expdesign/expdesign.cc:483:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'int agh::CExpDesign::setup_modrun(const std::string&, const std::string&, const std::string&, const agh::SProfileParamSet&, agh::ach::CModelRun**)': -expdesign/expdesign.cc:524:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 524 | } catch (invalid_argument ex) { // thrown by CProfile ctor - | ^~ -expdesign/expdesign.cc:527:31: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] - 527 | } catch (out_of_range ex) { - | ^~ -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) { - | ^~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from model/ultradian-cycle.cc:18: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/ultradian-cycle.o model/ultradian-cycle.cc -In file included from ../../src/libmetrics/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19: +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/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: 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/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); @@ -5294,106 +5470,35 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o model/borbely.o model/borbely.cc -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o patterns/patterns.o patterns/patterns.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) - | ^ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rk1968/rk1968.o rk1968/rk1968.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/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/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -In file included from ../../src/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/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/libmetrics/psd.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5425,12 +5530,17 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ ../../src/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/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; \ | ^ @@ -5444,7 +5554,7 @@ 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: + from model/borbely.cc:19: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ @@ -5505,144 +5615,7 @@ 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/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 '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rk1968/rk1968-profiles.o rk1968/rk1968-profiles.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 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 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 ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/recording.hh:18, - from model/ultradian-cycle.cc:17: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from artifact-detection/3in1.cc:17: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -artifact-detection/3in1.cc: 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/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/libmetrics/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19: -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../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; \ @@ -5760,77 +5733,31 @@ ../../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/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sm/sm-construct.o ui/sm/sm-construct.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from model/ultradian-cycle.cc:18: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -model/ultradian-cycle.cc: In function 'std::__cxx11::list agh::beersma::analyse_deeper(const SUltradianCycle&, agh::CRecording&, const SUltradianCycleCtl&)': -model/ultradian-cycle.cc:215:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 215 | return move(ret); - | ~~~~^~~~~ -model/ultradian-cycle.cc:215:20: note: remove 'std::move' call -In file included from ../../src/common/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/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from rk1968/rk1968.cc:29: ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -5843,7 +5770,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/psd.hh:22: +In file included from ../../src/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; \ @@ -5894,7 +5821,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_, | ^~~~~~ @@ -5927,6 +5854,14 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from 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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -5961,59 +5896,28 @@ ../../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 | ^~~~~~~ +model/ultradian-cycle.cc: In function 'std::__cxx11::list agh::beersma::analyse_deeper(const SUltradianCycle&, agh::CRecording&, const SUltradianCycleCtl&)': +model/ultradian-cycle.cc:215:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 215 | return move(ret); + | ~~~~^~~~~ +model/ultradian-cycle.cc:215:20: note: remove 'std::move' call ../../src/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 +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/fs.hh:22, - from patterns/patterns.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::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 rk1968/rk1968-profiles.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from rk1968/rk1968.hh:22, - from rk1968/rk1968.cc:13: + 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)); @@ -6024,22 +5928,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sm/sm.o ui/sm/sm.cc -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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/admit-one.o ui/mw/admit-one.cc 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': @@ -6047,7 +5935,9 @@ 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: +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 | ^~~~~~~ @@ -6181,83 +6071,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 | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/construct.o ui/mw/construct.cc ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -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 '< >' -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -In file included from ../../src/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_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/libmetrics/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from rk1968/rk1968.cc:29: ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/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 | ^~~~~~~ @@ -6266,7 +6093,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; \ @@ -6394,6 +6221,45 @@ 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 +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 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/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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/loadsave.o ui/mw/loadsave.cc In file included from ../../src/libsigproc/sigproc.hh:28, from patterns/patterns.hh:21, from patterns/patterns.cc:20: @@ -6412,6 +6278,16 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: 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) { + | ^~ ../../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( @@ -6424,11 +6300,14 @@ 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: +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/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) | ^ @@ -6437,6 +6316,24 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::make_dirname(agh::TExpDirLevel, const agh::SExpDirLevelId&) const': +expdesign/expdesign.cc:234:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 234 | return move(str::sasprintf( "%s/%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str(), level_id.d.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:234:28: note: remove 'std::move' call +expdesign/expdesign.cc:242:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 242 | return move(str::sasprintf( "%s/%s/%s", _session_dir.c_str(), Gi->first.c_str(), J.id.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:242:28: note: remove 'std::move' call +expdesign/expdesign.cc:248:28: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 248 | return move(str::sasprintf( "%s/%s", _session_dir.c_str(), level_id.g.c_str())); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.cc:248:28: note: remove 'std::move' call +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc 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_) | ^ @@ -6457,40 +6354,282 @@ 147 | ~SPattern () | ^ patterns/patterns.hh:147:8: note: remove the '< >' +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call 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 ../../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 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/libsigfile/typed-source.hh:16, +expdesign/tree-scanner.cc: In member function 'int agh::CExpDesign::register_intree_source(sigfile::CTypedSource&&, const char**)': +expdesign/tree-scanner.cc:173:26: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 173 | } catch (invalid_argument) { + | ^~~~~~~~~~~~~~~~ +expdesign/tree-scanner.cc:226:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 226 | } catch (invalid_argument ex) { + | ^~ +expdesign/tree-scanner.cc: In function 'int {anonymous}::supported_sigfile_processor(const char*, const stat*, int, FTW*)': +expdesign/tree-scanner.cc:282:52: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 282 | } catch ( invalid_argument ex) { + | ^~ +expdesign/expdesign.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 +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_groups() const': +expdesign/expdesign.cc:381:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 381 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:381:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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_subjects() const': +expdesign/expdesign.cc:392:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 392 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:392:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_sessions() const': +expdesign/expdesign.cc:407:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 407 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:407:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_episodes() const': +expdesign/expdesign.cc:422:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 422 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:422:20: note: remove 'std::move' call +../../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); + | ^~~~~ +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_eeg_channels() const': +expdesign/expdesign.cc:443:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 443 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:443:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_all_channels() const': +expdesign/expdesign.cc:462:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 462 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:462:20: note: remove 'std::move' call +../../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 +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::used_samplerates(sigfile::definitions::types) const': +expdesign/expdesign.cc:483:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 483 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:483:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'int agh::CExpDesign::setup_modrun(const std::string&, const std::string&, const std::string&, const agh::SProfileParamSet&, agh::ach::CModelRun**)': +expdesign/expdesign.cc:524:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 524 | } catch (invalid_argument ex) { // thrown by CProfile ctor + | ^~ +expdesign/expdesign.cc:527:31: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] + 527 | } catch (out_of_range ex) { + | ^~ +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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/populate.o ui/mw/populate.cc +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from artifact-detection/3in1.hh:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/settings_cb.o ui/mw/settings_cb.cc +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.hh:24, + from ui/mw/admit-one_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/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; \ @@ -6602,25 +6741,63 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] +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 +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from rk1968/rk1968.hh:23, - from rk1968/rk1968-profiles.cc:19: +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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/simulations.o ui/mw/simulations.cc +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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); @@ -6648,114 +6825,10 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/construct.o ui/mw/construct.cc -In file included from ui/sm/sm_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ui/sm/sm.cc:18: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/loadsave.o ui/mw/loadsave.cc -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.hh:24, - from ui/mw/admit-one_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -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/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh: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 -In file included from ../../src/libsigproc/sigproc.hh:28: + 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); @@ -6799,12 +6872,9 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../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 | ^~~~~~~ @@ -6820,7 +6890,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: +In file included from ../../src/common/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; \ @@ -6943,13 +7013,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/mainmenu_cb.o ui/mw/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/measurements.o ui/mw/measurements.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, @@ -6958,6 +7021,11 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -6969,39 +7037,6 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/measurements_cb.o ui/mw/measurements_cb.cc -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/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 @@ -7013,12 +7048,22 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libsigproc/exstrom.hh: 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/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -7098,6 +7143,18 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ @@ -7141,45 +7198,23 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc +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 ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/admit-one.cc:16: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/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: 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 | ^~~~~~~ @@ -7297,10 +7332,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -ui/sm/sm.cc: In constructor 'agh::ui::SSessionChooser::SSessionChooser(const char*)': -ui/sm/sm.cc:84:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 84 | } catch (invalid_argument ex) { - | ^~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -7317,16 +7348,21 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -ui/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) { - | ^~ ../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/populate.o ui/mw/populate.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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/splash.o ui/mw/splash.cc +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/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( '/'))); } @@ -7344,13 +7380,9 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71: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) { - | ^~ -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/beersma.hh:21, - from ui/mw/measurements.cc:19: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/mw.o ui/mw/mw.cc +In file included from ../../src/libsigfile/source-base.hh:18, + from ui/mw/measurements_cb.cc:12: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ @@ -7359,9 +7391,18 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/settings_cb.o ui/mw/settings_cb.cc -In file included from ../../src/libsigfile/source-base.hh:18, - from ui/mw/measurements_cb.cc:12: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc +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/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) | ^ @@ -7371,6 +7412,57 @@ | ~~~~^~~~~ ../../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/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/expdesign.hh:22, + from ui/mw/populate.cc:16: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21: @@ -7399,6 +7491,7 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/channel.o ui/sf/channel.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 @@ -7538,6 +7631,176 @@ 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 ../../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) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/construct.o ui/sf/construct.cc +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/common/config-validate.hh:26: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: 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 ui/mw/mw.hh:25, @@ -7567,6 +7830,13 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/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/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( @@ -7579,22 +7849,11 @@ 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 +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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)': @@ -7617,6 +7876,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/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/controls_cb.o ui/sf/controls_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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -7761,34 +8048,10 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/expdesign.hh:22, - from ui/mw/populate.cc:16: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/hypnogram_cb.o ui/sf/hypnogram_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/measurements.cc:21: + 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); @@ -7816,13 +8079,45 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc -In file included from ui/mw/mw.hh:27: +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.hh:24, + from ui/mw/simulations.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/ica.o ui/sf/ica.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/aghermann/artifact-detection/3in1.hh:22: +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +In file included from ui/mw/mainmenu_cb.cc:13: +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ +In file included from ../../src/common/config-validate.hh:24, + from ui/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 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( @@ -7922,9 +8217,9 @@ 77 | })); | ~~~ ui/mw/loadsave.cc:30: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: +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) @@ -7934,53 +8229,99 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/mw/mainmenu_cb.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/mw/mainmenu_cb.cc:17: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +In file included from ../../src/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/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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: +In file included from ../../src/aghermann/ui/sf/channel.hh:25: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/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; \ @@ -8064,6 +8405,19 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -8103,41 +8457,35 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a 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/aghermann/ui/sf/sf.hh:22, + from ui/mw/settings_cb.cc:19: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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.cc:16: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/artifact-detection/3in1.hh:21: + 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); @@ -8153,6 +8501,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( @@ -8165,63 +8518,25 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from ui/mw/mainmenu_cb.cc:13: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ -In file included from ui/mw/settings_cb.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/mw/mainmenu_cb.cc:17: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/aghermann/ui/sf/channel.hh:25: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/ui/sf/channel.hh:30: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ + 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:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/measurements.cc:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +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; \ @@ -8235,6 +8550,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; \ | ^ @@ -8259,6 +8579,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; \ | ^ @@ -8333,88 +8658,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/splash.o ui/mw/splash.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/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 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 -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/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/measurements_cb.cc:15: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -8427,6 +8670,11 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call In file included from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, from ui/mw/mw.hh:27: @@ -8568,16 +8816,10 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.hh:24, - from ui/mw/simulations.cc:13: + 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)); @@ -8588,30 +8830,9 @@ 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/settings_cb.cc:19: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object 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, +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 -In file included from ../../src/libsigproc/sigproc.hh:28: + 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); @@ -8639,26 +8860,10 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../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: + 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); @@ -8686,51 +8891,23 @@ 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)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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/libsigfile/source-base.hh:297: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: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/model/beersma.hh:22, + from ui/mw/mw.cc:23: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -8804,6 +8981,12 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -8842,16 +9025,112 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ui/mw/mw.hh:27, + from ui/mw/mainmenu_cb.cc:18: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ui/mw/mw.hh:24, + from ui/mw/splash.cc:18: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/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: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/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 +../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/ica_cb.o ui/sf/ica_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 ui/sf/channel.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/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 @@ -8992,17 +9271,32 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/channel.o ui/sf/channel.cc -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +ui/mw/mainmenu_cb.cc: In function 'void iHelpUsage_activate_cb(GtkMenuItem*, gpointer)': +ui/mw/mainmenu_cb.cc:610:21: warning: 'gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)' is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations] + 610 | gtk_show_uri( NULL, + | ~~~~~~~~~~~~^~~~~~~ + 611 | "http://johnhommer.com/academic/code/aghermann/usage/", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 612 | GDK_CURRENT_TIME, NULL); + | ~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:200, + from ../../src/aghermann/artifact-detection/3in1.hh:17: +/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here + 33 | gboolean gtk_show_uri (GdkScreen *screen, + | ^~~~~~~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/construct.cc:14: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -9031,10 +9325,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -ui/mw/settings_cb.cc: In function 'void tDesign_switch_page_cb(GtkNotebook*, gpointer, guint, gpointer)': -ui/mw/settings_cb.cc:54:49: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 54 | catch (invalid_argument ex) { - | ^~ ../../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( @@ -9047,6 +9337,107 @@ 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 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: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/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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/aghermann/expdesign/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_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: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -9063,24 +9454,27 @@ 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/mw/mw.hh:24, - from ui/mw/splash.cc:18: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -9202,90 +9596,20 @@ 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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/construct.o ui/sf/construct.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object 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 -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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 +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/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 @@ -9302,7 +9626,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -9425,129 +9749,28 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/controls_cb.o ui/sf/controls_cb.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 -ui/mw/splash.cc: In member function 'int agh::ui::SExpDesignUI::try_download()': -ui/mw/splash.cc:161:32: warning: 'gboolean vte_terminal_spawn_sync(VteTerminal*, VtePtyFlags, const char*, char**, char**, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GPid*, GCancellable*, GError**)' is deprecated [-Wdeprecated-declarations] - 161 | vte_terminal_spawn_sync( - | ~~~~~~~~~~~~~~~~~~~~~~~^ - 162 | tTerm, - | ~~~~~~ - 163 | VTE_PTY_DEFAULT, - | ~~~~~~~~~~~~~~~~ - 164 | ED->session_dir(), - | ~~~~~~~~~~~~~~~~~~ - 165 | const_cast (argv), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ - 166 | NULL, // char **envv, - | ~~~~~~~~~~~~~~~~~~~~~ - 167 | (GSpawnFlags)G_SPAWN_DO_NOT_REAP_CHILD, // GSpawnFlags spawn_flags, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 168 | NULL, // GSpawnChildSetupFunc child_setup, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 169 | NULL, // gpointer child_setup_data, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 170 | &dl_pid, - | ~~~~~~~~ - 171 | NULL, - | ~~~~~ - 172 | &Error); // GError **error); - | ~~~~~~~ -In file included from /usr/include/vte-2.91/vte/vte.h:38, - from ui/mw/splash.cc:15: -/usr/include/vte-2.91/vte/vtedeprecated.h:91:10: note: declared here - 91 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal, - | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.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 ui/sf/channel.cc:16: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ +../../src/libmetrics/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: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +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; \ @@ -9670,8 +9893,25 @@ 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 +../../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/channel.cc:17: + 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)); @@ -9682,9 +9922,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/ica_cb.o ui/sf/ica_cb.cc 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] @@ -9695,6 +9932,79 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +ui/mw/splash.cc: In member function 'int agh::ui::SExpDesignUI::try_download()': +ui/mw/splash.cc:161:32: warning: 'gboolean vte_terminal_spawn_sync(VteTerminal*, VtePtyFlags, const char*, char**, char**, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GPid*, GCancellable*, GError**)' is deprecated [-Wdeprecated-declarations] + 161 | vte_terminal_spawn_sync( + | ~~~~~~~~~~~~~~~~~~~~~~~^ + 162 | tTerm, + | ~~~~~~ + 163 | VTE_PTY_DEFAULT, + | ~~~~~~~~~~~~~~~~ + 164 | ED->session_dir(), + | ~~~~~~~~~~~~~~~~~~ + 165 | const_cast (argv), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ + 166 | NULL, // char **envv, + | ~~~~~~~~~~~~~~~~~~~~~ + 167 | (GSpawnFlags)G_SPAWN_DO_NOT_REAP_CHILD, // GSpawnFlags spawn_flags, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 168 | NULL, // GSpawnChildSetupFunc child_setup, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 169 | NULL, // gpointer child_setup_data, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 170 | &dl_pid, + | ~~~~~~~~ + 171 | NULL, + | ~~~~~ + 172 | &Error); // GError **error); + | ~~~~~~~ +In file included from /usr/include/vte-2.91/vte/vte.h:38, + from ui/mw/splash.cc:15: +/usr/include/vte-2.91/vte/vtedeprecated.h:91:10: note: declared here + 91 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal, + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/artifact-detection/3in1.hh:20, + from ui/sf/channel.cc:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/hypnogram.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from 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 +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/sf/sf.hh:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -9708,8 +10018,7 @@ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/construct.cc:14: + 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)); @@ -9720,197 +10029,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/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 -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/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: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 -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh: 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_, - | ^~~~~~ In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/artifact-detection/3in1.hh:21: @@ -9919,7 +10037,6 @@ 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -9930,11 +10047,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -9947,6 +10059,29 @@ 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) + | ^ +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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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.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_) @@ -9956,13 +10091,6 @@ 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^~~~~~~~~~ ../../src/aghermann/patterns/patterns.hh:119: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/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) | ^ @@ -9975,11 +10103,6 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/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] @@ -9991,11 +10114,34 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../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: 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( @@ -10008,14 +10154,17 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/ui/mw/mw.hh:27, - from ../../src/aghermann/ui/mf/mf.hh:16, - from ui/mw/mw.cc:26: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -10032,6 +10181,20 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh: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 In file included from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, from ../../src/aghermann/ui/mw/mw.hh:27, @@ -10046,11 +10209,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 | ^~~~~~~ -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/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -10112,160 +10275,13 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/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/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; \ - | ^ -../../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/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: -../../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/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; \ | ^ @@ -10278,13 +10294,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/common/config-validate.hh:24, - from 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/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -10301,11 +10310,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -10330,6 +10334,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/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_, | ^~~~~~ @@ -10345,92 +10354,12 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': -ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] - 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, - from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, - from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, - from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, - from /usr/include/gtk-3.0/gdk/gdk.h:32, - from /usr/include/gtk-3.0/gtk/gtk.h:30, - from ../../src/aghermann/ui/globals.hh:16, - from ../../src/aghermann/ui/misc.hh:18, - from ui/mw/mw.cc:24: -/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here - 1067 | void gdk_window_process_all_updates (void); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/mainmenu_cb.o ui/sf/mainmenu_cb.cc -../../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/hypnogram.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from 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, "/")); @@ -10441,13 +10370,6 @@ 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/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -10468,14 +10390,6 @@ ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ -In file included from ../../src/common/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/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: @@ -10485,11 +10399,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/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -10514,7 +10423,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -10591,214 +10499,41 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -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/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../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; - | ^~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage.o ui/sf/montage.cc -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/mainmenu_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ui/sf/sf.hh:22, - from ui/sf/ica_cb.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/hypnogram.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../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; \ @@ -10909,29 +10644,36 @@ ../../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_, | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage_cb.o ui/sf/montage_cb.cc ../../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/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) - | ^ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/mainmenu_cb.o ui/sf/mainmenu_cb.cc +In file included from ../../src/aghermann/ui/mw/mw.hh:27, + from ../../src/aghermann/ui/mf/mf.hh:16, + from ui/mw/mw.cc:26: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/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 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); @@ -10949,24 +10691,18 @@ 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, - from ui/sf/hypnogram_cb.cc:15: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from 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 '< >' +ui/sf/channel.cc: In member function 'std::__cxx11::list agh::ui::SScoringFacility::SChannel::in_annotations(double) const': +ui/sf/channel.cc:227:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 227 | return move(ret); + | ~~~~^~~~~ +ui/sf/channel.cc:227:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -10981,19 +10717,85 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': +ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] + 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, + from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, + from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, + from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, + from /usr/include/gtk-3.0/gdk/gdk.h:32, + from /usr/include/gtk-3.0/gtk/gtk.h:30, + from ../../src/aghermann/ui/globals.hh:16, + from ../../src/aghermann/ui/misc.hh:18, + from ui/mw/mw.cc:24: +/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here + 1067 | void gdk_window_process_all_updates (void); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.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: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage.o ui/sf/montage.cc +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/aghermann/patterns/patterns.hh:21, + from ui/sf/channel.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -11086,11 +10888,7 @@ 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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage_cb.o ui/sf/montage_cb.cc ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -11130,36 +10928,11 @@ 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/aghermann/patterns/patterns.hh:21, - from ui/sf/channel.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage-menus_cb.o ui/sf/montage-menus_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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/sf.o ui/sf/sf.cc +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_) | ^ @@ -11180,12 +10953,37 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/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 | ^~~~~~~ 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 | ^~~~~~~ @@ -11317,145 +11115,43 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/artifacts.o ui/sf/d/artifacts.cc ../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, | ^~~~~~~~~~ ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/montage-menus_cb.o ui/sf/montage-menus_cb.cc -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 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 '< >' -ui/sf/mainmenu_cb.cc: In function 'gboolean wSF_key_press_event_cb(GtkWidget*, const GdkEventKey*, gpointer)': -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:310:25: note: in expansion of macro 'KEKE' - 310 | case GDK_KEY_1: KEKE(1); - | ^~~~ -In file included from /usr/include/gtk-3.0/gdk/gdk.h:50, - from /usr/include/gtk-3.0/gtk/gtk.h:30, - from ../../src/aghermann/ui/ui.hh:20, - from ../../src/aghermann/ui/mw/mw.hh:28: -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:311:25: note: in expansion of macro 'KEKE' - 311 | case GDK_KEY_2: KEKE(2); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:312:25: note: in expansion of macro 'KEKE' - 312 | case GDK_KEY_3: KEKE(3); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:313:25: note: in expansion of macro 'KEKE' - 313 | case GDK_KEY_4: KEKE(4); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:314:25: note: in expansion of macro 'KEKE' - 314 | case GDK_KEY_5: KEKE(5); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] - 306 | gdk_beep(); \ - | ~~~~~~~~^~ -ui/sf/mainmenu_cb.cc:315:25: note: in expansion of macro 'KEKE' - 315 | case GDK_KEY_6: KEKE(6); - | ^~~~ -/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here - 121 | void gdk_beep (void); - | ^~~~~~~~ -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); - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/sf.o ui/sf/sf.cc +In file included from ui/sf/sf.hh:22, + from ui/sf/ica_cb.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage.cc:17: + 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)); @@ -11506,7 +11202,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/sf_cb.o ui/sf/sf_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, @@ -11528,16 +11223,24 @@ 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 + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.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/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; \ @@ -11649,14 +11352,42 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/artifacts_cb.o ui/sf/d/artifacts_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/filters.o ui/sf/d/filters.cc +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage-overlays.cc:17: + 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)); @@ -11667,41 +11398,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/artifacts.o ui/sf/d/artifacts.cc -In file included from ui/sf/channel.hh:28, - from ui/sf/montage.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/montage.cc:20: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -11758,6 +11454,17 @@ 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/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 ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -11772,7 +11479,7 @@ 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 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; \ @@ -11894,6 +11601,29 @@ 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.cc:18: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/montage_cb.cc:16: @@ -11907,9 +11637,43 @@ 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: +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/montage.cc:20: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/sf_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../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/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) @@ -11919,24 +11683,8 @@ 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-overlays.cc:18: + 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_) @@ -11945,13 +11693,6 @@ ../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^~~~~~~~~~ -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/aghermann/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) @@ -11965,43 +11706,96 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/artifacts.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage-menus_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +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 ../../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/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/common/config-validate.hh: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; \ @@ -12113,52 +11907,34 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage-menus_cb.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/montage_cb.cc:17: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns-profiles.o ui/sf/d/patterns-profiles.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/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12171,6 +11947,11 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -12199,27 +11980,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 -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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, @@ -12346,76 +12106,68 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../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-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_) +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:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/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/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/sf.cc:16: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/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/sf_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -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/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 In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12423,30 +12175,52 @@ ../../src/common/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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/artifacts.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a 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: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -12457,6 +12231,11 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -12469,6 +12248,101 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +ui/sf/mainmenu_cb.cc: In function 'gboolean wSF_key_press_event_cb(GtkWidget*, const GdkEventKey*, gpointer)': +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:310:25: note: in expansion of macro 'KEKE' + 310 | case GDK_KEY_1: KEKE(1); + | ^~~~ +In file included from /usr/include/gtk-3.0/gdk/gdk.h:50, + from /usr/include/gtk-3.0/gtk/gtk.h:30, + from ../../src/aghermann/ui/ui.hh:20, + from ../../src/aghermann/ui/mw/mw.hh:28: +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:311:25: note: in expansion of macro 'KEKE' + 311 | case GDK_KEY_2: KEKE(2); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:312:25: note: in expansion of macro 'KEKE' + 312 | case GDK_KEY_3: KEKE(3); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:313:25: note: in expansion of macro 'KEKE' + 313 | case GDK_KEY_4: KEKE(4); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:314:25: note: in expansion of macro 'KEKE' + 314 | case GDK_KEY_5: KEKE(5); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +ui/sf/mainmenu_cb.cc:306:25: warning: 'void gdk_beep()' is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] + 306 | gdk_beep(); \ + | ~~~~~~~~^~ +ui/sf/mainmenu_cb.cc:315:25: note: in expansion of macro 'KEKE' + 315 | case GDK_KEY_6: KEKE(6); + | ^~~~ +/usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here + 121 | void gdk_beep (void); + | ^~~~~~~~ +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); + | ^~~~~~~~ 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, @@ -12485,24 +12359,43 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, +In file included from ../../src/libsigfile/source-base.hh:19, 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 + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -12575,6 +12468,11 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -12642,18 +12540,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/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 @@ -12670,7 +12556,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/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; \ @@ -12782,89 +12668,36 @@ 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/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/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../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); @@ -12982,12 +12815,132 @@ 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/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: +../../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/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/common/lang.hh:63:11: 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)); @@ -12998,9 +12951,103 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/artifacts_cb.o ui/sf/d/artifacts_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/filters-construct.o ui/sf/d/filters-construct.cc +In file included from ui/sf/channel.hh:28, + from ui/sf/montage_cb.cc:17: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../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/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.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/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/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary 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 '< >' +In file included from ui/sf/channel.hh:28, + from ui/sf/montage-overlays.cc:18: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25, @@ -13026,44 +13073,77 @@ | ~~~~^ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_cb.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/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: +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/aghermann/ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/montage-menus_cb.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169: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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -13074,13 +13154,7 @@ 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 '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_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)); } @@ -13109,46 +13183,7 @@ 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/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/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 '< >' -In file included 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/artifacts.hh:20: +../../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 | ^~~~~~~ @@ -13164,7 +13199,7 @@ 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; \ @@ -13184,13 +13219,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -ui/sf/sf.cc: In member function 'void agh::ui::SScoringFacility::load_montage()': -ui/sf/sf.cc:743:44: warning: catching polymorphic type 'class libconfig::ParseException' by value [-Wcatch-value=] - 743 | } catch (libconfig::ParseException ex) { - | ^~ -ui/sf/sf.cc:748:45: warning: catching polymorphic type 'class libconfig::FileIOException' by value [-Wcatch-value=] - 748 | } catch (libconfig::FileIOException ex) { - | ^~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -13294,20 +13322,35 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/sf.cc:27: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +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/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_cb.cc +ui/sf/sf.cc: In member function 'void agh::ui::SScoringFacility::load_montage()': +ui/sf/sf.cc:743:44: warning: catching polymorphic type 'class libconfig::ParseException' by value [-Wcatch-value=] + 743 | } catch (libconfig::ParseException ex) { + | ^~ +ui/sf/sf.cc:748:45: warning: catching polymorphic type 'class libconfig::FileIOException' by value [-Wcatch-value=] + 748 | } catch (libconfig::FileIOException ex) { + | ^~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc 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: @@ -13322,8 +13365,7 @@ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/filters.cc:13: + 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)); @@ -13334,10 +13376,25 @@ 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: +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:25: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/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) | ^ @@ -13345,6 +13402,47 @@ ../../src/common/alg.hh:169:20: warning: moving a local object 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: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a 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/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/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -13352,17 +13450,29 @@ ../../src/common/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/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 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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object 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: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] @@ -13385,7 +13495,10 @@ ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ -In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/aghermann/patterns/patterns.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); @@ -13400,7 +13513,6 @@ ../../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/sigproc.hh:93:23: note: remove the '< >' ../../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] @@ -13414,58 +13526,35 @@ 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/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 +../../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, - 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; \ @@ -13509,10 +13598,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -13525,13 +13610,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../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; \ | ^ @@ -13560,19 +13638,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113: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/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: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -13591,17 +13656,69 @@ ../../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 '< >' +../../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 +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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh: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; \ @@ -13609,10 +13726,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:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -13705,94 +13818,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: 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/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/artifacts_cb.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -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)); - | ~~~~^~~~~~~~~~~~~~~~~~ -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns-draw.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from 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/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: @@ -13804,31 +13834,16 @@ ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/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 In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ -In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh:326: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); @@ -13839,7 +13854,6 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345: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); @@ -13873,39 +13887,12 @@ ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc -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); - | ~~~~^~~~~ -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/alg.hh:169:20: 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, @@ -13922,11 +13909,8 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -13939,152 +13923,34 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh: 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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/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/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/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/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/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/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/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; \ @@ -14098,7 +13964,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh: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; \ | ^ @@ -14141,11 +14006,12 @@ 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); +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:369:20: note: remove 'std::move' call +../../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; \ | ^ @@ -14164,21 +14030,21 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: 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/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -14191,6 +14057,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_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; \ | ^ @@ -14207,6 +14078,12 @@ 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: 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( @@ -14214,38 +14091,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 '< >' ../../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, +../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc +In file included from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/artifacts.hh:20: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -14261,8 +14121,7 @@ 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; \ @@ -14318,6 +14177,17 @@ 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/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -14330,6 +14200,11 @@ ../../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::string agh::fs::dirname(const std::string&)': +../../src/common/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:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14386,7 +14261,8 @@ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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/sf/channel.hh:22: + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns-draw.cc:13: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -14397,43 +14273,8 @@ 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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.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/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns-draw.cc:14: + from ui/sf/d/artifacts_cb.cc:14: ../../src/aghermann/patterns/patterns.hh: At global scope: ../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) @@ -14455,78 +14296,21 @@ 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/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/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns_cb.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh:369: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/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/string.hh:71: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 '< >' -../../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/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; \ @@ -14638,11 +14422,40 @@ 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 +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 +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/d/artifacts_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/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: @@ -14656,8 +14469,12 @@ 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-draw.cc:15: +../../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&, | ^~~~~~~~~~ @@ -14718,6 +14535,7 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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)); } @@ -14849,11 +14667,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/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -14894,29 +14707,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns_cb.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -14933,6 +14723,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -15064,35 +14859,10 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns.cc:14: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from 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/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/rk1968.o ui/sf/d/rk1968.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_cb.cc In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns-profiles.cc:16: + 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_) @@ -15114,83 +14884,21 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mf/construct.o ui/mf/construct.cc In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/patterns-profiles_cb.cc:15: + from ui/sf/d/phasediff-construct.cc:13: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/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 ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns-profiles.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +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_) | ^ @@ -15211,151 +14919,35 @@ 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/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 '< >' -../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc -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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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/d/patterns.hh:16, - from ui/sf/d/patterns-profiles_cb.cc:19: -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: + from ui/sf/d/patterns-draw.cc:15: ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, | ^~~~~~~~~~ ../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/phasediff.cc:15: + from ui/sf/d/patterns_cb.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mf/mf.o ui/mf/mf.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -15366,17 +14958,18 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/misc.o ui/misc.cc +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns-profiles.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/phasediff-construct.cc:13: + 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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mf/construct.o ui/mf/construct.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: @@ -15389,6 +14982,11 @@ 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] @@ -15400,6 +14998,7 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/ui++.o ui/ui++.cc ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); @@ -15417,21 +15016,20 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/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 ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/ui/sf/channel.hh:25: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -15448,40 +15046,26 @@ 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/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/d/phasediff.cc:13: +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; \ @@ -15593,43 +15177,26 @@ 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/ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh: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: +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/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); @@ -15656,31 +15223,36 @@ ../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mf/mf.o ui/mf/mf.cc ../../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(); - | ^~~~ -../../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 +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: + 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, "/")); @@ -15691,22 +15263,21 @@ 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:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/ui/sf/channel.hh:30: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../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 ../../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; \ @@ -15818,11 +15389,45 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/patterns_cb.cc:16: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/aghermann/patterns/patterns.hh:21, from ../../src/aghermann/ui/sf/channel.hh:28: @@ -15853,34 +15458,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^ @@ -15901,15 +15478,9 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/ui/sf/channel.hh:30: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); @@ -15971,11 +15542,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -16032,17 +15598,12 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/ui.o ui/ui.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/expdesign/dirlevel.hh:23, from ../../src/aghermann/rk1968/rk1968.hh:22, @@ -16058,21 +15619,12 @@ 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_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns_cb.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/aghermann/rk1968/rk1968.hh:23: ../../src/common/alg.hh: At global scope: @@ -16100,7 +15652,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/mf/mf_cb.o ui/mf/mf_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( @@ -16115,6 +15666,19 @@ ../../src/libsigproc/sigproc.hh:93: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/d/phasediff.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/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)': @@ -16127,8 +15691,24 @@ 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_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) @@ -16161,11 +15741,34 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +In file included from ../../src/aghermann/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/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -16206,19 +15809,40 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/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 +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 '< >' +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, @@ -16230,31 +15854,28 @@ 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_cb.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigproc/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 @@ -16271,7 +15892,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ui/sf/d/phasediff.cc:13: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -16379,10 +16000,25 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/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/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -16394,121 +16030,28 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/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; \ @@ -16620,6 +16163,12 @@ 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)); @@ -16642,7 +16191,22 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/globals.o ui/globals.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/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( '/'))); } @@ -16669,12 +16233,6 @@ 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 ui/mf/mf.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ In file included from ../../src/libsigfile/page.hh:20, from ui/sf/d/rk1968.hh:15: ../../src/libsigproc/ext-filters.hh: At global scope: @@ -16772,10 +16330,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -16788,7 +16342,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/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_, | ^~~~~~ @@ -16804,40 +16357,63 @@ 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, +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 ../../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/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 + from ui/mf/mf.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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 In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff_cb.cc:15: + 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/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:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) | ^~~~~~~~~~ @@ -16850,10 +16426,47 @@ 135 | explicit SPattern (SPattern&& rv) | ^~~~~~~~~~~ ../../src/aghermann/patterns/patterns.hh:135:31: 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/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/common/string.hh: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/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/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, @@ -16868,15 +16481,50 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::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 +../../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/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/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, @@ -16884,18 +16532,18 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../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; \ @@ -17010,11 +16658,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 | ^~~~~~~ -../../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/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -17023,9 +16666,7 @@ 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/beersma.hh:21, - from ui/mf/mf_cb.cc:15: +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) | ^ @@ -17034,11 +16675,6 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../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 @@ -17046,7 +16682,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 | ^~~~~~~ @@ -17055,8 +16691,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/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; \ @@ -17179,20 +16814,97 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/aghermann/rk1968/rk1968.hh:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +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_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:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/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/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../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, "/")); @@ -17203,19 +16915,6 @@ 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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/misc.o ui/misc.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/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/ui++.o ui/ui++.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/ui.o ui/ui.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, @@ -17233,11 +16932,42 @@ 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/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call ../../src/libmetrics/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 @@ -17245,16 +16975,91 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +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; \ + | ^ +../../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/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:19: +../../src/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); + | ^~~~~~~~~~~~~~~~~~~~~~ +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; \ @@ -17268,6 +17073,16 @@ ../../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/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -17292,6 +17107,18 @@ ../../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); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../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; \ | ^ @@ -17304,12 +17131,28 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/libmetrics/mc.hh:17, from ../../src/libmetrics/all.hh:17: ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -17366,6 +17209,11 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -17382,6 +17230,203 @@ 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/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:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../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/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../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 '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -17527,11 +17572,6 @@ 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, @@ -17563,12 +17603,11 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../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, @@ -17607,16 +17646,13 @@ 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: -../../src/common/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/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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lcairo -lvte-2.91 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lconfig++ -lfftw3_omp -lpthread -fopenmp -llua5.1 +In file included from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-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! @@ -17647,6 +17683,32 @@ 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 agh-profile-gen.cc:22: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/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) + | ^ 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] @@ -17657,6 +17719,11 @@ 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] @@ -17685,29 +17752,8 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from agh-profile-gen.cc:22: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/edf.hh:26, - from edfcat.cc:23: + from agh-profile-gen.cc:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -17733,60 +17779,10 @@ 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 ../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 -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 In file included from ../../src/common/fs.hh:22, - from agh-profile-gen.cc:23: + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/edf.hh:26, + from edfcat.cc:23: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -17807,13 +17803,13 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/typed-source.hh:16, + from agh-profile-gen.cc:25: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from agh-profile-gen.cc:25: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -17824,11 +17820,27 @@ ../../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: At global scope: +../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ +../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call ../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': ../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +edfhed.cc: In function 'int main(int, char**)': +edfhed.cc:418:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 418 | } catch (invalid_argument ex) { + | ^~ +edfhed.cc:421:39: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] + 421 | } catch (out_of_range ex) { + | ^~ In file included from ../../src/libmetrics/psd.hh:25, from ../../src/libmetrics/all.hh:16, from agh-profile-gen.cc:26: @@ -17839,6 +17851,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 | ^~~~~~~ +edfcat.cc: At global scope: +edfcat.cc:57:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 57 | void figure_timepoints( const list&) throw (invalid_argument); + | ^~~~~ +edfcat.cc:58:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 58 | void figure_channels( const list&) throw (invalid_argument); + | ^~~~~ ../../src/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); @@ -17956,6 +17975,12 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +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) + | ^~~~~ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -17967,13 +17992,25 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -edfhed.cc: In function 'int main(int, char**)': -edfhed.cc:418:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 418 | } catch (invalid_argument ex) { - | ^~ -edfhed.cc:421:39: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] - 421 | } catch (out_of_range ex) { - | ^~ +edfcat.cc:79:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 79 | parse_op( int argc, const char* argv[]) throw (invalid_argument) + | ^~~~~ +edfcat.cc:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 139 | figure_timepoints( const list& argv) throw (invalid_argument) + | ^~~~~ +edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 170 | figure_channels( const list& argv) throw (invalid_argument) + | ^~~~~ +In file included from ../aghermann/ui/ui.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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 -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 -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/edf.hh:26, from edfhed-gtk.cc:15: @@ -18021,7 +18058,6 @@ 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread edfhed-gtk.cc: In function 'int main(int, char**)': edfhed-gtk.cc:164:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] 164 | } catch (invalid_argument ex) { @@ -18032,6 +18068,10 @@ 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 -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -fopenmp -Wl,-rpath -Wl,/usr/lib/i386-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", | ^~~~ @@ -18062,25 +18102,14 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ - -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 -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -fopenmp -Wl,-rpath -Wl,/usr/lib/i386-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 -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-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 -Wformat -Werror=format-security -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/i386-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: libsigfile.so is not portable! - -libtool: warning: Linking the executable edfcat against the loadable module -libtool: warning: libsigproc.so is not portable! -libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/i386-linux-gnu/aghermann +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-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 -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lfftw3_omp -lpthread libtool: warning: Linking the executable edfhed against the loadable module libtool: warning: libsigfile.so is not portable! libtool: warning: Linking the executable edfhed against the loadable module +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread 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 -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/i386-linux-gnu/aghermann @@ -18090,6 +18119,13 @@ libtool: warning: Linking the executable edfhed-gtk against the loadable module libtool: warning: libsigproc.so is not portable! libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-linux-gnu/aghermann + +libtool: warning: Linking the executable edfcat against the loadable module +libtool: warning: libsigfile.so is not portable! + +libtool: warning: Linking the executable edfcat against the loadable module +libtool: warning: libsigproc.so is not portable! +libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -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/i386-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/i386-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'. @@ -18121,7 +18157,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 -j11 check "TESTSUITEFLAGS=-j11 --verbose" VERBOSE=1 + make -j21 check "TESTSUITEFLAGS=-j21 --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' @@ -18199,7 +18235,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/i386-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/i386-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/i386-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libsigproc.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/i386-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/i386-linux-gnu/aghermann/libsigproc.la libtool: warning: remember to run 'libtool --finish /usr/lib/i386-linux-gnu/aghermann' @@ -18210,7 +18246,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/i386-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/i386-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/i386-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libsigfile.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/i386-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/i386-linux-gnu/aghermann/libsigfile.la libtool: warning: remember to run 'libtool --finish /usr/lib/i386-linux-gnu/aghermann' @@ -18220,7 +18256,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/i386-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/i386-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/i386-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libmetrics.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/i386-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/i386-linux-gnu/aghermann/libmetrics.la libtool: warning: remember to run 'libtool --finish /usr/lib/i386-linux-gnu/aghermann' @@ -18231,7 +18267,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/i386-linux-gnu/aghermann' libtool: warning: '../libsigproc/libsigproc.la' has not been installed in '/usr/lib/i386-linux-gnu/aghermann' libtool: warning: '../libsigfile/libsigfile.la' has not been installed in '/usr/lib/i386-linux-gnu/aghermann' @@ -18247,7 +18283,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/i386-linux-gnu/aghermann' libtool: warning: '../libsigproc/libsigproc.la' has not been installed in '/usr/lib/i386-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/edfcat /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin/edfcat @@ -18339,25 +18375,25 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/i386-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_eval: it's probably a plugin +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/i386-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_free: it's probably a plugin dpkg-shlibdeps: warning: 7 other similar warnings have been skipped (use -v to see them all) -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/i386-linux-gnu/aghermann/libmetrics.so contains an unresolvable reference to symbol _ZN7sigproc6smoothIfEEvRSt8valarrayIT_Ej: 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/i386-linux-gnu/aghermann/libmetrics.so contains an unresolvable reference to symbol _ZN7sigproc4winfE: 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/i386-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol _ZN7exstrom9band_stopIfEESt8valarrayIT_ERKS3_jffjb: it's probably a plugin +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/i386-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol sj_env: 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) +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) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'aghermann' in '../aghermann_1.1.2-5_i386.deb'. dpkg-deb: building package 'aghermann-dbgsym' in '../aghermann-dbgsym_1.1.2-5_i386.deb'. +dpkg-deb: building package 'aghermann' in '../aghermann_1.1.2-5_i386.deb'. dpkg-genbuildinfo --build=binary -O../aghermann_1.1.2-5_i386.buildinfo dpkg-genchanges --build=binary -O../aghermann_1.1.2-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -18365,12 +18401,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/118031/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/118031/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/49539 and its subdirectories -I: Current time: Fri Mar 7 23:04:06 -12 2025 -I: pbuilder-time-stamp: 1741431846 +I: removing directory /srv/workspace/pbuilder/118031 and its subdirectories +I: Current time: Sat Apr 11 07:29:08 +14 2026 +I: pbuilder-time-stamp: 1775842148