Diff of the two buildlogs: -- --- b1/build.log 2025-08-03 20:37:23.501729483 +0000 +++ b2/build.log 2025-08-03 20:42:00.926081759 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 3 08:35:19 -12 2025 -I: pbuilder-time-stamp: 1754253319 +I: Current time: Sun Sep 6 17:00:26 +14 2026 +I: pbuilder-time-stamp: 1788663626 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying gcc-13.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/494283/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/331300/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 6 03:00 /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/331300/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/331300/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='60c96417c6144adc94dbe32ce829af0b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='494283' - PS1='# ' - PS2='> ' + INVOCATION_ID=b03a92c75aae442f9cb73f7bba92c292 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=331300 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.NId0QtLU/pbuilderrc_YK7M --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NId0QtLU/b1 --logfile b1/build.log aghermann_1.1.2-5.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NId0QtLU/pbuilderrc_prEn --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NId0QtLU/b2 --logfile b2/build.log aghermann_1.1.2-5.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/494283/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/331300/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -470,7 +502,7 @@ Get: 338 http://deb.debian.org/debian trixie/main arm64 libvte-2.91-dev arm64 0.80.1-1 [62.0 kB] Get: 339 http://deb.debian.org/debian trixie/main arm64 libxml2-utils arm64 2.12.7+dfsg+really2.9.14-2.1 [98.6 kB] Get: 340 http://deb.debian.org/debian trixie/main arm64 lua5.1 arm64 5.1.5-11 [96.7 kB] -Fetched 148 MB in 1s (188 MB/s) +Fetched 148 MB in 1s (150 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:arm64. (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 ... 19965 files and directories currently installed.) @@ -1576,8 +1608,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Aug 3 20:35:55 UTC 2025. -Universal Time is now: Sun Aug 3 20:35:55 UTC 2025. +Local time is now: Sun Sep 6 03:01:47 UTC 2026. +Universal Time is now: Sun Sep 6 03:01:47 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:arm64 (1.17.0-2+b1) ... @@ -1884,7 +1916,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/331300/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/331300/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 @@ -2172,11 +2208,6 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call -In file included from libcommon.cc:25: -alg.hh: At global scope: -alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ In file included from 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] @@ -2188,6 +2219,11 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ string.hh:71:20: note: remove 'std::move' call +In file included from libcommon.cc:25: +alg.hh: At global scope: +alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -2272,14 +2308,14 @@ make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/common' Making all in libsigproc make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o exstrom.lo exstrom.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ext-filters.lo ext-filters.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o sigproc.lo sigproc.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o winfun.lo winfun.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c ext-filters.cc -fPIC -DPIC -o .libs/ext-filters.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c sigproc.cc -fPIC -DPIC -o .libs/sigproc.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o exstrom.lo exstrom.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ext-filters.lo ext-filters.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o sigproc.lo sigproc.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o winfun.lo winfun.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c exstrom.cc -fPIC -DPIC -o .libs/exstrom.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c winfun.cc -fPIC -DPIC -o .libs/winfun.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c sigproc.cc -fPIC -DPIC -o .libs/sigproc.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c ext-filters.cc -fPIC -DPIC -o .libs/ext-filters.o In file included from exstrom.cc:12: exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -2464,27 +2500,27 @@ 230 | return move( interpolate( xi, in.samplerate, y, 1./in.samplerate)); | ^ sigproc.ii:230:77: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -avoid-version -rpath /usr/lib/aarch64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/aarch64-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -avoid-version -rpath /usr/lib/aarch64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigproc.la -rpath /usr/lib/aarch64-linux-gnu/aghermann exstrom.lo ext-filters.lo sigproc.lo winfun.lo -lsamplerate libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o .libs/exstrom.o .libs/ext-filters.o .libs/sigproc.o .libs/winfun.o -lsamplerate -L/usr/lib/gcc/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigproc.so -o .libs/libsigproc.so libtool: link: ( cd ".libs" && rm -f "libsigproc.la" && ln -s "../libsigproc.la" "libsigproc.la" ) make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigproc' Making all in libsigfile make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o channel.lo channel.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o source-base.lo source-base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o typed-source.lo typed-source.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o edf.lo edf.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o edf-io.lo edf-io.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o tsv.lo tsv.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o page.lo page.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c source-base.cc -fPIC -DPIC -o .libs/source-base.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c page.cc -fPIC -DPIC -o .libs/page.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o channel.lo channel.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o source-base.lo source-base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o typed-source.lo typed-source.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o edf.lo edf.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o edf-io.lo edf-io.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o tsv.lo tsv.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o page.lo page.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c edf.cc -fPIC -DPIC -o .libs/edf.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c channel.cc -fPIC -DPIC -o .libs/channel.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c edf-io.cc -fPIC -DPIC -o .libs/edf-io.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c page.cc -fPIC -DPIC -o .libs/page.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c source-base.cc -fPIC -DPIC -o .libs/source-base.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c typed-source.cc -fPIC -DPIC -o .libs/typed-source.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c edf-io.cc -fPIC -DPIC -o .libs/edf-io.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c tsv.cc -fPIC -DPIC -o .libs/tsv.o -In file included from edf-io.cc:12: +In file included from channel.cc:16: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2495,7 +2531,7 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from channel.cc:16: +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)); @@ -2506,7 +2542,58 @@ 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: +In file included from source-base.cc:15: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from source-base.cc:16: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from source-base.hh:19, + from source-base.cc:17: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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 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)); @@ -2517,18 +2604,23 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from tsv.cc:23: +In file included from edf-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)); | ~~~~^~~~~~~~~~~~~~~~~~ +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/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from edf.cc:25: +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)); @@ -2550,16 +2642,11 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from source-base.cc:15: -../../src/common/alg.hh: At global scope: +In file included from source-base.hh:18, + from page.cc:21: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/common/fs.hh:22, from source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -2571,84 +2658,45 @@ ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from source-base.hh:18, - from 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: + from edf.hh:26, + from edf.cc:26: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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 -In file included from ../../src/libsigproc/sigproc.hh:28, - from source-base.cc:16: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, 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 source-base.hh:19: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': @@ -2661,101 +2709,28 @@ 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 ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object 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 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) - | ^ In file included from source-base.hh:18, from edf.hh:26, - from edf.cc: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: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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh: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 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/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../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 -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call -source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -source-base.hh:297:30: note: remove 'std::move' call 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)); } @@ -2765,32 +2740,36 @@ edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 396 | char* _get_next_field( char**, size_t) throw (TStatus); | ^~~~~ -edf.hh: At global scope: -edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ -In file included from source-base.hh:19, - from tsv.hh:28: +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +edf.hh:94:30: note: remove 'std::move' call +In file included from source-base.hh:19: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object 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:94:30: note: remove 'std::move' call source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source-base.hh:297:30: note: remove 'std::move' call +edf.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) + | ^~~~~ 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] @@ -2801,21 +2780,19 @@ 94 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ edf.hh:94:30: note: remove 'std::move' call -edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -edf.hh:94:30: note: remove 'std::move' call source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source-base.hh:297:30: note: remove 'std::move' call -edf-io.cc: In member function 'virtual std::valarray sigfile::CEDFFile::get_region_original_smpl(int, size_t, size_t) const': -edf-io.cc:61:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 61 | return move(recp); - | ~~~~^~~~~~ -edf-io.cc:61:20: note: remove 'std::move' call +edf.cc: In member function 'int sigfile::CEDFFile::_parse_header()': +edf.cc:618:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 618 | } catch (invalid_argument ex) { + | ^~ +edf.hh: At global scope: +edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 396 | char* _get_next_field( char**, size_t) throw (TStatus); + | ^~~~~ In file included from ../../src/libsigproc/sigproc.hh:28, from tsv.hh:26, from typed-source.cc:15: @@ -2834,6 +2811,28 @@ 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 '< >' +edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': +edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 94 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +edf.hh:94:30: note: remove 'std::move' call +edf-io.cc: In member function 'virtual std::valarray sigfile::CEDFFile::get_region_original_smpl(int, size_t, size_t) const': +edf-io.cc:61:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 61 | return move(recp); + | ~~~~^~~~~~ +edf-io.cc:61:20: note: remove 'std::move' call 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; @@ -2848,24 +2847,12 @@ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call page.cc:51:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 51 | mem_fun_ref (&SPage::is_rem)) / _pages.size() * 100; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' page.cc:55:37: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = sigfile::SPage]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 55 | mem_fun_ref (&SPage::is_wake)) / _pages.size() * 100; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ @@ -2878,35 +2865,10 @@ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ -edf.cc: At global scope: -edf.cc:431:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 431 | _get_next_field( char **field, const size_t fld_size) throw (TStatus) - | ^~~~~ -edf.cc: In member function 'int sigfile::CEDFFile::_parse_header()': -edf.cc:618:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 618 | } catch (invalid_argument ex) { - | ^~ -edf.cc: In constructor 'sigfile::CEDFFile::CEDFFile(const std::string&, TSubtype, int, const std::__cxx11::list >&, size_t, size_t, agh::log::CLogFacility*)': -edf.cc:234:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 234 | strncpy( header.version_number, version_string, 8); - | ^ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -avoid-version -rpath /usr/lib/aarch64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigfile.la -rpath /usr/lib/aarch64-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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigfile.so -o .libs/libsigfile.so -libtool: link: ( cd ".libs" && rm -f "libsigfile.la" && ln -s "../libsigfile.la" "libsigfile.la" ) -make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' -Making all in libmetrics -make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o page-metrics-base.lo page-metrics-base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o psd.lo psd.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o swu.lo swu.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mc.lo mc.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mc-artifacts.lo mc-artifacts.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c page-metrics-base.cc -fPIC -DPIC -o .libs/page-metrics-base.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c swu.cc -fPIC -DPIC -o .libs/swu.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c psd.cc -fPIC -DPIC -o .libs/psd.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c mc.cc -fPIC -DPIC -o .libs/mc.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c mc-artifacts.cc -fPIC -DPIC -o .libs/mc-artifacts.o -In file included from mc-artifacts.cc:16: +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) | ^ @@ -2915,18 +2877,36 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from swu.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary 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 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, "/")); @@ -2937,8 +2917,33 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +source-base.hh:297:30: note: remove 'std::move' call +edf.cc: In constructor 'sigfile::CEDFFile::CEDFFile(const std::string&, TSubtype, int, const std::__cxx11::list >&, size_t, size_t, agh::log::CLogFacility*)': +edf.cc:234:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 234 | strncpy( header.version_number, version_string, 8); + | ^ +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -avoid-version -rpath /usr/lib/aarch64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libsigfile.la -rpath /usr/lib/aarch64-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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsigfile.so -o .libs/libsigfile.so +libtool: link: ( cd ".libs" && rm -f "libsigfile.la" && ln -s "../libsigfile.la" "libsigfile.la" ) +make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/libsigfile' +Making all in libmetrics +make[5]: Entering directory '/build/reproducible-path/aghermann-1.1.2/src/libmetrics' +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o page-metrics-base.lo page-metrics-base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o psd.lo psd.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o swu.lo swu.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mc.lo mc.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mc-artifacts.lo mc-artifacts.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c page-metrics-base.cc -fPIC -DPIC -o .libs/page-metrics-base.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c psd.cc -fPIC -DPIC -o .libs/psd.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c mc-artifacts.cc -fPIC -DPIC -o .libs/mc-artifacts.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c swu.cc -fPIC -DPIC -o .libs/swu.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c mc.cc -fPIC -DPIC -o .libs/mc.o In file included from ../../src/common/fs.hh:22, - from psd.cc:26: + from swu.cc:17: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -2959,6 +2964,101 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from swu.cc:18: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../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 mc-artifacts.cc:16: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/typed-source.hh:16, + from swu.cc:19: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +swu.cc: In member function 'virtual std::string metrics::swu::CProfile::fname_base() const': +swu.cc:53:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 53 | return move( + | ~~~~^ + 54 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 55 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 56 | ":%g+%g-%g", + | ~~~~~~~~~~~~ + 57 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 58 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 59 | pagesize, step, min_upswing_duration)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +swu.cc:53:20: note: remove 'std::move' call +swu.cc: In member function 'virtual std::string metrics::swu::CProfile::mirror_fname() const': +swu.cc:67:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 67 | return move( + | ~~~~^ + 68 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 69 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 70 | ":%g+%g-%g@%zu" + | ~~~~~~~~~~~~~~~ + 71 | ".swu", + | ~~~~~~~ + 72 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | pagesize, step, min_upswing_duration, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | sizeof(TFloat))); + | ~~~~~~~~~~~~~~~~ +swu.cc:67:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from mc-artifacts.cc:17: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': @@ -3099,118 +3199,102 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from swu.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from psd.cc:27: -../../src/common/alg.hh: At global scope: +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/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from page-metrics-base.hh:21, + from mc.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from page-metrics-base.cc:22: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from page-metrics-base.cc:22: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, from mc.cc:14: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object 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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary 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/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call 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)': @@ -3228,124 +3312,72 @@ 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from psd.cc:28: +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 ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from swu.cc:19: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from psd.hh:25, - from psd.cc:29: -page-metrics-base.hh: At global scope: -page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -psd.hh:152:36: note: remove 'std::move' call -psd.cc: In member function 'virtual std::string metrics::psd::CProfile::fname_base() const': -psd.cc:85:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 85 | return move( - | ~~~~^ - 86 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 87 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 88 | ":%g+%g-%g-%c%c", - | ~~~~~~~~~~~~~~~~~ - 89 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 90 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 91 | pagesize, step, binsize, - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 92 | 'a'+(char)welch_window_type, 'a'+(char)plan_type) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 93 | ); - | ~ -psd.cc:85:20: note: remove 'std::move' call -psd.cc: In member function 'virtual std::string metrics::psd::CProfile::mirror_fname() const': -psd.cc:102:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 102 | return move( - | ~~~~^ - 103 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 104 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 105 | ":%g+%g-%g-%c%c@%zu" - | ~~~~~~~~~~~~~~~~~~~~ - 106 | ".psd", - | ~~~~~~~ - 107 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 108 | _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 109 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 110 | pagesize, step, binsize, - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 111 | 'a'+(char)welch_window_type, 'a'+(char)plan_type, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 112 | sizeof(double)) - | ~~~~~~~~~~~~~~~ - 113 | ); - | ~ -psd.cc:102:20: note: remove 'std::move' call -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( +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( | ~~~~^ - 54 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 55 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 56 | ":%g+%g-%g", - | ~~~~~~~~~~~~ - 57 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 58 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 59 | pagesize, step, min_upswing_duration)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -swu.cc:53:20: note: remove 'std::move' call + 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 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] @@ -3402,29 +3434,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -swu.cc: In member function 'virtual std::string metrics::swu::CProfile::mirror_fname() const': -swu.cc:67:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 67 | return move( - | ~~~~^ - 68 | agh::str::sasprintf( - | ~~~~~~~~~~~~~~~~~~~~ - 69 | "%s.%s-%lu" - | ~~~~~~~~~~~ - 70 | ":%g+%g-%g@%zu" - | ~~~~~~~~~~~~~~~ - 71 | ".swu", - | ~~~~~~~ - 72 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | _using_F().channel_by_id(_using_sig_no).custom_name(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | _using_F().dirty_signature( _using_sig_no), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | pagesize, step, min_upswing_duration, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | sizeof(TFloat))); - | ~~~~~~~~~~~~~~~~ -swu.cc:67:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -3540,49 +3549,76 @@ 92 | sizeof(TFloat))); | ~~~~~~~~~~~~~~~~ mc.cc:79:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from page-metrics-base.hh:21, - from mc.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/typed-source.hh:16, + from psd.cc:28: ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from psd.hh:25, + from psd.cc:29: page-metrics-base.hh: At global scope: page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const +psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const | ^~~~~~~ -mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mc.hh:157:36: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -avoid-version -rpath /usr/lib/aarch64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/aarch64-linux-gnu/aghermann page-metrics-base.lo psd.lo swu.lo mc.lo mc-artifacts.lo +psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +psd.hh:152:36: note: remove 'std::move' call +psd.cc: In member function 'virtual std::string metrics::psd::CProfile::fname_base() const': +psd.cc:85:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 85 | return move( + | ~~~~^ + 86 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 87 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 88 | ":%g+%g-%g-%c%c", + | ~~~~~~~~~~~~~~~~~ + 89 | _using_F().filename(), _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 90 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 91 | pagesize, step, binsize, + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 92 | 'a'+(char)welch_window_type, 'a'+(char)plan_type) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 93 | ); + | ~ +psd.cc:85:20: note: remove 'std::move' call +psd.cc: In member function 'virtual std::string metrics::psd::CProfile::mirror_fname() const': +psd.cc:102:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 102 | return move( + | ~~~~^ + 103 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 104 | "%s.%s-%lu" + | ~~~~~~~~~~~ + 105 | ":%g+%g-%g-%c%c@%zu" + | ~~~~~~~~~~~~~~~~~~~~ + 106 | ".psd", + | ~~~~~~~ + 107 | agh::fs::make_fname_base (_using_F().filename(), "", agh::fs::TMakeFnameOption::hidden).c_str(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 108 | _using_F().channel_by_id(_using_sig_no).custom_name(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 109 | _using_F().dirty_signature( _using_sig_no), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 110 | pagesize, step, binsize, + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 111 | 'a'+(char)welch_window_type, 'a'+(char)plan_type, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 112 | sizeof(double)) + | ~~~~~~~~~~~~~~~ + 113 | ); + | ~ +psd.cc:102:20: note: remove 'std::move' call +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -shared -fPIC -fopenmp -I../../src -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -avoid-version -rpath /usr/lib/aarch64-linux-gnu/aghermann -shared -module -Wl,-z,relro -Wl,-z,now -o libmetrics.la -rpath /usr/lib/aarch64-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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -Werror=format-security -mbranch-protection=standard -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' @@ -3611,6 +3647,29 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o model/ultradian-cycle.o model/ultradian-cycle.cc +In file included from expdesign/dirlevel.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from expdesign/dirlevel.cc:18: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from expdesign/recording.cc:15: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] @@ -3637,6 +3696,12 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/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/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -3649,45 +3714,6 @@ 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 expdesign/expdesign.cc:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from expdesign/dirlevel.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o model/ultradian-cycle.o model/ultradian-cycle.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, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object 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); @@ -3696,9 +3722,7 @@ In file included from ../../src/common/fs.hh:22, from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/beersma.hh:21, - from expdesign/recording.cc:17: + from ../../src/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)); @@ -3719,34 +3743,11 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from model/achermann.hh:23, - from model/achermann.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/recording.hh:18, - from model/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 ../../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 @@ -3754,7 +3755,7 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -3762,8 +3763,13 @@ ../../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 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/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:26: +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; \ @@ -3818,7 +3824,22 @@ ../../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_, | ^~~~~~ +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/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; \ | ^ @@ -3831,12 +3852,18 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -3853,6 +3880,11 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -3875,12 +3907,11 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from 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/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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 | ^~~~~~~ @@ -3892,135 +3923,34 @@ 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); - | ~~~~^~~~~ -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/expdesign.cc:24: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/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/alg.hh:169:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/subject.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -In file included from ../../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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/loadsave.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call In file included from ../../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/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/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary 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/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from model/achermann.hh:22: +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; \ @@ -4028,7 +3958,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4053,11 +3982,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4082,10 +4006,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4114,7 +4034,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4153,16 +4072,86 @@ ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from expdesign/expdesign.cc:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +expdesign/recording.cc: In member function 'std::string agh::SProfileParamSet::display_name() const': +expdesign/recording.cc:58:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 58 | case metrics::TType::psd: return move(sasprintf( "%s (%g-%g Hz)", metric_name(), P.psd.freq_from, P.psd.freq_upto)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:58:46: note: remove 'std::move' call +expdesign/recording.cc:59:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 59 | case metrics::TType::swu: return move(sasprintf( "%s (%g Hz)", metric_name(), P.swu.f0)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:59:46: note: remove 'std::move' call +expdesign/recording.cc:60:46: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 60 | case metrics::TType::mc : return move(sasprintf( "%s (%g Hz)", metric_name(), P.mc.f0)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:60:46: note: remove 'std::move' call +expdesign/recording.cc:61:29: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | default: return move(sasprintf( "(invalid metric: %d)", (int)metric)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/recording.cc:61:29: note: remove 'std::move' call +In file included from ../../src/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/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +expdesign/subject.cc: In member function 'std::__cxx11::list agh::SEpisode::get_annotations() const': +expdesign/subject.cc:98:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 98 | return move(ret); + | ~~~~^~~~~ +expdesign/subject.cc:98:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/recording.hh:18, + from model/achermann-siman.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -4174,16 +4163,9 @@ ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - 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/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ../../src/libsigfile/page.hh:20, + from ../../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; \ @@ -4295,18 +4277,34 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: 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/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/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, "/")); @@ -4317,16 +4315,167 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27, + from expdesign/dirlevel.cc:20: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +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, + from ../../src/libsigfile/edf.hh:26, + from ../../src/libsigfile/all.hh:16, + from expdesign/tree-scanner.cc:20: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/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/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/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/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: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary 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 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 ../../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 @@ -4343,8 +4492,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; \ @@ -4400,6 +4548,21 @@ 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 +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/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4467,40 +4630,14 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/dirlevel.cc:20: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -expdesign/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/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 | ^~~~~~~ @@ -4509,7 +4646,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -4517,6 +4654,19 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27, + from expdesign/tree-scanner.cc:21: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4541,20 +4691,92 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh: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/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/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: +../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +In file included from ../../src/common/fs.hh: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; \ @@ -4580,12 +4802,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh: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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -4616,54 +4832,12 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: 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: 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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -4685,10 +4859,6 @@ ../../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: 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/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; \ @@ -4708,125 +4878,45 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/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)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/recording.cc:58:46: note: remove 'std::move' call ../../src/libmetrics/mc.hh:157:36: 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 -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 -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/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/psd.hh:25, + from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19: ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ -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 | ^~~~~~~ @@ -4958,177 +5048,19 @@ 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::__cxx11::list > agh::CExpDesign::enumerate_groups() const': -expdesign/expdesign.cc:381:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 381 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:381:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_subjects() const': -expdesign/expdesign.cc:392:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 392 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:392:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_sessions() const': -expdesign/expdesign.cc:407:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 407 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:407:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_episodes() const': -expdesign/expdesign.cc:422:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 422 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:422:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_eeg_channels() const': -expdesign/expdesign.cc:443:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 443 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:443:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_all_channels() const': -expdesign/expdesign.cc:462:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 462 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:462:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::used_samplerates(sigfile::definitions::types) const': -expdesign/expdesign.cc:483:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 483 | return move(recp); - | ~~~~^~~~~~ -expdesign/expdesign.cc:483:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/edf.hh:26, - from ../../src/libsigfile/all.hh:16, - from expdesign/tree-scanner.cc:20: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -expdesign/expdesign.cc: In member function 'int agh::CExpDesign::setup_modrun(const std::string&, const std::string&, const std::string&, const agh::SProfileParamSet&, agh::ach::CModelRun**)': -expdesign/expdesign.cc:524:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 524 | } catch (invalid_argument ex) { // thrown by CProfile ctor - | ^~ -expdesign/expdesign.cc:527:31: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] - 527 | } catch (out_of_range ex) { - | ^~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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: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 '< >' -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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o model/borbely.o model/borbely.cc -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 -In file included from expdesign/loadsave.cc:15: -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call -expdesign/loadsave.cc: In member function 'int agh::CExpDesign::load_settings()': -expdesign/loadsave.cc:82:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 82 | catch (invalid_argument ex) { - | ^~ -expdesign/loadsave.cc:88:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 88 | catch (invalid_argument ex) { - | ^~ -expdesign/loadsave.cc:94:33: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 94 | catch (invalid_argument ex) { - | ^~ -In file included from ../../src/aghermann/model/achermann.hh:23, - from expdesign/expdesign.hh:27, - from expdesign/tree-scanner.cc:21: +../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from 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 | ^~~~~~~ @@ -5137,7 +5069,8 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ../../src/libsigfile/page.hh:20, + from model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -5260,12 +5193,38 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o patterns/patterns.o patterns/patterns.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 +expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +expdesign/expdesign.hh:78:30: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::string agh::CExpDesign::error_log_serialize() const': +expdesign/expdesign.cc:187:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 187 | return move(ret); + | ~~~~^~~~~ +expdesign/expdesign.cc:187:20: note: remove 'std::move' call +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 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) { @@ -5277,10 +5236,86 @@ 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 +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_subjects() const': +expdesign/expdesign.cc:392:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 392 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:392:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_sessions() const': +expdesign/expdesign.cc:407:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 407 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:407:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list > agh::CExpDesign::enumerate_episodes() const': +expdesign/expdesign.cc:422:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 422 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:422:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_eeg_channels() const': +expdesign/expdesign.cc:443:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 443 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:443:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::enumerate_all_channels() const': +expdesign/expdesign.cc:462:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 462 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:462:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'std::__cxx11::list agh::CExpDesign::used_samplerates(sigfile::definitions::types) const': +expdesign/expdesign.cc:483:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 483 | return move(recp); + | ~~~~^~~~~~ +expdesign/expdesign.cc:483:20: note: remove 'std::move' call +expdesign/expdesign.cc: In member function 'int agh::CExpDesign::setup_modrun(const std::string&, const std::string&, const std::string&, const agh::SProfileParamSet&, agh::ach::CModelRun**)': +expdesign/expdesign.cc:524:35: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 524 | } catch (invalid_argument ex) { // thrown by CProfile ctor + | ^~ +expdesign/expdesign.cc:527:31: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] + 527 | } catch (out_of_range ex) { + | ^~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o model/borbely.o model/borbely.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: + 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) | ^ @@ -5324,132 +5359,16 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/expdesign/recording.hh:18, - from model/ultradian-cycle.cc:17: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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: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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rk1968/rk1968.o rk1968/rk1968.cc -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from artifact-detection/3in1.hh:21: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libmetrics/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, +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 ../../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 -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 model/borbely.cc:17: + 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) | ^ @@ -5458,21 +5377,22 @@ 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/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: +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/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; \ @@ -5584,27 +5504,118 @@ 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/libmetrics/psd.hh:25, - from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19: -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary 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/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/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from expdesign/expdesign.hh:27: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/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; \ @@ -5716,28 +5727,18 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, - from model/ultradian-cycle.cc:18: + 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); | ~~~~^~~~~~ -expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libsigproc/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] @@ -5761,11 +5762,37 @@ 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 +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 +artifact-detection/3in1.cc: In member function 'virtual std::string agh::ad::CComprehensiveArtifactDetector::serialize() const': +artifact-detection/3in1.cc:60:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 60 | return move( + | ~~~~^ + 61 | CStorablePPack::serialize() + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 62 | agh::str::sasprintf( + | ~~~~~~~~~~~~~~~~~~~~ + 63 | "flat.min_size:%g; flat.pad:%g;\n" + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 64 | "emg.min_steadytone_factor:%g; emg.min_steadytone_run:%g;\n" + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 65 | "MC.scope:%g; MC.upper_thr:%g; MC.lower_thr:%g; MC.f0:%g; MC.fc:%g; MC.bandwidth:%g; MC.mc_gain:%g; MC.iir_backpolate:%g; MC.E:%g; MC.dmin:%g; MC.dmax:%g; MC.sssu_hist_size:%zu; MC.smooth_side:%zu; MC.estimate_E:%d; MC.use_range:%d;", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 66 | Pp.flat_min_size, Pp.flat_pad, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | Pp.emg_min_steadytone_factor, Pp.emg_min_steadytone_run, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | Pp.MC.scope, Pp.MC.upper_thr, Pp.MC.lower_thr, Pp.MC.f0, Pp.MC.fc, Pp.MC.bandwidth, Pp.MC.mc_gain, Pp.MC.iir_backpolate, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | Pp.MC.E, Pp.MC.dmin, Pp.MC.dmax, Pp.MC.sssu_hist_size, Pp.MC.smooth_side, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | Pp.MC.estimate_E, Pp.MC.use_range)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +artifact-detection/3in1.cc:60:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rk1968/rk1968.o rk1968/rk1968.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)': @@ -5788,44 +5815,44 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from model/borbely.cc:17: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rk1968/rk1968-profiles.o rk1968/rk1968-profiles.cc -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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sm/sm-construct.o ui/sm/sm-construct.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 +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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sm/sm.o ui/sm/sm.cc ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -5834,7 +5861,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/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; \ @@ -5885,7 +5912,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_, | ^~~~~~ @@ -5957,19 +5984,9 @@ 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, - 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sm/sm_cb.o ui/sm/sm_cb.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/expdesign/dirlevel.hh:23, from rk1968/rk1968.hh:22, @@ -5984,21 +6001,155 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/admit-one.o ui/mw/admit-one.cc +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 +In file included from ../../src/libsigproc/sigproc.hh:28, + from patterns/patterns.hh:21, + from patterns/patterns.cc:20: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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 '< >' +patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +patterns/patterns.hh:112:21: note: remove the '< >' +patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +patterns/patterns.hh:119:22: note: remove the '< >' +patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +patterns/patterns.hh:125:30: note: remove the '< >' +patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +patterns/patterns.hh:135:31: note: remove the '< >' +patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 +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 ../../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 | ^~~~~~~ @@ -6007,7 +6158,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ../../src/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; \ @@ -6058,7 +6209,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_, | ^~~~~~ @@ -6129,135 +6280,8 @@ ../../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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sm/sm_cb.o ui/sm/sm_cb.cc -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from patterns/patterns.hh:21, - from patterns/patterns.cc:20: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/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 -patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -patterns/patterns.hh:112:21: note: remove the '< >' -patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -patterns/patterns.hh:119:22: note: remove the '< >' -patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -patterns/patterns.hh:125:30: note: remove the '< >' -patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -patterns/patterns.hh:135:31: note: remove the '< >' -patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/admit-one.o ui/mw/admit-one.cc -../../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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/admit-one_cb.o ui/mw/admit-one_cb.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/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)); } @@ -6394,6 +6418,26 @@ ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:22, + from 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, "/")); @@ -6404,14 +6448,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/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 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] @@ -6422,7 +6458,6 @@ 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 | ^~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/construct.o ui/mw/construct.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, @@ -6582,6 +6617,41 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/construct.o ui/mw/construct.cc +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 +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 +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/loadsave.o ui/mw/loadsave.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( '/'))); } @@ -6617,20 +6687,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/loadsave.o ui/mw/loadsave.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/measurements.o ui/mw/measurements.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: @@ -6655,6 +6711,7 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/mainmenu_cb.o ui/mw/mainmenu_cb.cc 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)': @@ -6686,18 +6743,11 @@ ../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 396 | char* _get_next_field( char**, size_t) throw (TStatus); | ^~~~~ -In file included from ../../src/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/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, from ../../src/libmetrics/mc-artifacts.hh:19, from ui/mw/mw.hh:25: @@ -6705,11 +6755,47 @@ ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/libsigfile/edf.hh: In member function 'virtual std::string sigfile::CEDFFile::explain_status() const': -../../src/libsigfile/edf.hh:94:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 94 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/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, + from ui/sm/sm.cc:23: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -6759,16 +6845,167 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/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 + | ^~~~~~~ +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call +In file included from ../../src/common/fs.hh:23: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:62:11: note: remove the '< >' + 62 | T () = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 63 | T (const T&) = delete; \ + | ^ +../../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/common/config-validate.hh:24, + from ui/mw/loadsave.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -6913,12 +7150,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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/measurements_cb.o ui/mw/measurements_cb.cc In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ui/mw/mw.hh:25, @@ -6938,6 +7169,11 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -6950,17 +7186,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/beersma.hh:21, - from ui/mw/measurements.cc:19: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, from ui/mw/mw.hh:27: @@ -7102,28 +7327,34 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/populate.o ui/mw/populate.cc -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/loadsave.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/measurements.o ui/mw/measurements.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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/measurements_cb.o ui/mw/measurements_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) { + | ^~ ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +ui/mw/admit-one.cc: In member function 'int agh::ui::SExpDesignUI::dnd_maybe_admit_one(const char*)': +ui/mw/admit-one.cc:103:43: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 103 | } catch (invalid_argument ex) { + | ^~ In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25, - from ui/sm/sm.cc:23: + from ui/mw/mw.hh:25, + from ui/mw/loadsave.cc:18: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) @@ -7160,16 +7391,57 @@ ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ +In file included from ../../src/libsigfile/source-base.hh: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:93:23: note: remove the '< >' -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/libsigfile/typed-source.hh:16, +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from 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/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)); } @@ -7191,7 +7463,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -7247,15 +7519,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7274,11 +7537,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -7289,11 +7547,6 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7306,11 +7559,6 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -7330,27 +7578,205 @@ ../../src/libmetrics/page-metrics-base.hh:72:22: 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/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:297:30: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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: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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/populate.o ui/mw/populate.cc +In file included from ../../src/libsigfile/source-base.hh:18, + from ui/mw/measurements_cb.cc:12: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +ui/mw/loadsave.cc: In function 'std::forward_list > {anonymous}::saving_colors()': +ui/mw/loadsave.cc:30:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 30 | return move( + | ~~~~^ + 31 | forward_list> + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | ({ + | ~~ + 33 | {"MWNight", SExpDesignUI::TColour::mw_night}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 34 | {"MWDay", SExpDesignUI::TColour::mw_day}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 35 | {"MWTicks", SExpDesignUI::TColour::mw_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 36 | {"MWLabels", SExpDesignUI::TColour::mw_labels}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | {"MWProfile", SExpDesignUI::TColour::mw_profile}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 38 | + | + 39 | {"ScoreNONE", SExpDesignUI::TColour::score_none}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 40 | {"ScorNeREM1", SExpDesignUI::TColour::score_nrem1}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 41 | {"ScoreNREM2", SExpDesignUI::TColour::score_nrem2}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 42 | {"ScoreNREM3", SExpDesignUI::TColour::score_nrem3}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 43 | {"ScoreNREM4", SExpDesignUI::TColour::score_nrem4}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 44 | {"ScoreREM", SExpDesignUI::TColour::score_rem}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 45 | {"ScoreWake", SExpDesignUI::TColour::score_wake}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 46 | + | + 47 | {"SFProfilePSD", SExpDesignUI::TColour::sf_profile_psd}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 48 | {"SFProfileSWU", SExpDesignUI::TColour::sf_profile_swu}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | {"SFProfileMC", SExpDesignUI::TColour::sf_profile_mc}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 50 | + | + 51 | {"SFPhasicSpindle", SExpDesignUI::TColour::sf_phasic_spindle}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 52 | {"SFPhasicKComplex", SExpDesignUI::TColour::sf_phasic_Kcomplex}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 53 | {"SFPhasicEyeBlink", SExpDesignUI::TColour::sf_phasic_eyeblink}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 54 | + | + 55 | {"SFEMG", SExpDesignUI::TColour::sf_emg}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | {"SFHypnogram", SExpDesignUI::TColour::sf_hypnogram}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 57 | {"SFArtifacts", SExpDesignUI::TColour::sf_artifact}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 58 | {"SFAnnotations", SExpDesignUI::TColour::sf_annotations}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 59 | {"SFEmbeddedAnnotations", SExpDesignUI::TColour::sf_embedded_annotations}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 60 | {"SFSelection", SExpDesignUI::TColour::sf_selection}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 61 | {"SFTicks", SExpDesignUI::TColour::sf_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 62 | {"SFLabels", SExpDesignUI::TColour::sf_labels}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 63 | {"SFCursor", SExpDesignUI::TColour::sf_cursor}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 64 | + | + 65 | {"BandDelta", SExpDesignUI::TColour::band_delta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 66 | {"BandTheta", SExpDesignUI::TColour::band_theta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 67 | {"BandAlpha", SExpDesignUI::TColour::band_alpha}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | {"BandBeta", SExpDesignUI::TColour::band_beta}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | {"BandGamma", SExpDesignUI::TColour::band_gamma}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | + | + 71 | {"MFSWA", SExpDesignUI::TColour::mf_swa}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 72 | {"MFSWASim", SExpDesignUI::TColour::mf_swa_sim}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | {"MFProcessS", SExpDesignUI::TColour::mf_process_s}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | {"MFPaper", SExpDesignUI::TColour::mf_paper}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | {"MFTicks", SExpDesignUI::TColour::mf_ticks}, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | {"MFLabels", SExpDesignUI::TColour::mf_labels} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 77 | })); + | ~~~ +ui/mw/loadsave.cc:30:20: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/beersma.hh:21, + from ui/mw/measurements.cc:19: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/settings_cb.o ui/mw/settings_cb.cc +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/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: + 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 | ^~~~~~~ @@ -7359,7 +7785,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:19: +In file included from ../../src/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; \ @@ -7482,78 +7908,18 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/settings_cb.o ui/mw/settings_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) { - | ^~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/simulations.o ui/mw/simulations.cc -In file included from ../../src/libsigfile/source-base.hh:18, - from ui/mw/measurements_cb.cc:12: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/loadsave.cc:18: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -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: +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, "/")); @@ -7564,62 +7930,47 @@ 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: +In file included from ../../src/common/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/measurements.cc:21: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/mw/mw.hh:27, + from ui/mw/mainmenu_cb.cc:18: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/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/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 @@ -7627,7 +7978,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 | ^~~~~~~ @@ -7636,7 +7987,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/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; \ @@ -7692,11 +8043,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -7764,8 +8110,23 @@ 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: +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, + | ^~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/splash.o ui/mw/splash.cc +In file included from ui/mw/settings_cb.cc:17: ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': ../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 61 | return move(tokens( s_, sep)); @@ -7776,34 +8137,40 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19: +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/measurements.cc:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +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)); @@ -7814,19 +8181,10 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/artifact-detection/3in1.hh:21: + 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); @@ -7854,43 +8212,9 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libmetrics/page-metrics-base.hh:20, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/simulations_cb.o ui/mw/simulations_cb.cc -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 | ^~~~~~~ @@ -7906,7 +8230,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; \ @@ -8029,139 +8353,55 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -ui/mw/loadsave.cc: In function 'std::forward_list > {anonymous}::saving_colors()': -ui/mw/loadsave.cc:30:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 30 | return move( - | ~~~~^ - 31 | forward_list> - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | ({ - | ~~ - 33 | {"MWNight", SExpDesignUI::TColour::mw_night}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 34 | {"MWDay", SExpDesignUI::TColour::mw_day}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 35 | {"MWTicks", SExpDesignUI::TColour::mw_ticks}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 36 | {"MWLabels", SExpDesignUI::TColour::mw_labels}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | {"MWProfile", SExpDesignUI::TColour::mw_profile}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 38 | - | - 39 | {"ScoreNONE", SExpDesignUI::TColour::score_none}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 40 | {"ScorNeREM1", SExpDesignUI::TColour::score_nrem1}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 41 | {"ScoreNREM2", SExpDesignUI::TColour::score_nrem2}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 42 | {"ScoreNREM3", SExpDesignUI::TColour::score_nrem3}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 43 | {"ScoreNREM4", SExpDesignUI::TColour::score_nrem4}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 44 | {"ScoreREM", SExpDesignUI::TColour::score_rem}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 45 | {"ScoreWake", SExpDesignUI::TColour::score_wake}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 46 | - | - 47 | {"SFProfilePSD", SExpDesignUI::TColour::sf_profile_psd}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 48 | {"SFProfileSWU", SExpDesignUI::TColour::sf_profile_swu}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 49 | {"SFProfileMC", SExpDesignUI::TColour::sf_profile_mc}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 50 | - | - 51 | {"SFPhasicSpindle", SExpDesignUI::TColour::sf_phasic_spindle}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 52 | {"SFPhasicKComplex", SExpDesignUI::TColour::sf_phasic_Kcomplex}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 53 | {"SFPhasicEyeBlink", SExpDesignUI::TColour::sf_phasic_eyeblink}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 54 | - | - 55 | {"SFEMG", SExpDesignUI::TColour::sf_emg}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | {"SFHypnogram", SExpDesignUI::TColour::sf_hypnogram}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 57 | {"SFArtifacts", SExpDesignUI::TColour::sf_artifact}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 58 | {"SFAnnotations", SExpDesignUI::TColour::sf_annotations}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 59 | {"SFEmbeddedAnnotations", SExpDesignUI::TColour::sf_embedded_annotations}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 60 | {"SFSelection", SExpDesignUI::TColour::sf_selection}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 61 | {"SFTicks", SExpDesignUI::TColour::sf_ticks}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 62 | {"SFLabels", SExpDesignUI::TColour::sf_labels}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 63 | {"SFCursor", SExpDesignUI::TColour::sf_cursor}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 64 | - | - 65 | {"BandDelta", SExpDesignUI::TColour::band_delta}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 66 | {"BandTheta", SExpDesignUI::TColour::band_theta}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 67 | {"BandAlpha", SExpDesignUI::TColour::band_alpha}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | {"BandBeta", SExpDesignUI::TColour::band_beta}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | {"BandGamma", SExpDesignUI::TColour::band_gamma}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | - | - 71 | {"MFSWA", SExpDesignUI::TColour::mf_swa}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 72 | {"MFSWASim", SExpDesignUI::TColour::mf_swa_sim}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | {"MFProcessS", SExpDesignUI::TColour::mf_process_s}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | {"MFPaper", SExpDesignUI::TColour::mf_paper}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | {"MFTicks", SExpDesignUI::TColour::mf_ticks}, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | {"MFLabels", SExpDesignUI::TColour::mf_labels} - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 77 | })); - | ~~~ -ui/mw/loadsave.cc:30:20: note: remove 'std::move' call +In file included from ui/mw/mw.hh:27: ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ../../src/aghermann/model/achermann.hh:23, + from ../../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 +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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/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 | ^~~~~~~ @@ -8170,7 +8410,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/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; \ @@ -8266,18 +8506,12 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -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/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/string.hh:61:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -8288,11 +8522,6 @@ 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 | ^~~~~~~ @@ -8304,17 +8533,28 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:27, - from ui/mw/mainmenu_cb.cc:18: ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc +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:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ui/mw/mw.hh:25, - from ui/mw/populate.cc:19: + 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); @@ -8342,24 +8582,39 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -ui/mw/mainmenu_cb.cc: In function 'void iHelpUsage_activate_cb(GtkMenuItem*, gpointer)': -ui/mw/mainmenu_cb.cc:610:21: warning: 'gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)' is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations] - 610 | gtk_show_uri( NULL, - | ~~~~~~~~~~~~^~~~~~~ - 611 | "http://johnhommer.com/academic/code/aghermann/usage/", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 612 | GDK_CURRENT_TIME, NULL); - | ~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-3.0/gtk/gtk.h:200, - from ../../src/aghermann/artifact-detection/3in1.hh:17: -/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here - 33 | gboolean gtk_show_uri (GdkScreen *screen, - | ^~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/splash.o ui/mw/splash.cc +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +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 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: + 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); @@ -8370,6 +8625,11 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); @@ -8387,25 +8647,17 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ 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, + from ../../src/aghermann/ui/sf/sf.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -8517,20 +8769,22 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/channel.o ui/sf/channel.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/construct.o ui/sf/construct.cc +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ui/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)); @@ -8541,22 +8795,10 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/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 +ui/mw/settings_cb.cc: In function 'void tDesign_switch_page_cb(GtkNotebook*, gpointer, guint, gpointer)': +ui/mw/settings_cb.cc:54:49: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] + 54 | catch (invalid_argument ex) { + | ^~ In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ui/mw/mw.hh:25: @@ -8608,20 +8850,41 @@ 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:37:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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 ui/mw/mw.hh:25, - from ui/mw/settings_cb.cc:20: + 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/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object 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/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -8644,12 +8907,17 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -8660,11 +8928,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -8688,7 +8951,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/mw.o ui/mw/mw.cc ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -8786,17 +9048,17 @@ ../../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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -8806,8 +9068,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, - from ../../src/aghermann/ui/sf/sf.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; \ @@ -8925,9 +9186,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/mw/mw.hh:24, - from ../../src/aghermann/ui/mf/mf.hh:16, - from ui/mw/simulations_cb.cc:14: + 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)); @@ -8938,35 +9198,48 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mw/mw_cb.o ui/mw/mw_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/channel.o ui/sf/channel.cc +In file included from ../../src/libmetrics/page-metrics-base.hh:20, + from ui/mw/mw.cc:18: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 -ui/mw/settings_cb.cc: In function 'void tDesign_switch_page_cb(GtkNotebook*, gpointer, guint, gpointer)': -ui/mw/settings_cb.cc:54:49: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] - 54 | catch (invalid_argument ex) { - | ^~ -In file included from ../../src/libsigproc/sigproc.hh:27, +In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: + from ui/mw/mw.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); @@ -8994,37 +9267,23 @@ 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:72:22: 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 ../../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; \ @@ -9136,53 +9395,17 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' + 85 | same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ui/mw/mw.hh:24, - from ui/mw/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/construct.o ui/sf/construct.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/controls_cb.o ui/sf/controls_cb.cc -In file included from ui/sf/channel.cc:16: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ui/mw/mw.hh:25: @@ -9223,26 +9446,7 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/hypnogram_cb.o ui/sf/hypnogram_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: +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) | ^ @@ -9253,7 +9457,10 @@ ../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: + from ../../src/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, "/")); @@ -9264,157 +9471,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: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/mw/mw.hh:23: -../../src/libsigproc/ext-filters.hh: At global scope: -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: -../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 60 | CFilterIIR (size_t samplerate_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: note: remove the '< >' - 62 | T () = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ui/sf/channel.cc:17: + 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)); @@ -9425,49 +9484,20 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.cc:19: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/controls_cb.o ui/sf/controls_cb.cc +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/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 | ^~~~~~~ @@ -9476,7 +9506,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ui/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; \ @@ -9599,39 +9629,11 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -ui/mw/splash.cc: In member function 'int agh::ui::SExpDesignUI::try_download()': -ui/mw/splash.cc:161:32: warning: 'gboolean vte_terminal_spawn_sync(VteTerminal*, VtePtyFlags, const char*, char**, char**, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GPid*, GCancellable*, GError**)' is deprecated [-Wdeprecated-declarations] - 161 | vte_terminal_spawn_sync( - | ~~~~~~~~~~~~~~~~~~~~~~~^ - 162 | tTerm, - | ~~~~~~ - 163 | VTE_PTY_DEFAULT, - | ~~~~~~~~~~~~~~~~ - 164 | ED->session_dir(), - | ~~~~~~~~~~~~~~~~~~ - 165 | const_cast (argv), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ - 166 | NULL, // char **envv, - | ~~~~~~~~~~~~~~~~~~~~~ - 167 | (GSpawnFlags)G_SPAWN_DO_NOT_REAP_CHILD, // GSpawnFlags spawn_flags, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 168 | NULL, // GSpawnChildSetupFunc child_setup, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 169 | NULL, // gpointer child_setup_data, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 170 | &dl_pid, - | ~~~~~~~~ - 171 | NULL, - | ~~~~~ - 172 | &Error); // GError **error); - | ~~~~~~~ -In file included from /usr/include/vte-2.91/vte/vte.h:38, - from ui/mw/splash.cc:15: -/usr/include/vte-2.91/vte/vtedeprecated.h:91:10: note: declared here - 91 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal, - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/aghermann/ui/sf/sf.hh:22, - from ui/mw/mw_cb.cc:15: +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/hypnogram.o ui/sf/hypnogram.cc +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ @@ -9640,72 +9642,7 @@ 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/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/ica.o ui/sf/ica.cc -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/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/aghermann/artifact-detection/3in1.hh:20, - from ui/sf/channel.cc:21: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ui/mw/mw.hh:25, - from ui/mw/mw_cb.cc:16: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/artifact-detection/3in1.hh:21: +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); @@ -9721,14 +9658,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -9741,17 +9670,12 @@ 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, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ui/mw/mw.hh:27: + from ../../src/aghermann/ui/mw/mw.hh:27: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -9762,44 +9686,22 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/channel.cc:22: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: -../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] - 123 | virtual int save(); - | ^~~~ -In file included from ui/sf/channel.cc:23: -../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' - 82 | int save() const; - | ^~~~ +In file included from ../../src/aghermann/ui/sf/sf.hh:22, + from ui/mw/mw_cb.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27, - from ui/sf/channel.cc:25: +../../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 | ^~~~~~~ @@ -9815,7 +9717,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/channel.cc:15: +In file included from ../../src/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; \ @@ -9871,14 +9773,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: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9907,7 +9801,6 @@ 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 ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -9926,6 +9819,154 @@ ../../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/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/sf.hh:23: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +ui/mw/splash.cc: In member function 'int agh::ui::SExpDesignUI::try_download()': +ui/mw/splash.cc:161:32: warning: 'gboolean vte_terminal_spawn_sync(VteTerminal*, VtePtyFlags, const char*, char**, char**, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GPid*, GCancellable*, GError**)' is deprecated [-Wdeprecated-declarations] + 161 | vte_terminal_spawn_sync( + | ~~~~~~~~~~~~~~~~~~~~~~~^ + 162 | tTerm, + | ~~~~~~ + 163 | VTE_PTY_DEFAULT, + | ~~~~~~~~~~~~~~~~ + 164 | ED->session_dir(), + | ~~~~~~~~~~~~~~~~~~ + 165 | const_cast (argv), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ + 166 | NULL, // char **envv, + | ~~~~~~~~~~~~~~~~~~~~~ + 167 | (GSpawnFlags)G_SPAWN_DO_NOT_REAP_CHILD, // GSpawnFlags spawn_flags, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 168 | NULL, // GSpawnChildSetupFunc child_setup, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 169 | NULL, // gpointer child_setup_data, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 170 | &dl_pid, + | ~~~~~~~~ + 171 | NULL, + | ~~~~~ + 172 | &Error); // GError **error); + | ~~~~~~~ +In file included from /usr/include/vte-2.91/vte/vte.h:38, + from ui/mw/splash.cc:15: +/usr/include/vte-2.91/vte/vtedeprecated.h:91:10: note: declared here + 91 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal, + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ui/mw/mw.hh:25, + from ui/mw/mw_cb.cc:16: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/hypnogram_cb.o ui/sf/hypnogram_cb.cc +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -9934,22 +9975,12 @@ ../../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/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -10010,19 +10041,12 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/ica_cb.o ui/sf/ica_cb.cc -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ ../../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:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ @@ -10051,20 +10075,77 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/ica.o ui/sf/ica.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 +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/artifact-detection/3in1.hh:20, + from ui/sf/channel.cc:21: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': +ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] + 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, + from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, + from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, + from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, + from /usr/include/gtk-3.0/gdk/gdk.h:32, + from /usr/include/gtk-3.0/gtk/gtk.h:30, + from ../../src/aghermann/ui/globals.hh:16, + from ../../src/aghermann/ui/misc.hh:18, + from ui/mw/mw.cc:24: +/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here + 1067 | void gdk_window_process_all_updates (void); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/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] @@ -10075,10 +10156,38 @@ 169 | return move(ret); | ~~~~^~~~~ ../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/artifact-detection/3in1.hh:21: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/hypnogram_cb.cc:12: + from ui/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)); @@ -10129,31 +10238,27 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ui/sf/sf.hh:23: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary 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/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/channel.cc:22: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -10170,25 +10275,14 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from ../../src/aghermann/artifact-detection/3in1.hh:22: +../../src/aghermann/expdesign/dirlevel.hh:123:21: warning: 'virtual int agh::CStorablePPack::save()' was hidden [-Woverloaded-virtual=] + 123 | virtual int save(); + | ^~~~ +In file included from ui/sf/channel.cc:23: +../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' + 82 | int save() const; + | ^~~~ ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -10333,95 +10427,10 @@ 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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, +In file included from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -ui/mw/mw.cc: In member function 'void agh::ui::SExpDesignUI::sb_main_progress_indicator(const std::string&, size_t, size_t, agh::ui::TGtkRefreshMode)': -ui/mw/mw.cc:531:47: warning: 'void gdk_window_process_all_updates()' is deprecated [-Wdeprecated-declarations] - 531 | gdk_window_process_all_updates(); // this, however, fails to do the update if called *not* from a callback - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, - from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, - from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, - from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, - from /usr/include/gtk-3.0/gdk/gdk.h:32, - from /usr/include/gtk-3.0/gtk/gtk.h:30, - from ../../src/aghermann/ui/globals.hh:16, - from ../../src/aghermann/ui/misc.hh:18, - from ui/mw/mw.cc:24: -/usr/include/gtk-3.0/gdk/gdkwindow.h:1067:12: note: declared here - 1067 | void gdk_window_process_all_updates (void); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -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/libmetrics/page-metrics-base.hh: At global scope: + from ../../src/aghermann/ui/mw/mw.hh:27, + from ui/sf/channel.cc: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 | ^~~~~~~ @@ -10436,15 +10445,8 @@ ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/aghermann/rk1968/rk1968.hh:23: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ui/sf/channel.cc:15: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -10556,11 +10558,6 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -10572,6 +10569,67 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/ica_cb.o ui/sf/ica_cb.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/mainmenu_cb.o ui/sf/mainmenu_cb.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/hypnogram_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage.o ui/sf/montage.cc +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/channel.cc:29: +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +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/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/channel.hh:21, + from ui/sf/ica.cc:18: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -10588,6 +10646,18 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ui/sf/channel.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/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -10606,26 +10676,10 @@ ../../src/aghermann/rk1968/rk1968.hh:82:13: note: by 'int agh::rk1968::CScoreAssistant::save() const' 82 | int save() const; | ^~~~ -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage-overlays.o ui/sf/montage-overlays.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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage.o ui/sf/montage.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/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18, - from ui/sf/hypnogram_cb.cc:15: + from ui/sf/channel.hh:25: ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -10636,20 +10690,90 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage_cb.o ui/sf/montage_cb.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_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: +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 | ^~~~~~~ @@ -10781,99 +10905,16 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/hypnogram.cc:18: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../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/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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage_cb.o ui/sf/montage_cb.cc g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/montage-menus_cb.o ui/sf/montage-menus_cb.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, from ../../src/aghermann/model/achermann.hh:23, from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/rk1968.hh:18, + 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, "/")); @@ -10884,16 +10925,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/channel.hh:21, - from ui/sf/ica.cc:18: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -10915,7 +10946,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 ../../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; \ @@ -11038,8 +11069,19 @@ 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/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 ui/sf/channel.hh:22: + 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)); @@ -11050,25 +11092,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 -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ui/sf/channel.hh:25: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call In file included from 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] @@ -11091,14 +11114,19 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ui/sf/channel.hh:28: +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.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); @@ -11126,33 +11154,35 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/sf.o ui/sf/sf.cc -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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 | ^~~~~~~ @@ -11161,7 +11191,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; \ @@ -11284,29 +11314,11 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/mainmenu_cb.cc:13: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/montage-overlays.cc:17: @@ -11315,114 +11327,12 @@ 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/sf.o ui/sf/sf.cc ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/sf_cb.o ui/sf/sf_cb.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/artifacts.o ui/sf/d/artifacts.cc -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); - | ^~~~~~~~ In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -11440,6 +11350,7 @@ ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/sf_cb.o ui/sf/sf_cb.cc ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] @@ -11463,7 +11374,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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.cc In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -11480,6 +11390,42 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ui/sf/channel.hh:28, + from ui/sf/mainmenu_cb.cc:13: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/montage_cb.cc:16: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -11611,70 +11557,107 @@ 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 ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/montage_cb.cc:16: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ui/sf/sf.cc:16: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ui/sf/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_) +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 '< >' +../../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); + | ^~~~~~~~ In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, from ui/sf/montage.cc:17: @@ -11688,6 +11671,7 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/artifacts.o ui/sf/d/artifacts.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -11706,6 +11690,13 @@ 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -11716,13 +11707,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -11763,11 +11747,6 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' 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, @@ -11778,6 +11757,11 @@ ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] @@ -11805,11 +11789,6 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -11819,7 +11798,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/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; \ @@ -11930,6 +11909,17 @@ ../../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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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, @@ -11939,7 +11929,7 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ui/sf/montage.cc:14: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -11977,6 +11967,11 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -11995,12 +11990,6 @@ 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' -../../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/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -12062,6 +12051,39 @@ 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 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-menus_cb.cc:13: @@ -12070,14 +12092,90 @@ 61 | return move(tokens( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:61:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/sf_cb.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/montage.cc:20: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ui/sf/channel.hh:28, + from ui/sf/montage_cb.cc:17: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from 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:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/sf_cb.cc:12: + 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)); @@ -12088,10 +12186,53 @@ 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, +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/aghermann/expdesign/subject.hh:23, - from ui/sf/sf.cc:20: + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: ../../src/common/alg.hh: At global scope: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) @@ -12101,23 +12242,50 @@ 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( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/subject.hh:26: +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/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 @@ -12134,7 +12302,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; \ @@ -12252,166 +12420,12 @@ ../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' 85 | same_as( const SPPack& rv) const | ^~~~~~~ -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/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) - | ^ -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); - | ~~~~^~~~~ -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/common/alg.hh: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/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, 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.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_) - | ^~~~~~~~~~ -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/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/aghermann/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/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/artifacts-profiles_cb.o ui/sf/d/artifacts-profiles_cb.cc In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -12433,11 +12447,6 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -12558,17 +12567,65 @@ ../../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 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/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 +In file included from ui/sf/channel.hh:28, + from ui/sf/montage-menus_cb.cc:14: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/aghermann/expdesign/subject.hh:23, + from ui/sf/sf.cc:20: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/subject.hh:26: ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -12584,9 +12641,8 @@ ../../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/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../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; \ @@ -12709,6 +12765,26 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/montage-menus_cb.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/artifacts.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/artifacts_cb.o ui/sf/d/artifacts_cb.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -12765,20 +12841,10 @@ 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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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 ../../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=] @@ -12919,30 +12985,7 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/sf/channel.hh:28, - from ui/sf/montage-menus_cb.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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( '/'))); } @@ -12985,6 +13028,7 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/sf.cc:24: ../../src/aghermann/patterns/patterns.hh: At global scope: @@ -13008,32 +13052,6 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/sf.cc:27: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ui/sf/d/artifacts.hh:20, - from ui/sf/montage-menus_cb.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -ui/sf/sf.cc: In member function 'void agh::ui::SScoringFacility::load_montage()': -ui/sf/sf.cc:743:44: warning: catching polymorphic type 'class libconfig::ParseException' by value [-Wcatch-value=] - 743 | } catch (libconfig::ParseException ex) { - | ^~ -ui/sf/sf.cc:748:45: warning: catching polymorphic type 'class libconfig::FileIOException' by value [-Wcatch-value=] - 748 | } catch (libconfig::FileIOException ex) { - | ^~ -In file included from ui/sf/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/libsigfile/source-base.hh:18, from ../../src/libsigfile/typed-source.hh:16, from ../../src/aghermann/artifact-detection/3in1.hh:20, @@ -13069,13 +13087,25 @@ 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/sf.cc:27: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/filters-construct.o ui/sf/d/filters-construct.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) { + | ^~ In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/artifact-detection/3in1.hh:21: @@ -13094,6 +13124,12 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369: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/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -13101,11 +13137,13 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns.o ui/sf/d/patterns.cc 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, @@ -13248,21 +13286,9 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/filters_cb.o ui/sf/d/filters_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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns.o ui/sf/d/patterns.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 '< >' 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: + 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)); @@ -13273,6 +13299,11 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -13313,6 +13344,7 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.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, @@ -13334,10 +13366,22 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/aghermann/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/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); @@ -13455,6 +13499,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)); @@ -13465,33 +13515,10 @@ 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/artifacts_cb.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns-draw.o ui/sf/d/patterns-draw.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns-profiles.o ui/sf/d/patterns-profiles.cc In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/filters.cc:13: + 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)); @@ -13502,12 +13529,6 @@ 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: @@ -13580,12 +13601,14 @@ ../../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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_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 ../../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; \ @@ -13708,37 +13731,38 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/artifacts_cb.cc:13: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns_cb.o ui/sf/d/patterns_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) - | ^ 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: + 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/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/common/alg.hh: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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/patterns-profiles_cb.o ui/sf/d/patterns-profiles_cb.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -13779,6 +13803,19 @@ 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/filters_cb.cc:14: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -13800,24 +13837,16 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/ui.hh:22, - from ui/sf/d/filters-construct.cc:14: +In file included from ../../src/aghermann/ui/mw/mw.hh:23: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -13929,58 +13958,29 @@ 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/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/channel.hh:22: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc -In file included from ../../src/libsigproc/sigproc.hh:28, - from ../../src/aghermann/patterns/patterns.hh:21, - from ../../src/aghermann/ui/sf/channel.hh:28: +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); @@ -13996,6 +13996,7 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/phasediff.o ui/sf/d/phasediff.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( @@ -14008,6 +14009,25 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/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_) | ^ @@ -14028,15 +14048,21 @@ 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; \ @@ -14153,40 +14179,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/filters_cb.cc:14: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns-draw.cc:13: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns.cc:14: -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25: @@ -14227,12 +14219,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -14249,47 +14235,12 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968.o ui/sf/d/rk1968.cc +In file included from ui/sf/d/artifacts.hh:20, + from ui/sf/d/artifacts_cb.cc:15: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } @@ -14360,17 +14311,6 @@ 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; \ | ^ @@ -14389,11 +14329,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object 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: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -14437,11 +14372,193 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/phasediff-construct.o ui/sf/d/phasediff-construct.cc +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/patterns.cc:13: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/phasediff_cb.o ui/sf/d/phasediff_cb.cc +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/patterns-draw.cc:14: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968.o ui/sf/d/rk1968.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns-profiles.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/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-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/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:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/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/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -14489,6 +14606,19 @@ ../../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/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/patterns_cb.cc:15: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -14568,165 +14698,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles.cc -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/patterns-profiles_cb.cc:15: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns-draw.cc:14: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/aghermann/ui/sf/channel.hh:21, - from ui/sf/d/phasediff-construct.cc:13: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns-draw.cc:15: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/sf/channel.hh:22: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns-profiles.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - 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/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); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:24, - from ../../src/aghermann/ui/mw/mw.hh:24, - from ui/sf/d/patterns_cb.cc:15: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, 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: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../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:61:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for 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_) | ^ @@ -14747,13 +14718,6 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/ui/sf/channel.hh:30: @@ -14812,11 +14776,6 @@ ../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call 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] @@ -14879,17 +14838,44 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': +../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 157 | return move(metrics::CProfile::course(bin)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/patterns-profiles_cb.cc:15: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +In file included from ../../src/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: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object 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/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': ../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 326 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': ../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 345 | return move(ccof); @@ -14900,14 +14886,6 @@ 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/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/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -14920,12 +14898,6 @@ 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object 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, @@ -14947,51 +14919,6 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object 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, - 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); - | ~~~~^~~~~~ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, @@ -15056,14 +14983,7 @@ ../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 60 | CFilterIIR (size_t samplerate_, | ^~~~~~ -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, 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/ext-filters.hh:60:24: note: remove the '< >' -../../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; \ | ^ @@ -15076,7 +14996,6 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../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; \ | ^ @@ -15093,11 +15012,6 @@ 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_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -15110,11 +15024,24 @@ ../../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 '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/patterns-profiles.cc:16: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15131,39 +15058,167 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/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/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/aghermann/ui/sf/channel.hh:21, + from ui/sf/d/phasediff-construct.cc:13: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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_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/common/config-validate.hh:24, + from ../../src/aghermann/ui/sf/channel.hh:22: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: + 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, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/common/fs.hh:37:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +In file included from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns-profiles.cc:17: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968-profiles.o ui/sf/d/rk1968-profiles.cc +In file included from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, + from ui/sf/d/patterns.hh:16, + from ui/sf/d/patterns.cc:14: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/channel.hh:22: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +../../src/aghermann/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&, + | ^~~~~~~~~~ +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/aghermann/ui/dirlevel-storable-adapter.hh:34:22: 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 +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 '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_cb.cc ../../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_) | ^ @@ -15184,21 +15239,15 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: + from ../../src/aghermann/ui/sf/channel.hh:30: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/mw/mw.hh:23: +In file included from ../../src/common/config-validate.hh:26: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -15218,6 +15267,14 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/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/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -15260,15 +15317,18 @@ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15313,23 +15373,130 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/ui/sf/channel.hh:30: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:27, + from ../../src/libmetrics/mc-artifacts.hh:19, + from ../../src/aghermann/ui/mw/mw.hh:25: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../src/aghermann/ui/mw/mw.hh:27: +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 46 | return move(pre + agh::str::join( ee, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:46:20: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/sf/d/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/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from ../../src/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': ../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/common/config-validate.hh:26: +In file included from ui/sf/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; \ @@ -15343,11 +15510,6 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -15436,6 +15598,15 @@ ../../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.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/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ @@ -15446,76 +15617,17 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ ../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': ../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968-profiles_cb.o ui/sf/d/rk1968-profiles_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 -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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': ../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns-profiles.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from 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/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/patterns_cb.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/libmetrics/mc.hh:157:36: 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_) | ^ @@ -15536,141 +15648,13 @@ 147 | ~SPattern () | ^ ../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ui/sf/d/patterns.hh:16, - from ui/sf/d/patterns-profiles.cc:17: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -In file included from 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/common/config-validate.hh:24, - from ../../src/aghermann/expdesign/dirlevel.hh:23, - from ../../src/aghermann/rk1968/rk1968.hh:22, - from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968-profiles.cc:17: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:28: -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': -../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 326 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': -../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 345 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': -../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 369 | return move(ccof); - | ~~~~^~~~~~ -../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': -../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 63 | return move( - | ~~~~^ - 64 | resample_f( signal, start, end, to_size, alg)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigproc/sigproc.hh: At global scope: -../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 93 | SSignalRef (const valarray& signal_, size_t samplerate_) - | ^ -../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/mw/mw.hh:27: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/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/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ In file included from ../../src/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 | ^~~~~~~ @@ -15679,7 +15663,7 @@ 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/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; \ @@ -15807,58 +15791,6 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/sf/d/rk1968_cb.o ui/sf/d/rk1968_cb.cc -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff.cc:16: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' -In file included from ../../src/common/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/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: @@ -15880,12 +15812,35 @@ ../../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/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/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' ../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': ../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 63 | return move( @@ -15898,6 +15853,13 @@ 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 ui/sf/d/patterns-profiles_cb.cc:17: +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, from ../../src/libmetrics/page-metrics-base.hh:21, @@ -15922,10 +15884,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 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/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/common/alg.hh:169:20: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh:28: ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': @@ -15950,16 +15919,16 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary 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, @@ -16103,22 +16072,28 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mf/construct.o ui/mf/construct.cc ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../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 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; \ @@ -16230,17 +16205,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 + | ^~~~~~~ +../../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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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:157:36: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mf/construct.o ui/mf/construct.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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mf/mf_cb.o ui/mf/mf_cb.cc +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/d/rk1968.hh:16, + from ui/sf/d/rk1968-profiles.cc:17: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call +In file included from ../../src/aghermann/ui/sf/channel.hh:28, + from ui/sf/d/phasediff.cc:16: +../../src/aghermann/patterns/patterns.hh: At global scope: +../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^ +../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) + | ^~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 125 | explicit SPattern (const SPattern& rv) + | ^ +../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 135 | explicit SPattern (SPattern&& rv) + | ^~~~~~~~~~~ +../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' +../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] + 147 | ~SPattern () + | ^ +../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' +In file included from ../../src/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 '< >' 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, @@ -16258,22 +16328,66 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/expdesign/dirlevel.hh:23, + from ../../src/aghermann/rk1968/rk1968.hh:22, + from ui/sf/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: +../../src/common/alg.hh: At global scope: +../../src/common/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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/mf/mf_cb.o ui/mf/mf_cb.cc +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +In file included from ../../src/libsigproc/sigproc.hh:28: +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwlp(unsigned int)': +../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 326 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwhp(unsigned int)': +../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 345 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call +../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': +../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 369 | return move(ccof); + | ~~~~^~~~~~ +../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/globals.o ui/globals.cc +../../src/libsigproc/sigproc.hh: In function 'std::valarray sigproc::resample(const std::valarray&, size_t, size_t, size_t, int)': +../../src/libsigproc/sigproc.hh:63:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 63 | return move( + | ~~~~^ + 64 | resample_f( signal, start, end, to_size, alg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call +../../src/libsigproc/sigproc.hh: At global scope: +../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 93 | SSignalRef (const valarray& signal_, size_t samplerate_) + | ^ +../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' ../../src/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 @@ -16285,6 +16399,20 @@ ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ +In file included from ../../src/common/config-validate.hh:24, + from ../../src/aghermann/ui/mw/mw.hh:24, + from ui/mf/mf.hh:16, + from ui/mf/construct.cc:12: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:61:20: note: remove 'std::move' call +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': +../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 71 | return move(tokens_trimmed( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/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); @@ -16403,6 +16531,7 @@ 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/misc.o ui/misc.cc ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const | ^~~~~~~ @@ -16414,34 +16543,11 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ../../src/aghermann/ui/sf/channel.hh:28, - from ui/sf/d/phasediff_cb.cc:15: -../../src/aghermann/patterns/patterns.hh: At global scope: -../../src/aghermann/patterns/patterns.hh:112:21: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 112 | SPattern (const string& name_, TExpDirLevel level_, CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^ -../../src/aghermann/patterns/patterns.hh:112:21: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:119:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 119 | SPattern (CExpDesign& ED_, const SExpDirLevelId& level_id_) - | ^~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:119:22: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:125:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 125 | explicit SPattern (const SPattern& rv) - | ^ -../../src/aghermann/patterns/patterns.hh:125:30: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:135:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 135 | explicit SPattern (SPattern&& rv) - | ^~~~~~~~~~~ -../../src/aghermann/patterns/patterns.hh:135:31: note: remove the '< >' -../../src/aghermann/patterns/patterns.hh:147:8: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] - 147 | ~SPattern () - | ^ -../../src/aghermann/patterns/patterns.hh:147:8: note: remove the '< >' In file included from ../../src/common/config-validate.hh:24, from ../../src/aghermann/expdesign/dirlevel.hh:23, from ../../src/aghermann/rk1968/rk1968.hh:22, from ui/sf/d/rk1968.hh:16, - from ui/sf/d/rk1968-profiles_cb.cc:12: + from 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)); @@ -16452,7 +16558,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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/globals.o ui/globals.cc In file included from ../../src/libsigproc/sigproc.hh:27, from ../../src/aghermann/rk1968/rk1968.hh:23: ../../src/common/alg.hh: At global scope: @@ -16463,7 +16568,12 @@ ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); | ~~~~^~~~~ +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/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/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call In file included from ../../src/libsigproc/sigproc.hh: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] @@ -16487,40 +16597,14 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/misc.o ui/misc.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 '< >' -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 -g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/ui++.o ui/ui++.cc 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) @@ -16530,20 +16614,6 @@ 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/mf/mf.hh:16, - from ui/mf/construct.cc:12: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call In file included from ../../src/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] @@ -16572,11 +16642,9 @@ 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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/ui.o ui/ui.cc -In file included from ../../src/libsigproc/sigproc.hh:27, - from ../../src/libmetrics/mc-artifacts.hh:19, - from ../../src/aghermann/ui/mw/mw.hh:25: -../../src/common/alg.hh: At global scope: +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) | ^ @@ -16585,34 +16653,6 @@ 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, @@ -16629,13 +16669,41 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, +../../src/aghermann/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&, + | ^~~~~~~~~~ +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/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' +../../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)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/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/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/common/string.hh:71:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -16646,11 +16714,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call ../../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 @@ -16794,7 +16857,31 @@ ../../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/fs.hh:22, + from ../../src/libsigfile/source-base.hh:19, + from ../../src/libsigfile/typed-source.hh:16, + from ../../src/libmetrics/page-metrics-base.hh:21: +../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': +../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 61 | return move(tokens( s_, sep)); + | ~~~~^~~~~~~~~~~~~~~~~~ ../../src/libsigfile/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 +../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': +../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 37 | return move(agh::str::tokens( _filename, "/")); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/common/fs.hh:37:20: note: remove 'std::move' call +../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': +../../src/common/fs.hh:46:20: warning: moving a temporary object 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 @@ -16812,7 +16899,7 @@ | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call In file included from ../../src/libsigfile/page.hh:20, - from ui/sf/d/rk1968.hh:15: + from ../../src/aghermann/model/achermann.hh:22: ../../src/libsigproc/ext-filters.hh: At global scope: ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ @@ -16935,36 +17022,18 @@ 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 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/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': -../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy 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:169:20: note: remove 'std::move' call -In file included from ../../src/common/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary 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/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, "/")); @@ -16980,28 +17049,15 @@ 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:19, - from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21, - from ../../src/aghermann/model/achermann.hh:23, - from ../../src/aghermann/expdesign/expdesign.hh:27, - from ../../src/aghermann/ui/dirlevel-storable-adapter.hh:16, - from ui/sf/d/rk1968.hh:18: -../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': -../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 37 | return move(agh::str::tokens( _filename, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:37:20: note: remove 'std::move' call ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/common/fs.hh: In function 'std::string agh::fs::dirname(const std::string&)': -../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 46 | return move(pre + agh::str::join( ee, "/")); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/fs.hh:46:20: note: remove 'std::move' call +../../src/libmetrics/page-metrics-base.hh: At global scope: +../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] + 72 | virtual bool same_as( const SPPack& rv) const + | ^~~~~~~ ../../src/libmetrics/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 @@ -17017,9 +17073,20 @@ ../../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/libmetrics/all.hh:16, + from ../../src/aghermann/expdesign/recording.hh:19, + from ../../src/aghermann/expdesign/profile.hh:16, + from ../../src/aghermann/model/beersma.hh:22: +../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' + 97 | same_as( const SPPack& rv) const + | ^~~~~~~ +../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': +../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 152 | return move(acc); + | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call In file included from ../../src/libsigfile/page.hh:20, - from ../../src/aghermann/model/achermann.hh:22: + 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; \ @@ -17027,6 +17094,7 @@ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ @@ -17039,187 +17107,125 @@ ../../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; \ +In file included from ../../src/libmetrics/page-metrics-base.hh:19: +../../src/libsigproc/ext-filters.hh: At global scope: +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 62 | T () = delete; \ | ^ ../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 62 | T () = delete; \ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/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:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 32 | DELETE_DEFAULT_METHODS (CFilter_base); | ^~~~~~~~~~~~~~~~~~~~~~ -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/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 '< >' +../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); - | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/common/lang.hh:63:11: note: remove the '< >' - 63 | T (const T&) = delete; \ - | ^ -../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 110 | DELETE_DEFAULT_METHODS (CFilterSE); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, - | ^~~~~~ -../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' -../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] +../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: note: remove the '< >' 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 161 | DELETE_DEFAULT_METHODS (CFilterDUE); +../../src/libsigproc/ext-filters.hh: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_, +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:164:24: note: remove the '< >' -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh:85:9: note: by 'bool metrics::mc::SPPack::same_as(const metrics::mc::SPPack&) const' - 85 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/mc.hh: In member function 'std::valarray metrics::mc::CProfile::course(double) const': -../../src/libmetrics/mc.hh:157:36: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 157 | return move(metrics::CProfile::course(bin)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libmetrics/page-metrics-base.hh: At global scope: -../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] - 72 | virtual bool same_as( const SPPack& rv) const - | ^~~~~~~ -In file included from ../../src/libmetrics/all.hh:16, - from ../../src/aghermann/expdesign/recording.hh:19, - from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/achermann.hh:24: -../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' - 97 | same_as( const SPPack& rv) const - | ^~~~~~~ -../../src/libmetrics/psd.hh: In member function 'std::valarray metrics::psd::CProfile::course(double, double) const': -../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 152 | return move(acc); - | ~~~~^~~~~ -../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libsigfile/page.hh:20, - from ui/sf/d/rk1968.hh:15: -../../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/libsigproc/ext-filters.hh:60:24: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:63:11: note: remove the '< >' 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:32:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 32 | DELETE_DEFAULT_METHODS (CFilter_base); +../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 57 | DELETE_DEFAULT_METHODS (CFilterIIR); | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh: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:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../src/libmetrics/mc.hh:17, + from ../../src/libmetrics/all.hh:17: +../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 60 | CFilterIIR (size_t samplerate_, + | ^~~~~~ ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ -../../src/libsigproc/ext-filters.hh:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/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:57:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' - 57 | DELETE_DEFAULT_METHODS (CFilterIIR); +../../src/libsigproc/ext-filters.hh:110:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 110 | DELETE_DEFAULT_METHODS (CFilterSE); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../src/libmetrics/mc.hh:17, - from ../../src/libmetrics/all.hh:17: -../../src/libsigproc/ext-filters.hh:60:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 60 | CFilterIIR (size_t samplerate_, - | ^~~~~~ ../../src/libsigproc/ext-filters.hh:60:24: note: remove the '< >' +../../src/libsigproc/ext-filters.hh:113:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ ../../src/common/lang.hh:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -17248,6 +17254,25 @@ 113 | CFilterSE (size_t samplerate_, TFilterDirection direction_, | ^~~~~~ ../../src/libsigproc/ext-filters.hh:113:23: note: remove the '< >' +../../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:62:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 62 | T () = delete; \ | ^ @@ -17260,6 +17285,16 @@ ../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' 161 | DELETE_DEFAULT_METHODS (CFilterDUE); | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/common/lang.hh:63:11: note: remove the '< >' + 63 | T (const T&) = delete; \ + | ^ +../../src/libsigproc/ext-filters.hh:161:9: note: in expansion of macro 'DELETE_DEFAULT_METHODS' + 161 | DELETE_DEFAULT_METHODS (CFilterDUE); + | ^~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 164 | CFilterDUE (size_t samplerate_, TFilterDirection direction_, + | ^~~~~~ +../../src/libsigproc/ext-filters.hh:164:24: note: remove the '< >' ../../src/common/lang.hh:63:11: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 63 | T (const T&) = delete; \ | ^ @@ -17282,51 +17317,34 @@ ../../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 -../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, - | ^~~~~~~~~~ -../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': ../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -In file included from ../../src/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/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/fs.hh:22, - from ../../src/libsigfile/source-base.hh:19, +In file included from ../../src/libsigfile/source-base.hh:19, from ../../src/libsigfile/typed-source.hh:16, - from ../../src/libmetrics/page-metrics-base.hh:21: -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens(const std::string&, char)': -../../src/common/string.hh:61:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 61 | return move(tokens( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:61:20: note: remove 'std::move' call -../../src/common/string.hh: In function 'std::__cxx11::list > agh::str::tokens_trimmed(const std::string&, char)': -../../src/common/string.hh:71:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 71 | return move(tokens_trimmed( s_, sep)); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/common/string.hh:71:20: note: remove 'std::move' call + from ../../src/libmetrics/page-metrics-base.hh:21, + from ../../src/aghermann/model/achermann.hh:23, + from ../../src/aghermann/expdesign/expdesign.hh:27, + from ../../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, "/")); @@ -17336,12 +17354,19 @@ ../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/ui++.o ui/ui++.cc ../../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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui/ui.o ui/ui.cc ../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': ../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' ../../src/libmetrics/page-metrics-base.hh: At global scope: ../../src/libmetrics/page-metrics-base.hh:72:22: warning: 'virtual bool metrics::SPPack::same_as(const metrics::SPPack&) const' was hidden [-Woverloaded-virtual=] 72 | virtual bool same_as( const SPPack& rv) const @@ -17349,7 +17374,7 @@ In file included from ../../src/libmetrics/all.hh:16, from ../../src/aghermann/expdesign/recording.hh:19, from ../../src/aghermann/expdesign/profile.hh:16, - from ../../src/aghermann/model/beersma.hh:22: + from ../../src/aghermann/model/achermann.hh:24: ../../src/libmetrics/psd.hh:97:9: note: by 'bool metrics::psd::SPPack::same_as(const metrics::psd::SPPack&) const' 97 | same_as( const SPPack& rv) const | ^~~~~~~ @@ -17358,7 +17383,8 @@ 152 | return move(acc); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -In file included from ../../src/libmetrics/page-metrics-base.hh:19: +In file included from ../../src/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; \ @@ -17481,15 +17507,16 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -In file included from ui/ui.cc:14: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/aghermann/expdesign/expdesign.hh: In member function 'std::string agh::CExpDesign::name() const': +../../src/aghermann/expdesign/expdesign.hh:78:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call +../../src/aghermann/ui/dirlevel-storable-adapter.hh: At global scope: +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 34 | agh::CExpDesign&, const agh::SExpDirLevelId&, + | ^~~~~~~~~~ +../../src/aghermann/ui/dirlevel-storable-adapter.hh:34:22: note: remove the '< >' In file included from ../../src/libsigproc/sigproc.hh:28, from ../../src/libmetrics/mc-artifacts.hh:19, from ../../src/aghermann/ui/mw/mw.hh:25, @@ -17565,7 +17592,16 @@ 78 | { return move(_session_dir.substr( _session_dir.rfind( '/'))); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/aghermann/expdesign/expdesign.hh:78:30: note: remove 'std::move' call -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lcairo -lvte-2.91 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lconfig++ -lfftw3_omp -lpthread -fopenmp -llua5.1 +In file included from ui/ui.cc:14: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -fopenmp -I/usr/include/lua5.1 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-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! @@ -17596,15 +17632,11 @@ 71 | return move(tokens_trimmed( s_, sep)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/string.hh:71:20: note: remove 'std::move' call -In file included from agh-profile-gen.cc:22: +In file included from ../../src/libsigproc/sigproc.hh:27, + from edfcat.cc:22: ../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] 132 | ensure_within( T& v, const T& l, const T& h) | ^ -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/common/fs.hh: In function 'std::__cxx11::list > agh::fs::path_elements(const std::string&)': ../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 37 | return move(agh::str::tokens( _filename, "/")); @@ -17615,11 +17647,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -In file included from ../../src/libsigproc/sigproc.hh:27, - from edfcat.cc:22: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': ../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 169 | return move(ret); @@ -17636,13 +17663,6 @@ 345 | return move(ccof); | ~~~~^~~~~~ ../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call -In file included from ../../src/libsigfile/source-base.hh:18, - from ../../src/libsigfile/typed-source.hh:16, - from edfhed.cc:21: -../../src/common/alg.hh: At global scope: -../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] - 132 | ensure_within( T& v, const T& l, const T& h) - | ^ ../../src/libsigproc/exstrom.hh: In function 'std::valarray exstrom::ccof_bwbp(unsigned int)': ../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 369 | return move(ccof); @@ -17655,18 +17675,24 @@ 64 | resample_f( signal, start, end, to_size, alg)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigproc/sigproc.hh:63:20: note: remove 'std::move' call -../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': -../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] - 169 | return move(ret); - | ~~~~^~~~~ -../../src/common/alg.hh:169:20: note: remove 'std::move' call ../../src/libsigproc/sigproc.hh: At global scope: ../../src/libsigproc/sigproc.hh:93:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 93 | SSignalRef (const valarray& signal_, size_t samplerate_) | ^ ../../src/libsigproc/sigproc.hh:93:23: note: remove the '< >' +In file included from 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 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)); @@ -17692,10 +17718,56 @@ 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +In file included from ../../src/libsigfile/source-base.hh:18, + from ../../src/libsigfile/typed-source.hh:16, + from edfhed.cc:21: +../../src/common/alg.hh: At global scope: +../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes] + 132 | ensure_within( T& v, const T& l, const T& h) + | ^ +../../src/common/alg.hh: In function 'std::valarray agh::alg::to_vad(const std::valarray&)': +../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] + 169 | return move(ret); + | ~~~~^~~~~ +../../src/common/alg.hh:169:20: note: remove 'std::move' call +../../src/libsigfile/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) + | ^~~~~ +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call +edfcat.cc:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 139 | figure_timepoints( const list& argv) throw (invalid_argument) + | ^~~~~ +edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 170 | figure_channels( const list& argv) throw (invalid_argument) + | ^~~~~ In file included from ../../src/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)); @@ -17716,22 +17788,6 @@ 46 | return move(pre + agh::str::join( ee, "/")); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/common/fs.hh:46:20: note: remove 'std::move' call -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -In file included from ../../src/libsigfile/typed-source.hh:16, - from agh-profile-gen.cc:25: -../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': -../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 297 | { return move(explain_status( _status)); } - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/source-base.hh:297:30: note: remove 'std::move' call -../../src/libsigfile/edf.hh: At global scope: -../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 396 | char* _get_next_field( char**, size_t) throw (TStatus); - | ^~~~~ In file included from edfhed.cc:22: ../../src/libsigfile/edf.hh: At global scope: ../../src/libsigfile/edf.hh:396:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] @@ -17742,18 +17798,13 @@ 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)); } +In file included from ../../src/libsigfile/typed-source.hh:16, + from agh-profile-gen.cc:25: +../../src/libsigfile/source-base.hh: In member function 'virtual std::string sigfile::CSource::explain_status() const': +../../src/libsigfile/source-base.hh:297:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 297 | { return move(explain_status( _status)); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -../../src/libsigfile/edf.hh:94:30: note: remove 'std::move' call -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/libsigfile/source-base.hh:297: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) { @@ -17761,15 +17812,15 @@ 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: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) - | ^~~~~ +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/libmetrics/psd.hh:25, from ../../src/libmetrics/all.hh:16, from agh-profile-gen.cc:26: @@ -17780,17 +17831,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 | ^~~~~~~ -edfcat.cc:139:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 139 | figure_timepoints( const list& argv) 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); | ~~~~^~~~~ ../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call -edfcat.cc:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 170 | figure_channels( const list& argv) throw (invalid_argument) - | ^~~~~ In file included from ../../src/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] @@ -17914,15 +17959,6 @@ 157 | return move(metrics::CProfile::course(bin)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libmetrics/mc.hh:157:36: note: remove 'std::move' call -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/edf.hh:26, from edfhed-gtk.cc:15: @@ -17970,11 +18006,11 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-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) { | ^~ +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread edfhed.cc:246:54: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 6 [-Wformat-truncation=] 246 | snprintf( date_buf, 9, "%02d.%02d.%02d", | ^~~~ @@ -18005,38 +18041,38 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread libtool: warning: Linking the executable agh-profile-gen against the loadable module libtool: warning: libsigfile.so is not portable! libtool: warning: Linking the executable agh-profile-gen against the loadable module +/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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-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: libsigproc.so is not portable! +/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread libtool: warning: Linking the executable agh-profile-gen against the loadable module libtool: warning: libmetrics.so is not portable! libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -fopenmp -Wl,-rpath -Wl,/usr/lib/aarch64-linux-gnu/aghermann -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -pthread -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgthread-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lfftw3_omp -lpthread -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -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 edfhed-gtk against the loadable module -libtool: warning: libsigfile.so is not portable! - libtool: warning: Linking the executable edfcat against the loadable module libtool: warning: libsigproc.so is not portable! +libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/aarch64-linux-gnu/aghermann +libtool: warning: Linking the executable edfhed-gtk against the loadable module +libtool: warning: libsigfile.so is not portable! libtool: warning: Linking the executable edfhed against the loadable module -libtool: warning: Linking the executable edfhed-gtk against the loadable module + libtool: warning: libsigfile.so is not portable! +libtool: warning: Linking the executable edfhed-gtk against the loadable module libtool: warning: libsigproc.so is not portable! libtool: warning: Linking the executable edfhed against the loadable module libtool: warning: libsigproc.so is not portable! -libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/aarch64-linux-gnu/aghermann libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-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/aarch64-linux-gnu/aghermann libtool: link: g++ -Wall -std=c++0x -fno-rtti -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -g -O2 -ffile-prefix-map=/build/reproducible-path/aghermann-1.1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu -lgsl -lgslcblas -lm -lfftw3_omp -lpthread -Wl,-rpath -Wl,/usr/lib/aarch64-linux-gnu/aghermann make[5]: Leaving directory '/build/reproducible-path/aghermann-1.1.2/src/tools' @@ -18148,7 +18184,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/aarch64-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/aarch64-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/aarch64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libsigproc.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/aarch64-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/aarch64-linux-gnu/aghermann/libsigproc.la libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu/aghermann' @@ -18159,7 +18195,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/aarch64-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/aarch64-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/aarch64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libsigfile.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/aarch64-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/aarch64-linux-gnu/aghermann/libsigfile.la libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu/aghermann' @@ -18169,7 +18205,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/aarch64-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/aarch64-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/aarch64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/libmetrics.so /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/lib/aarch64-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/aarch64-linux-gnu/aghermann/libmetrics.la libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu/aghermann' @@ -18180,7 +18216,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/aarch64-linux-gnu/aghermann' libtool: warning: '../libsigproc/libsigproc.la' has not been installed in '/usr/lib/aarch64-linux-gnu/aghermann' libtool: warning: '../libsigfile/libsigfile.la' has not been installed in '/usr/lib/aarch64-linux-gnu/aghermann' @@ -18196,7 +18232,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/aarch64-linux-gnu/aghermann' libtool: warning: '../libsigproc/libsigproc.la' has not been installed in '/usr/lib/aarch64-linux-gnu/aghermann' libtool: install: /usr/bin/install -c .libs/edfcat /build/reproducible-path/aghermann-1.1.2/debian/aghermann/usr/bin/edfcat @@ -18292,10 +18328,10 @@ diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/aarch64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_spline_eval: it's probably a plugin -dpkg-shlibdeps: warning: 7 other similar warnings have been skipped (use -v to see them all) -dpkg-shlibdeps: warning: debian/aghermann/usr/lib/aarch64-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol gsl_spline_eval: it's probably a plugin +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/aarch64-linux-gnu/aghermann/libsigfile.so contains an unresolvable reference to symbol _ZN3agh3str9sasprintfB5cxx11EPKcz: it's probably a plugin dpkg-shlibdeps: warning: 27 other similar warnings have been skipped (use -v to see them all) +dpkg-shlibdeps: warning: debian/aghermann/usr/lib/aarch64-linux-gnu/aghermann/libsigproc.so contains an unresolvable reference to symbol gsl_pow_2: it's probably a plugin +dpkg-shlibdeps: warning: 7 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' @@ -18304,13 +18340,13 @@ dpkg-shlibdeps: warning: can't extract name and version from library name 'libmetrics.so' dpkg-shlibdeps: warning: debian/aghermann/usr/lib/aarch64-linux-gnu/aghermann/libmetrics.so contains an unresolvable reference to symbol fftw_free: it's probably a plugin dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to see them all) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/aghermann/usr/bin/aghermann debian/aghermann/usr/bin/agh-profile-gen were not linked against libfftw3.so.3 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/aghermann/usr/bin/agh-profile-gen debian/aghermann/usr/bin/aghermann were not linked against libfftw3.so.3 (they use none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'aghermann' in '../aghermann_1.1.2-5_arm64.deb'. dpkg-deb: building package 'aghermann-dbgsym' in '../aghermann-dbgsym_1.1.2-5_arm64.deb'. +dpkg-deb: building package 'aghermann' in '../aghermann_1.1.2-5_arm64.deb'. dpkg-genbuildinfo --build=binary -O../aghermann_1.1.2-5_arm64.buildinfo dpkg-genchanges --build=binary -O../aghermann_1.1.2-5_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -18318,12 +18354,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/331300/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/331300/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/494283 and its subdirectories -I: Current time: Sun Aug 3 08:37:21 -12 2025 -I: pbuilder-time-stamp: 1754253441 +I: removing directory /srv/workspace/pbuilder/331300 and its subdirectories +I: Current time: Sun Sep 6 17:04:59 +14 2026 +I: pbuilder-time-stamp: 1788663899