Diff of the two buildlogs: -- --- b1/build.log 2024-12-23 23:04:13.515980548 +0000 +++ b2/build.log 2024-12-23 23:15:16.649869197 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 23 10:53:24 -12 2024 -I: pbuilder-time-stamp: 1734994404 +I: Current time: Tue Dec 24 13:05:03 +14 2024 +I: pbuilder-time-stamp: 1734995103 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying no-liblas.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12656/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23948/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 Dec 23 23:05 /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/23948/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23948/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='c003454507ed4a529e99abc20cf77dba' - 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='12656' - PS1='# ' - PS2='> ' + INVOCATION_ID=cfefcc3ef01b431ebafc0b557c05baa3 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=23948 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.n85PCWhn/pbuilderrc_iEtn --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.n85PCWhn/b1 --logfile b1/build.log pktools_2.6.7.6+ds-6.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.n85PCWhn/pbuilderrc_I8Q1 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.n85PCWhn/b2 --logfile b2/build.log pktools_2.6.7.6+ds-6.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/12656/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/23948/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -85,7 +117,7 @@ Depends: cmake, debhelper-compat (= 13), dh-sequence-pkgkde-symbolshelper, docbook2x, docbook-xsl, docbook-xml, dpkg-dev (>= 1.22.5), libgdal-dev (>= 1.10.0-0~), libgsl-dev | libgsl0-dev, libboost-dev, libarmadillo-dev, libfann-dev, libsvm-dev, pkg-kde-tools, xsltproc dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19681 files and directories currently installed.) +(Reading database ... 19694 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -462,10 +494,10 @@ Get: 325 http://deb.debian.org/debian unstable/main armhf python3-debian all 0.1.49 [115 kB] Get: 326 http://deb.debian.org/debian unstable/main armhf python3-yaml armhf 6.0.2-1+b1 [158 kB] Get: 327 http://deb.debian.org/debian unstable/main armhf pkg-kde-tools all 0.18.11 [89.0 kB] -Fetched 140 MB in 12s (11.5 MB/s) +Fetched 140 MB in 7s (20.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. -(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 ... 19681 files and directories currently installed.) +(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 ... 19694 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.8-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.8-3) ... Selecting previously unselected package libexpat1:armhf. @@ -478,7 +510,7 @@ Setting up libexpat1:armhf (2.6.4-1) ... Setting up python3.12-minimal (3.12.8-3) ... Selecting previously unselected package python3-minimal. -(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 ... 20001 files and directories currently installed.) +(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 ... 20014 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. @@ -540,7 +572,7 @@ Unpacking libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3-minimal (3.12.7-1) ... Selecting previously unselected package python3. -(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 ... 21064 files and directories currently installed.) +(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 ... 21077 files and directories currently installed.) Preparing to unpack .../000-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package sgml-base. @@ -1520,8 +1552,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Dec 23 22:55:21 UTC 2024. -Universal Time is now: Mon Dec 23 22:55:21 UTC 2024. +Local time is now: Mon Dec 23 23:07:27 UTC 2024. +Universal Time is now: Mon Dec 23 23:07:27 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up mariadb-common (1:11.4.4-2) ... @@ -1828,7 +1860,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/pktools-2.6.7.6+ds/ && 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 > ../pktools_2.6.7.6+ds-6_source.changes +I: user script /srv/workspace/pbuilder/23948/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/23948/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/pktools-2.6.7.6+ds/ && 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 > ../pktools_2.6.7.6+ds-6_source.changes dpkg-buildpackage: info: source package pktools dpkg-buildpackage: info: source version 2.6.7.6+ds-6 dpkg-buildpackage: info: source distribution unstable @@ -1911,7 +1947,7 @@ -- Using GSL from /usr -- Found Armadillo: /usr/include (found version "14.2.1") -- Found FANN: /usr/lib/arm-linux-gnueabihf/libfloatfann.so --- Configuring done (1.7s) +-- Configuring done (1.5s) -- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: @@ -2139,44 +2175,48 @@ xsl:call-template: misplaced xsl:apply-templates make[1]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds' dh_auto_build -O--buildsystem=cmake - cd obj-arm-linux-gnueabihf && make -j3 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-arm-linux-gnueabihf && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' /usr/bin/cmake -S/build/reproducible-path/pktools-2.6.7.6+ds -B/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend +make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src/CMakeFiles/fileClasses.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src/CMakeFiles/base.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src/CMakeFiles/imageClasses.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 1%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -MF CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.d -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 2%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -[ 3%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o +[ 2%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o +[ 4%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o +[ 2%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o +[ 4%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dbase_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/base.dir/base/Vector2d.cc.o -MF CMakeFiles/base.dir/base/Vector2d.cc.o.d -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc -[ 4%] Linking CXX shared library libbase.so +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -MF CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.d -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc +[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o +[ 6%] Linking CXX shared library libbase.so +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/base.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,--dependency-file=CMakeFiles/base.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libbase.so.1 -o libbase.so.1.6.1 CMakeFiles/base.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_symlink_library libbase.so.1.6.1 libbase.so.1 libbase.so make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 4%] Built target base -[ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc +[ 6%] Built target base +[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -2193,6 +2233,23 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'void ImgReaderGdal::getMinMax(int, int, int, int, int, double&, double&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:171:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 171 | for(int icol=0;icol&, double&, double&, unsigned int&, int, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 287 | if(m_scale.size()>theBand){ + | ~~~~~~~~~~~~~~^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:304:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 304 | for(int i=0;i::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -2212,23 +2269,6 @@ 234 | return (char**)""; | ^~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:234:12: warning: cast from 'const char*' to 'char**' increases required alignment of target type [-Wcast-align] -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'void ImgReaderGdal::getMinMax(int, int, int, int, int, double&, double&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:171:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 171 | for(int icol=0;icol&, double&, double&, unsigned int&, int, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 287 | if(m_scale.size()>theBand){ - | ~~~~~~~~~~~~~~^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:304:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 304 | for(int i=0;i&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:170:13: required from here 170 | readData(lineBuffer,startCol,endCol,irow,band); @@ -2257,6 +2297,12 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' 282 | readData(buffer,0,nrOfCol()-1,row,band); @@ -2288,6 +2334,29 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata()': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:222:1: warning: control reaches end of non-void function [-Wreturn-type] 222 | } @@ -2312,52 +2381,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:316:1: warning: control reaches end of non-void function [-Wreturn-type] 316 | } | ^ -In file included from /usr/include/armadillo:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: -/usr/include/armadillo_bits/compiler_check.hpp:87:98: note: '#pragma message: INFO: support for C++11 is deprecated; minimum recommended standard is C++14' - 87 | #pragma message ("INFO: support for C++11 is deprecated; minimum recommended standard is C++14") - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'double ImgReaderGdal::getHistogram(std::vector&, double&, double&, unsigned int&, int, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:278:22: note: 'pfnProgress' was declared here - 278 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:279:11: note: 'pProgressData' was declared here - 279 | void* pProgressData; - | ^~~~~~~~~~~~~ -[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:22: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; @@ -2387,40 +2410,23 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:261:9: warning: unused variable 'posOffset' [-Wunused-variable] 261 | int posOffset=(pos)?2:0; | ^~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const ImgReaderGdal&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:96:10: warning: variable 'papszMetadata' set but not used [-Wunused-but-set-variable] - 96 | char **papszMetadata; - | ^~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const std::string&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:171:10: warning: variable 'papszMetadata' set but not used [-Wunused-but-set-variable] - 171 | char **papszMetadata; - | ^~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'void ImgWriterGdal::rasterizeOgr(ImgReaderOgr&, const std::vector&, const std::vector >&, const std::vector >&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:329:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 329 | while(burnBands.size()&, double&, double&, unsigned int&, int, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:278:22: note: 'pfnProgress' was declared here + 278 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:279:11: note: 'pProgressData' was declared here + 279 | void* pProgressData; + | ^~~~~~~~~~~~~ +[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc +[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc In file included from /usr/include/c++/14/iostream:41, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:20: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', @@ -2441,84 +2447,8 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:16: note: 'y' was declared here 235 | double x,y; | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] - 24 | FileReaderAscii::FileReaderAscii(void) - | ^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] - 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) - | ^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:33:1: warning: when initialized here [-Wreorder] - 33 | FileReaderAscii::FileReaderAscii(const std::string& filename, const char& fieldseparator) - | ^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:109:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 109 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:202:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 202 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 230 | if(totalCol!=ncol){ - | ~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: 'pTransformArg' may be used uninitialized [-Wmaybe-uninitialized] - 354 | if(GDALRasterizeLayers( (GDALDatasetH)m_gds,nrOfBand(),&(bands[0]),layers.size(),&(layers[0]),NULL,pTransformArg,NULL,coptions,pfnProgress,pProgressArg)!=CE_None){ - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here - 345 | void* pTransformArg; - | ^~~~~~~~~~~~~ -[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc -[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc -[ 10%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc -[ 11%] Linking CXX shared library libfileClasses.so -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=1 -/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,--dependency-file=CMakeFiles/fileClasses.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libfileClasses.so.1 -o libfileClasses.so.1.6.1 CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_symlink_library libfileClasses.so.1.6.1 libfileClasses.so.1 libfileClasses.so -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 11%] Built target fileClasses -[ 12%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2528,6 +2458,13 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': @@ -2544,12 +2481,11 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; @@ -2577,16 +2513,18 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:443:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 443 | for(int ip=0;ip&, const std::string&, const std::string&, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:469:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 469 | for(int ip=0;ip&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const std::string&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:171:10: warning: variable 'papszMetadata' set but not used [-Wunused-but-set-variable] + 171 | char **papszMetadata; + | ^~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::ascii2ogr(const std::string&, const std::string&, const std::vector >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable 'skip' [-Wunused-variable] 538 | bool skip=false; @@ -2594,6 +2532,10 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] 602 | bool skip=false; | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'void ImgWriterGdal::rasterizeOgr(ImgReaderOgr&, const std::vector&, const std::vector >&, const std::vector >&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:329:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 329 | while(burnBands.size()::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 250 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] + 24 | FileReaderAscii::FileReaderAscii(void) + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] + 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:33:1: warning: when initialized here [-Wreorder] + 33 | FileReaderAscii::FileReaderAscii(const std::string& filename, const char& fieldseparator) + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:109:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 109 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:202:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 202 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 230 | if(totalCol!=ncol){ + | ~~~~~~~~^~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: 'pTransformArg' may be used uninitialized [-Wmaybe-uninitialized] + 354 | if(GDALRasterizeLayers( (GDALDatasetH)m_gds,nrOfBand(),&(bands[0]),layers.size(),&(layers[0]),NULL,pTransformArg,NULL,coptions,pfnProgress,pProgressArg)!=CE_None){ + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here + 345 | void* pTransformArg; + | ^~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::ascii2ogr(const std::string&, const std::string&, const std::vector >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:618:36: warning: 'polyFeature' may be used uninitialized [-Wmaybe-uninitialized] 618 | polyFeature->SetField(fieldId,atof(value.c_str())); @@ -2633,6 +2638,37 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:534:19: note: 'pointFeature' was declared here 534 | OGRFeature *pointFeature; | ^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +[ 11%] Linking CXX shared library libfileClasses.so +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=1 +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:24: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,--dependency-file=CMakeFiles/fileClasses.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libfileClasses.so.1 -o libfileClasses.so.1.6.1 CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_symlink_library libfileClasses.so.1.6.1 libfileClasses.so.1 libfileClasses.so +[ 12%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 12%] Built target fileClasses [ 13%] Linking CXX shared library libimageClasses.so cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/imageClasses.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,--dependency-file=CMakeFiles/imageClasses.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libimageClasses.so.1 -o libimageClasses.so.1.6.1 CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo @@ -2645,11 +2681,13 @@ make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc -[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o +[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o +[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o +[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -MF CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc -[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc +[ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc: In member function 'std::string Egcs::geo2cell(double, double) const': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc:166:10: warning: unused variable 'xcel' [-Wunused-variable] @@ -2672,6 +2710,21 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:27: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 58 | if(index>=m_classes.size()) + | ~~~~~^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 54 | for(index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] 159 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] + 159 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] 78 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] 83 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] 179 | for(int ir=0;ir >::size_type' {aka 'unsigned int'} [-Wsign-compare] 188 | for(int iref=0;iref >::size_type' {aka 'unsigned int'} [-Wsign-compare] 276 | for(int iclass=0;iclass >&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:93:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 93 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 136 | for(int isample=0;isample Vector2d::operator=(const Vector2d&) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here 137 | m_results=theResults; @@ -2763,63 +2829,28 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:303:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 303 | for(int icol=0;icoloperator[](irow).size();++icol) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' - 95 | return *this; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here - 137 | m_results=theResults; - | ^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 58 | if(index>=m_classes.size()) - | ~~~~~^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] - 159 | for(int icol=0;icol >&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:93:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 93 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 136 | for(int isample=0;isample::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' + 95 | return *this; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here + 137 | m_results=theResults; + | ^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': @@ -2847,6 +2878,13 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:502:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 502 | for(int imethod=0;imethod::size_type' {aka 'unsigned int'} [-Wsign-compare] 526 | for(int iband=0;iband::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algo.h:61, from /usr/include/c++/14/algorithm:61, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:31: @@ -3114,6 +3161,12 @@ /usr/include/c++/14/bits/stl_algo.h:1890:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /usr/include/c++/14/bits/stl_algo.h: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1812 | __final_insertion_sort(_RandomAccessIterator __first, @@ -3125,38 +3178,6 @@ /usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::filter(ImgReaderGdal&, ImgWriterGdal&, bool, bool, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:138:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 138 | for(int imask=0;imask >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1259 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 1154 | template T StatFactory::percentile(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, double percent, T minimum, T maximum) const - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1173:12: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:33:5: required from here 33 | : m_taps(taps) @@ -3511,6 +3514,19 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 270 | for(int index=0;index >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', + inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, + inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: +/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1905 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1906 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1907 | __comp); + | ~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1908 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/14/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]' 119 | ::new((void*)__p) _Tp(std::forward<_Args>(__args)...); @@ -3576,6 +3592,24 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 1154 | template T StatFactory::percentile(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, double percent, T minimum, T maximum) const + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 +In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', + inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, + inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1173:12: +/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1905 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1906 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1907 | __comp); + | ~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1908 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | poBand->RasterIO(GF_Write,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); @@ -3584,23 +3618,8 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] 58 | } | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ +[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'void filter2d::Filter2d::shift(const Vector2d&, Vector2d&, double, double, double, filter2d::RESAMPLE, bool) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:623:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 623 | pfnProgress(progress,pszMessage,pProgressArg); @@ -3685,12 +3704,153 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:200:15: note: 'pszMessage' was declared here 200 | const char* pszMessage; | ^~~~~~~~~~ +[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -MF CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.d -o CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = svm_node* const; T = const svm_node*]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:278:7: required from here + 278 | clone(x,x_,l); + | ~~~~~^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'svm_node* const*' to type 'void*' casts away qualifiers [-Wcast-qual] + 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = const double; T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:514:7: required from here + 514 | clone(p, p_,l); + | ~~~~~^~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'const double*' to type 'void*' casts away qualifiers [-Wcast-qual] + 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = const signed char; T = signed char]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:515:7: required from here + 515 | clone(y, y_,l); + | ~~~~~^~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'const signed char*' to type 'void*' casts away qualifiers [-Wcast-qual] + 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In function 'svm_model* svm_load_model(const char*)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2749:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2749 | fscanf(fp,"%80s",cmd); + | ~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2753:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2753 | fscanf(fp,"%80s",cmd); + | ~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2778:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2778 | fscanf(fp,"%80s",cmd); + | ~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2802:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2802 | fscanf(fp,"%d",¶m.degree); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2804:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2804 | fscanf(fp,"%lf",¶m.gamma); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2806:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2806 | fscanf(fp,"%lf",¶m.coef0); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2808:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2808 | fscanf(fp,"%d",&model->nr_class); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2810:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2810 | fscanf(fp,"%d",&model->l); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2816:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2816 | fscanf(fp,"%lf",&model->rho[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2823:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2823 | fscanf(fp,"%d",&model->label[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2830:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2830 | fscanf(fp,"%lf",&model->probA[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2837:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2837 | fscanf(fp,"%lf",&model->probB[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2844:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2844 | fscanf(fp,"%d",&model->nSV[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algo.h:61, + from /usr/include/c++/14/algorithm:61, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:25: +/usr/include/c++/14/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = double; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': +/usr/include/c++/14/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, + | ^~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': +/usr/include/c++/14/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1876 | __introsort_loop(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/14/bits/stl_algo.h:1890:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': +/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1770 | __insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': +/usr/include/c++/14/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1812 | __final_insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/14/bits/stl_algo.h:1817:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1817 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1822 | std::__insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /usr/include/c++/14/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:43: +/usr/include/c++/14/bits/vector.tcc: In function 'void std::vector<_Tp, _Alloc>::_M_assign_aux(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/14/bits/vector.tcc:318:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 318 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/vector.tcc:318:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In file included from /usr/include/c++/14/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:23: +/usr/include/c++/14/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/14/bits/vector.tcc:195:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 195 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/vector.tcc:195:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In file included from /usr/include/c++/14/vector:66: +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void filter::Filter::dwtForward(std::vector&, const std::string&, int)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:208:13: +/usr/include/c++/14/bits/stl_vector.h:1568:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1568 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void filter::Filter::dwtInverse(std::vector&, const std::string&, int)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:226:13: +/usr/include/c++/14/bits/stl_vector.h:1568:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1568 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void filter::Filter::dwtCut(std::vector&, const std::string&, int, double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:254:13: +/usr/include/c++/14/bits/stl_vector.h:1568:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1568 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h: In constructor 'imgregression::ImgRegression::ImgRegression()': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:45:12: warning: 'imgregression::ImgRegression::m_threshold' will be initialized after [-Wreorder] 45 | double m_threshold; @@ -3701,6 +3861,19 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:25:1: warning: when initialized here [-Wreorder] 25 | ImgRegression::ImgRegression(void) | ^~~~~~~~~~~~~ +In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', + inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, + inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: +/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1905 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1906 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1907 | __comp); + | ~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1908 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:48:24: required from here 48 | imgReader1.readData(rowBuffer1,GDT_Float64,irow1,band1); @@ -3745,33 +3918,34 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1326 | if(j>=y.size()){ | ~^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 1154 | template T StatFactory::percentile(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, double percent, T minimum, T maximum) const + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 +In file included from /usr/include/c++/14/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = double; _Alloc = std::allocator]', + inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1162:19: +/usr/include/c++/14/bits/stl_vector.h:829:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 829 | { _M_assign_aux(__first, __last, std::__iterator_category(__first)); } + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', + inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, + inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1173:12: +/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1905 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1906 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1907 | __comp); + | ~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1908 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:23: -/usr/include/c++/14/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/14/bits/vector.tcc:195:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 195 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/vector.tcc:195:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -In file included from /usr/include/c++/14/vector:66: -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void filter::Filter::dwtForward(std::vector&, const std::string&, int)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:208:13: -/usr/include/c++/14/bits/stl_vector.h:1568:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1568 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void filter::Filter::dwtInverse(std::vector&, const std::string&, int)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:226:13: -/usr/include/c++/14/bits/stl_vector.h:1568:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1568 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void filter::Filter::dwtCut(std::vector&, const std::string&, int, double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:254:13: -/usr/include/c++/14/bits/stl_vector.h:1568:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1568 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/vector:62, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:23: /usr/include/c++/14/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]': @@ -3806,6 +3980,10 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::stat(ImgReaderGdal&, ImgWriterGdal&, const std::string&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:412:38: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 412 | lineOutput[x]=stat.percentile(pixelInput,pixelInput.begin(),pixelInput.end(),m_threshold[0]); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3824,21 +4002,6 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algo.h:61, - from /usr/include/c++/14/algorithm:61, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:25: -/usr/include/c++/14/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = double; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': -/usr/include/c++/14/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, - | ^~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': -/usr/include/c++/14/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1876 | __introsort_loop(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/14/bits/stl_algo.h:1890:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3857,29 +4020,10 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': -/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1770 | __insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': -/usr/include/c++/14/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1812 | __final_insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/14/bits/stl_algo.h:1817:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1817 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1822 | std::__insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:43: -/usr/include/c++/14/bits/vector.tcc: In function 'void std::vector<_Tp, _Alloc>::_M_assign_aux(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/14/bits/vector.tcc:318:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 318 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/vector.tcc:318:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::stats(ImgReaderGdal&, ImgWriterGdal&, const std::vector >&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:487:51: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 487 | lineOutput[imethod][x]=stat.percentile(pixelInput,pixelInput.begin(),pixelInput.end(),threshold); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3916,23 +4060,8 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::stat(ImgReaderGdal&, ImgWriterGdal&, const std::string&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:412:38: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 412 | lineOutput[x]=stat.percentile(pixelInput,pixelInput.begin(),pixelInput.end(),m_threshold[0]); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 22%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o -MF CMakeFiles/algorithms.dir/base/Vector2d.cc.o.d -o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool statfactory::StatFactory::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:113:18, @@ -3942,6 +4071,16 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In member function 'void filter::Filter::filter(const std::vector&, std::vector&, const std::string&, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:617:32: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 617 | output[i]=stat.percentile(statBuffer,statBuffer.begin(),statBuffer.end(),m_threshold[0]); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:669:32: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 669 | output[i]=stat.percentile(statBuffer,statBuffer.begin(),statBuffer.end(),m_threshold[0]); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:760:32: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 760 | output[i]=stat.percentile(statBuffer,statBuffer.begin(),statBuffer.end(),m_threshold[0]); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3960,34 +4099,6 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 1154 | template T StatFactory::percentile(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, double percent, T minimum, T maximum) const - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 -In file included from /usr/include/c++/14/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = double; _Alloc = std::allocator]', - inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1162:19: -/usr/include/c++/14/bits/stl_vector.h:829:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 829 | { _M_assign_aux(__first, __last, std::__iterator_category(__first)); } - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1173:12: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::stats(ImgReaderGdal&, ImgWriterGdal&, const std::vector >&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:487:51: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 487 | lineOutput[imethod][x]=stat.percentile(pixelInput,pixelInput.begin(),pixelInput.end(),threshold); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -4006,87 +4117,12 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In member function 'void filter::Filter::filter(const std::vector&, std::vector&, const std::string&, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:617:32: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 617 | output[i]=stat.percentile(statBuffer,statBuffer.begin(),statBuffer.end(),m_threshold[0]); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:669:32: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 669 | output[i]=stat.percentile(statBuffer,statBuffer.begin(),statBuffer.end(),m_threshold[0]); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:760:32: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 760 | output[i]=stat.percentile(statBuffer,statBuffer.begin(),statBuffer.end(),m_threshold[0]); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -MF CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.d -o CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = svm_node* const; T = const svm_node*]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:278:7: required from here - 278 | clone(x,x_,l); - | ~~~~~^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'svm_node* const*' to type 'void*' casts away qualifiers [-Wcast-qual] - 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = const double; T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:514:7: required from here - 514 | clone(p, p_,l); - | ~~~~~^~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'const double*' to type 'void*' casts away qualifiers [-Wcast-qual] - 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = const signed char; T = signed char]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:515:7: required from here - 515 | clone(y, y_,l); - | ~~~~~^~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'const signed char*' to type 'void*' casts away qualifiers [-Wcast-qual] - 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In function 'svm_model* svm_load_model(const char*)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2749:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2749 | fscanf(fp,"%80s",cmd); - | ~~~~~~^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2753:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2753 | fscanf(fp,"%80s",cmd); - | ~~~~~~^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2778:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2778 | fscanf(fp,"%80s",cmd); - | ~~~~~~^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2802:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2802 | fscanf(fp,"%d",¶m.degree); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2804:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2804 | fscanf(fp,"%lf",¶m.gamma); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2806:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2806 | fscanf(fp,"%lf",¶m.coef0); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2808:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2808 | fscanf(fp,"%d",&model->nr_class); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2810:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2810 | fscanf(fp,"%d",&model->l); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2816:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2816 | fscanf(fp,"%lf",&model->rho[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2823:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2823 | fscanf(fp,"%d",&model->label[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2830:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2830 | fscanf(fp,"%lf",&model->probA[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2837:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2837 | fscanf(fp,"%lf",&model->probB[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2844:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2844 | fscanf(fp,"%d",&model->nSV[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = double; _Alloc = std::allocator]', inlined from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:230:33, inlined from 'void filter2d::Filter2d::shift(ImgReaderGdal&, ImgWriterGdal&, double, double, double, filter2d::RESAMPLE, bool)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:860:24: /usr/include/c++/14/bits/stl_vector.h:829:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 829 | { _M_assign_aux(__first, __last, std::__iterator_category(__first)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 22%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o -MF CMakeFiles/algorithms.dir/base/Vector2d.cc.o.d -o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::doit(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int, int, short int, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:548:44: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 548 | outBuffer[x/down]=stat.percentile(windowBuffer,windowBuffer.begin(),windowBuffer.end(),m_threshold[0]); @@ -4104,31 +4140,49 @@ make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' [ 23%] Built target algorithms make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend +make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend +make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkinfo.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkcrop.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkdiff.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 24%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkgetmask.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -MF CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.d -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc -make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build +make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 25%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -MF CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.d -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 26%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o [ 26%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o +[ 26%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -MF CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.d -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -MF CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.d -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -MF CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.d -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc +[ 27%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -MF CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.d -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -4154,17 +4208,94 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:181:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 181 | for(int iband=0;iband&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:217:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 217 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 224 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] + 236 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] + 248 | for(int ivalid=0;ivalid&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:26: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 58 | if(index>=m_classes.size()) + | ~~~~~^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] + 159 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 186 | for(int iflag=0;iflag >::size_type' {aka 'unsigned int'} [-Wsign-compare] 211 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] 213 | for(int inodata=0;inodata&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:242:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 242 | for(int iflag=0;iflag >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 255 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 262 | for(int rc=0;rc >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 310 | for(int iinput=0;iinput >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 315 | for(int iref=0;iref::size_type' {aka 'unsigned int'} [-Wsign-compare] 405 | for(int iy=0;iy::size_type' {aka 'unsigned int'} [-Wsign-compare] + 447 | for(int iflag=0;iflag::iterator panit=panMap.begin(); + | ^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:513:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 513 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] + 522 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} [-Wsign-compare] + 738 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] + 746 | for(int rc=0;rc::size_type' {aka 'unsigned int'} [-Wsign-compare] + 800 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] + 813 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} [-Wsign-compare] 264 | for(int ipair=0;ipair&, int, int) [with T = float]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here - 418 | imgReader.readData(rowBuffer, static_cast(theRow), theBand); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here + 218 | imgReader.readData(lineBuffer[iband],irow,band_opt[iband]); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4251,36 +4425,55 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here - 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' + 203 | return writeData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:24: required from here + 264 | imgWriter.writeData(writeBuffer,irow); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' - 188 | readData(readBuffer_upper,minCol,maxCol,static_cast(upperRow),band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here - 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:506:37: required from here + 506 | inputReader.readData(inputValue,i,j,band_opt[0]); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 106 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 108 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here + 521 | maskReader.readData(maskValue,i,j,0); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 106 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 108 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' + 282 | readData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here + 418 | imgReader.readData(rowBuffer, static_cast(theRow), theBand); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4293,7 +4486,14 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here + 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 169 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -4302,16 +4502,16 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here - 786 | maskReader.readData(lineMask,static_cast(rowMask),mskband_opt[0]); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here + 765 | inputReader.readData(lineInput,irow,band_opt[0]); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4324,7 +4524,7 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -4333,148 +4533,67 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' + 293 | readData(buffer,0,nrOfCol()-1,row,band,resample); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here + 812 | maskReader.readData(lineMask,jmask); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 169 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here - 843 | imgWriter.writeData(writeBuffer,irow,writeBand); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here + 876 | gdalWriter.writeData(lineOutput,irow); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:26: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 58 | if(index>=m_classes.size()) - | ~~~~~^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] - 159 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 186 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] - 242 | for(int iflag=0;iflag >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 255 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 262 | for(int rc=0;rc >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 310 | for(int iinput=0;iinput >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 315 | for(int iref=0;iref::size_type' {aka 'unsigned int'} [-Wsign-compare] - 447 | for(int iflag=0;iflag::iterator panit=panMap.begin(); - | ^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:513:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 513 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] - 522 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} [-Wsign-compare] - 738 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] - 746 | for(int rc=0;rc::size_type' {aka 'unsigned int'} [-Wsign-compare] - 800 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] - 813 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' + 188 | readData(readBuffer_upper,minCol,maxCol,static_cast(upperRow),band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here + 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 106 | if(m_scale.size()>band) +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 108 | if(m_offset.size()>band) +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here - 521 | maskReader.readData(maskValue,i,j,0); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 106 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 108 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here - 765 | inputReader.readData(lineInput,irow,band_opt[0]); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here + 786 | maskReader.readData(lineMask,static_cast(rowMask),mskband_opt[0]); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4487,7 +4606,7 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -4496,29 +4615,31 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' - 293 | readData(buffer,0,nrOfCol()-1,row,band,resample); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here - 812 | maskReader.readData(lineMask,jmask); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here - 876 | gdalWriter.writeData(lineOutput,irow); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here + 843 | imgWriter.writeData(writeBuffer,irow,writeBand); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); @@ -4533,13 +4654,16 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:51, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:22: -/usr/include/c++/14/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]': -/usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2093 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, - | ^~~~~~~~~ -/usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, @@ -4566,37 +4690,13 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:324:26: note: 'pfnProgress' was declared here - 324 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here - 325 | void* pProgressData; - | ^~~~~~~~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, - inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:193:19: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, - inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:194:21: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:51, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:22: +/usr/include/c++/14/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]': +/usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2093 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, + | ^~~~~~~~~ +/usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -4615,15 +4715,39 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2147 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 27%] Linking CXX executable pkinfo -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:244:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 244 | pfnProgress(progress,pszMessage,pProgressArg); +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:126:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 126 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:240:15: note: 'pszMessage' was declared here - 240 | const char* pszMessage; +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:122:15: note: 'pszMessage' was declared here + 122 | const char* pszMessage; | ^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:324:26: note: 'pfnProgress' was declared here + 324 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here + 325 | void* pProgressData; + | ^~~~~~~~~~~~~ +[ 28%] Linking CXX executable pkgetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkgetmask.dir/link.d CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -o pkgetmask -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 28%] Built target pkgetmask +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pksetmask.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 29%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -MF CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.d -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:354:24: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 354 | pfnProgress(progress,pszMessage,pProgressArg); @@ -4649,125 +4773,50 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:393:23: note: 'writeFeature' was declared here 393 | OGRFeature *writeFeature; | ^~~~~~~~~~~~ +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', + inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, + inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, + inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:193:19: +/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2146 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2147 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', + inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, + inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, + inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:194:21: +/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2146 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2147 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:918:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 918 | stat.minmax(bufferInput,bufferInput.begin(),bufferInput.end(),theMin,theMax); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:922:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 922 | stat.minmax(bufferReference,bufferReference.begin(),bufferReference.end(),theMin,theMax); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 30%] Linking CXX executable pkinfo +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:244:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 244 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:240:15: note: 'pszMessage' was declared here + 240 | const char* pszMessage; + | ^~~~~~~~~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkinfo.dir/link.d CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -o pkinfo -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 27%] Built target pkinfo -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkgetmask.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 28%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -MF CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.d -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:181:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 181 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 217 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 224 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] - 236 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] - 248 | for(int ivalid=0;ivalid&, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here - 218 | imgReader.readData(lineBuffer[iband],irow,band_opt[iband]); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, int, int, int, int) [with T = char]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' - 203 | return writeData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:24: required from here - 264 | imgWriter.writeData(writeBuffer,irow); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 148 | if(buffer.size()!=maxCol-minCol+1){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 29%] Linking CXX executable pkcrop -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcrop.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkcrop.dir/link.d CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -o pkcrop -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 29%] Built target pkcrop -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend +[ 30%] Built target pkinfo +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pksetmask.dir/DependInfo.cmake "--color=" +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkcreatect.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 30%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -MF CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.d -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc -[ 31%] Linking CXX executable pkdiff -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=1 +[ 31%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -MF CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.d -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:22: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -4859,12 +4908,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkdiff.dir/link.d CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -o pkdiff -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 31%] Built target pkdiff -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkcreatect.dir/DependInfo.cmake "--color=" /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); @@ -4873,18 +4916,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 32%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -MF CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.d -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:126:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 126 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:122:15: note: 'pszMessage' was declared here - 122 | const char* pszMessage; - | ^~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -5064,11 +5095,13 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 34%] Linking CXX executable pkgetmask -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkgetmask.dir/link.d CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -o pkgetmask -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +[ 32%] Linking CXX executable pkcrop +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcrop.dir/link.txt --verbose=1 +[ 34%] Linking CXX executable pkdiff +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkcrop.dir/link.d CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -o pkcrop -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 34%] Built target pkgetmask +[ 34%] Built target pkcrop make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkdumpimg.dir/DependInfo.cmake "--color=" @@ -5077,6 +5110,17 @@ make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' [ 35%] Building CXX object CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -MF CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.d -o CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkdiff.dir/link.d CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -o pkdiff -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 35%] Built target pkdiff +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkdumpogr.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 36%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -MF CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.d -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:222:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 222 | pfnProgress(progress,pszMessage,pProgressArg); @@ -5175,19 +5219,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 36%] Linking CXX executable pksetmask -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pksetmask.dir/link.d CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -o pksetmask -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 36%] Built target pksetmask -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkdumpogr.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 37%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -MF CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.d -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: @@ -5209,8 +5240,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -[ 38%] Linking CXX executable pkcreatect -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:158:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 158 | for(int ifield=0;ifieldGetLayerDefn(); | ^~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkcreatect.dir/link.d CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -o pkcreatect -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +[ 37%] Linking CXX executable pksetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pksetmask.dir/link.d CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -o pksetmask -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 38%] Built target pkcreatect +[ 37%] Built target pksetmask make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pksieve.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 39%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o +[ 38%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -MF CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.d -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc +[ 39%] Linking CXX executable pkcreatect +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkcreatect.dir/link.d CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -o pkcreatect -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 39%] Built target pkcreatect +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstat.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 40%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -MF CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.d -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc:23: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -5309,31 +5353,11 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -[ 40%] Linking CXX executable pkdumpimg -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkdumpimg.dir/link.d CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -o pkdumpimg -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 40%] Built target pkdumpimg -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstat.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 41%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -MF CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.d -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:24: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc:117:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 117 | pfnProgress(dfComplete,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc:114:15: note: 'pszMessage' was declared here - 114 | const char* pszMessage; - | ^~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: @@ -5436,8 +5460,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:213:10: warning: unused variable 'progress' [-Wunused-variable] 213 | double progress=0; | ^~~~~~~~ -[ 42%] Linking CXX executable pkdumpogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:32: required from here 268 | imgReader.readDataBlock(readBuffer, 0, imgReader.nrOfCol()-1, 0, imgReader.nrOfRow()-1, band_opt[0]); @@ -5501,6 +5523,8 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +[ 41%] Linking CXX executable pkdumpimg +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); @@ -5509,21 +5533,24 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 43%] Linking CXX executable pksieve -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkdumpogr.dir/link.d CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -o pkdumpogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkdumpimg.dir/link.d CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -o pkdumpimg -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 43%] Built target pkdumpogr +[ 41%] Built target pkdumpimg make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstatascii.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 44%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o +[ 42%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -MF CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.d -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pksieve.dir/link.d CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -o pksieve -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc:117:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 117 | pfnProgress(dfComplete,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc:114:15: note: 'pszMessage' was declared here + 114 | const char* pszMessage; + | ^~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algo.h:61, from /usr/include/c++/14/algorithm:61, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:31: @@ -5531,10 +5558,6 @@ /usr/include/c++/14/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ -[ 44%] Built target pksieve -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstatogr.dir/DependInfo.cmake "--color=" /usr/include/c++/14/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1770 | __insertion_sort(_RandomAccessIterator __first, @@ -5552,9 +5575,8 @@ 2093 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, | ^~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 43%] Linking CXX executable pkdumpogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=1 /usr/include/c++/14/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1876 | __introsort_loop(_RandomAccessIterator __first, @@ -5563,8 +5585,6 @@ /usr/include/c++/14/bits/stl_algo.h:1890:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 45%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -MF CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.d -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93: @@ -5603,12 +5623,54 @@ /usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkdumpogr.dir/link.d CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -o pkdumpogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 43%] Built target pkdumpogr +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstatogr.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 44%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -MF CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.d -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc +[ 45%] Linking CXX executable pksieve +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 In file included from /usr/include/armadillo:27, from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:27, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:25: /usr/include/armadillo_bits/compiler_check.hpp:87:98: note: '#pragma message: INFO: support for C++11 is deprecated; minimum recommended standard is C++14' 87 | #pragma message ("INFO: support for C++11 is deprecated; minimum recommended standard is C++14") | ^ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pksieve.dir/link.d CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -o pksieve -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 45%] Built target pksieve +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstatprofile.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 46%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -MF CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.d -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', + inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, + inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, + inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:193:19: +/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2146 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2147 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', + inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, + inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, + inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:194:21: +/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2146 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2147 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: @@ -5637,24 +5699,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:221:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 221 | for(int ibin=0;ibin >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, - inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:193:19: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, - inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:194:21: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here 166 | inputReader.readData(theData,OFTReal,fieldname_opt[ifield],ilayer,verbose_opt[0]); @@ -5669,6 +5713,34 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 916 | if(output.size()!=nbin){ | ~~~~~~~~~~~~~^~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:28: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:149:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 149 | for(int iclass=0;iclass >' changed in GCC 7.1 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 250 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:260:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 260 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 391 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:399:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 399 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 404 | if(icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 455 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 456 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:458:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 458 | if(irowsize()-1) + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:465:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 465 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:466:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 466 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 468 | if(icol >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: @@ -5709,6 +5837,62 @@ /usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:23: required from here + 217 | asciiReader.readData(dataVector,col_opt); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 210 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 272 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: required from here + 360 | stat.distribution(dataVector[icol],dataVector[icol].begin(),dataVector[icol].end(),statVector[icol],nbin,minValue,maxValue,sigma); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 916 | if(output.size()!=nbin){ + | ~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::correlation(const std::vector&, const std::vector&, int) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:367:110: required from here + 367 | cout << "correlation between columns " << col_opt[0] << " and " << col_opt[1] << ": " << stat.correlation(dataVector[0],dataVector[1]) << endl; + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1303 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1305 | if (j < 0 || j >= y.size()) + | ~~^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1316 | if(i>=x.size()){ + | ~^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1326 | if(j>=y.size()){ + | ~^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::rmse(const std::vector&, const std::vector&) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:371:114: required from here + 371 | cout << "root mean square error between columns " << col_opt[0] << " and " << col_opt[1] << ": " << stat.rmse(dataVector[0],dataVector[1]) << endl; + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1218:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1218 | for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:24: required from here + 431 | stat.distribution2d(dataVector[0],dataVector[1],histVector,nbin,minX,maxX,minY,maxY,sigma); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1027:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1027 | if(output.size()<=binX){ + | ~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1037:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1037 | if(output.size()<=binY){ + | ~~~~~~~~~~~~~^~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); @@ -5819,122 +6003,6 @@ 889 | template void StatFactory::distribution(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, std::vector& output, int nbin, T &minimum, T &maximum, double sigma, const std::string &filename) const | ^~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:889:25: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:260:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 260 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 391 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:399:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 399 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 404 | if(icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 455 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 456 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:458:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 458 | if(irowsize()-1) - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:465:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 465 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:466:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 466 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 468 | if(icol >&, const std::vector&, double, double, bool, bool) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:23: required from here - 217 | asciiReader.readData(dataVector,col_opt); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 210 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 272 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: required from here - 360 | stat.distribution(dataVector[icol],dataVector[icol].begin(),dataVector[icol].end(),statVector[icol],nbin,minValue,maxValue,sigma); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 916 | if(output.size()!=nbin){ - | ~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::correlation(const std::vector&, const std::vector&, int) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:367:110: required from here - 367 | cout << "correlation between columns " << col_opt[0] << " and " << col_opt[1] << ": " << stat.correlation(dataVector[0],dataVector[1]) << endl; - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1303 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1305 | if (j < 0 || j >= y.size()) - | ~~^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1316 | if(i>=x.size()){ - | ~^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1326 | if(j>=y.size()){ - | ~^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::rmse(const std::vector&, const std::vector&) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:371:114: required from here - 371 | cout << "root mean square error between columns " << col_opt[0] << " and " << col_opt[1] << ": " << stat.rmse(dataVector[0],dataVector[1]) << endl; - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1218:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1218 | for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:24: required from here - 431 | stat.distribution2d(dataVector[0],dataVector[1],histVector,nbin,minX,maxX,minY,maxY,sigma); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1027:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1027 | if(output.size()<=binX){ - | ~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1037:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1037 | if(output.size()<=binY){ - | ~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:28: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 188 | stat.distribution(theData,theData.begin(),theData.end(),binData,nbin,minValue,maxValue,sigma); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algo.h:61, from /usr/include/c++/14/algorithm:61, from /usr/include/armadillo:45: @@ -5980,38 +6048,36 @@ /usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -[ 46%] Linking CXX executable pkstatogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 -[ 47%] Linking CXX executable pkstat -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstat.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstat.dir/link.d CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -o pkstat -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 47%] Built target pkstat -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkstatprofile.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstatogr.dir/link.d CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -o pkstatogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:28: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 188 | stat.distribution(theData,theData.begin(),theData.end(),binData,nbin,minValue,maxValue,sigma); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 47%] Linking CXX executable pkstatprofile +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstatprofile.dir/link.d CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -o pkstatprofile -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 48%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -[ 48%] Built target pkstatogr -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -MF CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.d -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc +[ 47%] Built target pkstatprofile make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkegcs.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 50%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o +[ 48%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -MF CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.d -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkegcs.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:28: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ +[ 50%] Linking CXX executable pkstat +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstat.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstat.dir/link.d CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -o pkstat -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 50%] Built target pkstat +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkextractimg.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 51%] Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -MF CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.d -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:21: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -6028,97 +6094,23 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +[ 52%] Linking CXX executable pkstatogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkegcs.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:110:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 110 | for(int inodata=0;inodata::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:149:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 149 | for(int iclass=0;iclass&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:889:25: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 889 | template void StatFactory::distribution(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, std::vector& output, int nbin, T &minimum, T &maximum, double sigma, const std::string &filename) const - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:889:25: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:893:9: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 893 | minmax(input,begin,end,minimum,maximum); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'void statfactory::StatFactory::distribution2d(const std::vector&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:987:11: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 987 | minmax(inputX,inputX.begin(),inputX.end(),minX,maxX); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:994:11: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 994 | minmax(inputY,inputY.begin(),inputY.end(),minY,maxY); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:225:16: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 225 | stat.minmax(dataVector[0],dataVector[0].begin(),dataVector[0].end(),minValue,maxValue); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:243:18: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 243 | stat.minmax(dataVector[0],dataVector[0].begin(),dataVector[0].end(),minX,maxX); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:244:18: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 244 | stat.minmax(dataVector[1],dataVector[1].begin(),dataVector[1].end(),minY,maxY); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 360 | stat.distribution(dataVector[icol],dataVector[icol].begin(),dataVector[icol].end(),statVector[icol],nbin,minValue,maxValue,sigma); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 51%] Linking CXX executable pkstatascii -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=1 -[ 52%] Linking CXX executable pkstatprofile -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstatascii.dir/link.d CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -o pkstatascii -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 52%] Built target pkstatascii -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkextractimg.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 53%] Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -MF CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.d -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstatprofile.dir/link.d CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -o pkstatprofile -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstatogr.dir/link.d CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -o pkstatogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 53%] Built target pkstatprofile +[ 52%] Built target pkstatogr make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkextractogr.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 54%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o +[ 53%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -MF CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.d -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc -[ 55%] Linking CXX executable pkegcs -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkegcs.dir/link.d CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -o pkegcs -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 55%] Built target pkegcs -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfillnodata.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -6129,14 +6121,20 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 56%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -MF CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.d -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:889:25: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 889 | template void StatFactory::distribution(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, std::vector& output, int nbin, T &minimum, T &maximum, double sigma, const std::string &filename) const + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:889:25: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:893:9: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 893 | minmax(input,begin,end,minimum,maximum); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:29: @@ -6144,6 +6142,13 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'void statfactory::StatFactory::distribution2d(const std::vector&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:987:11: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 987 | minmax(inputX,inputX.begin(),inputX.end(),minX,maxX); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:994:11: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 994 | minmax(inputY,inputY.begin(),inputY.end(),minY,maxY); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:178:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 178 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:506:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 506 | for(int isample=0;isample&) [with T1 = int; std::ostream = std::basic_ostream]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:156:18: required from here @@ -6246,13 +6235,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 98 | for(int irow=0;irow&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' 282 | readData(buffer,0,nrOfCol()-1,row,band); @@ -6325,6 +6307,35 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:270:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 270 | for(int ipair=0;ipair&, int, int, int, int) [with T = int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:225:16: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 225 | stat.minmax(dataVector[0],dataVector[0].begin(),dataVector[0].end(),minValue,maxValue); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:243:18: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 243 | stat.minmax(dataVector[0],dataVector[0].begin(),dataVector[0].end(),minX,maxX); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:244:18: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 244 | stat.minmax(dataVector[1],dataVector[1].begin(),dataVector[1].end(),minY,maxY); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 360 | stat.distribution(dataVector[icol],dataVector[icol].begin(),dataVector[icol].end(),statVector[icol],nbin,minValue,maxValue,sigma); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:30: /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h: In instantiation of 'std::ostream& operator<<(std::ostream&, const Optionpk&) [with T1 = int; std::ostream = std::basic_ostream]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:231:18: required from here @@ -6598,6 +6616,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | std::tuple<>()); | ~~~~~~~~~~~~~~~ +[ 54%] Linking CXX executable pkstatascii +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=1 +[ 55%] Linking CXX executable pkegcs +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=1 In file included from /usr/include/c++/14/bits/stl_algo.h:61, from /usr/include/c++/14/algorithm:61, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:25: @@ -6629,18 +6651,33 @@ /usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkstatascii.dir/link.d CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -o pkstatascii -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 55%] Built target pkstatascii +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfillnodata.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 56%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -MF CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.d -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In function 'typename std::vector::iterator statfactory::StatFactory::mymax(const std::vector&, typename std::vector::iterator, typename std::vector::iterator) const [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:364:60: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 364 | template inline typename std::vector::iterator StatFactory::mymax(const std::vector& v, typename std::vector::iterator begin, typename std::vector::iterator end) const | ^~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:364:60: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:155:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 155 | pfnProgress(dfComplete,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:152:17: note: 'pszMessage' was declared here - 152 | const char* pszMessage; - | ^~~~~~~~~~ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkegcs.dir/link.d CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -o pkegcs -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 56%] Built target pkegcs +make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfilter.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 57%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -MF CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.d -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: @@ -6672,35 +6709,6 @@ /usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1908 | std::__final_insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -[ 57%] Linking CXX executable pkfillnodata -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=1 -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:333:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 333 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:288:15: note: 'pszMessage' was declared here - 288 | const char* pszMessage; - | ^~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = double; _Compare = std::less >; _Alloc = std::allocator, double> >]', - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:740:49: -/usr/include/c++/14/bits/stl_map.h:513:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, double>, std::_Select1st, double> >, std::less >, std::allocator, double> > >::const_iterator' changed in GCC 7.1 - 513 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 514 | std::tuple(__k), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 515 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkfillnodata.dir/link.d CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -o pkfillnodata -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 57%] Built target pkfillnodata -make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfilter.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 58%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -MF CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.d -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': @@ -6732,37 +6740,31 @@ /usr/include/armadillo_bits/compiler_check.hpp:87:98: note: '#pragma message: INFO: support for C++11 is deprecated; minimum recommended standard is C++14' 87 | #pragma message ("INFO: support for C++11 is deprecated; minimum recommended standard is C++14") | ^ -[ 59%] Linking CXX executable pkextractimg +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:333:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 333 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:288:15: note: 'pszMessage' was declared here + 288 | const char* pszMessage; + | ^~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = double; _Compare = std::less >; _Alloc = std::allocator, double> >]', + inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:740:49: +/usr/include/c++/14/bits/stl_map.h:513:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, double>, std::_Select1st, double> >, std::less >, std::allocator, double> > >::const_iterator' changed in GCC 7.1 + 513 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 514 | std::tuple(__k), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 515 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:155:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 155 | pfnProgress(dfComplete,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:152:17: note: 'pszMessage' was declared here + 152 | const char* pszMessage; + | ^~~~~~~~~~ +[ 58%] Linking CXX executable pkextractimg /usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractimg.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkextractimg.dir/link.d CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -o pkextractimg -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 59%] Built target pkextractimg -make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfilterdem.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 60%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -MF CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.d -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:24: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 127 | if(verbose>1) @@ -6796,12 +6798,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:674:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 674 | for(int isrf=0;isrf&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:888:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 888 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] 898 | for(int iclass2=0;iclass2::size_type' {aka 'unsigned int'} [-Wsign-compare] 1130 | for(int itap=0;itap&, Vector2d&, const std::string&, int, int, bool, double) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:699:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 699 | pfnProgress(progress,pszMessage,pProgressArg); @@ -7192,18 +7278,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:261:15: note: 'pszMessage' was declared here 261 | const char* pszMessage; | ^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = short unsigned int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algo.h:61, from /usr/include/c++/14/algorithm:61, from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:25: @@ -7243,217 +7317,6 @@ 318 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:318:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/14/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_insert_aux(iterator, _Arg&&) [with _Arg = double; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/14/bits/vector.tcc:420:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 420 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'T statfactory::StatFactory::median(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:745:9: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 1154 | template T StatFactory::percentile(const std::vector& input, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, double percent, T minimum, T maximum) const - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1154:22: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 -In file included from /usr/include/c++/14/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = double; _Alloc = std::allocator]', - inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1162:19: -/usr/include/c++/14/bits/stl_vector.h:829:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 829 | { _M_assign_aux(__first, __last, std::__iterator_category(__first)); } - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'T statfactory::StatFactory::percentile(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, double, T, T) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1173:12: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'long unsigned int filter2d::Filter2d::dsm2dtm_swne(const Vector2d&, Vector2d&, double, int, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1189:6: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'long unsigned int filter2d::Filter2d::dsm2dtm_nesw(const Vector2d&, Vector2d&, double, int, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1009:6: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In function 'void filter2d::Filter2d::doit(const Vector2d&, Vector2d&, const std::string&, int, int, short int, bool) [with T1 = double; T2 = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:423:42: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 423 | outBuffer[x/down]=stat.percentile(windowBuffer,windowBuffer.begin(),windowBuffer.end(),m_threshold[0]); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 61%] Linking CXX executable pkextractogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractogr.dir/link.txt --verbose=1 -In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = double; _Alloc = std::allocator]', - inlined from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:230:33, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:191:22: -/usr/include/c++/14/bits/stl_vector.h:829:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 829 | { _M_assign_aux(__first, __last, std::__iterator_category(__first)); } - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1396:30, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:204:19: -/usr/include/c++/14/bits/vector.tcc:377:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 377 | _M_insert_aux(begin() + __n, std::move(__v)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:206:19: -/usr/include/c++/14/bits/vector.tcc:162:28: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 162 | _M_insert_aux(__pos, std::move(__x_copy._M_val())); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'long unsigned int filter2d::Filter2d::dsm2dtm_nwse(const Vector2d&, Vector2d&, double, int, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:915:6, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:336:29: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', - inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /usr/include/c++/14/bits/stl_algo.h:4772:18, - inlined from 'long unsigned int filter2d::Filter2d::dsm2dtm_senw(const Vector2d&, Vector2d&, double, int, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1099:6, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:342:29: -/usr/include/c++/14/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1905 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1906 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1907 | __comp); - | ~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1908:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | std::__final_insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkextractogr.dir/link.d CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -o pkextractogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 61%] Built target pkextractogr -make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfilterascii.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 62%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -MF CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.d -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:613:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 613 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:609:17: note: 'pszMessage' was declared here - 609 | const char* pszMessage; - | ^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:668:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 668 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:664:17: note: 'pszMessage' was declared here - 664 | const char* pszMessage; - | ^~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:28: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -[ 63%] Linking CXX executable pkfilterdem -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterdem.dir/link.txt --verbose=1 -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /usr/include/armadillo:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:30: -/usr/include/armadillo_bits/compiler_check.hpp: At global scope: -/usr/include/armadillo_bits/compiler_check.hpp:87:98: note: '#pragma message: INFO: support for C++11 is deprecated; minimum recommended standard is C++14' - 87 | #pragma message ("INFO: support for C++11 is deprecated; minimum recommended standard is C++14") - | ^ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkfilterdem.dir/link.d CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -o pkfilterdem -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 63%] Built target pkfilterdem -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 64%] Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -MF CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.d -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:28: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -[ 65%] Linking CXX executable pkfilter -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilter.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 127 | if(verbose>1) @@ -7511,6 +7374,10 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:342:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 342 | if(icol::_M_insert_aux(iterator, _Arg&&) [with _Arg = double; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/14/bits/vector.tcc:420:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 420 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:153:25: required from here 153 | asciiReader.readData(wavelengthIn,wavelengthIn_opt[0]); @@ -7588,12 +7455,43 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:494:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 494 | if(i+tGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:794:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 794 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 808 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:832:17: warning: unused variable 'normBag' [-Wunused-variable] + 832 | float normBag=0; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:253:14: warning: variable 'readLayer' set but not used [-Wunused-but-set-variable] + 253 | OGRLayer *readLayer; + | ^~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:260:8: warning: variable 'maskIsVector' set but not used [-Wunused-but-set-variable] + 260 | bool maskIsVector=false; + | ^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:291:16: warning: unused variable 'nactive' [-Wunused-variable] + 291 | unsigned int nactive=0; + | ^~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:1141:22: required from here 1141 | testImage.readData(value,static_cast(activePoints[iactive].posx),static_cast(activePoints[iactive].posy),iband); @@ -9486,14 +9828,30 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:791:32: required from here + 791 | imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 471 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:481:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 481 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] + 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkreclass.dir/link.d CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o -o pkreclass -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 92%] Built target pkreclass +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfsann.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 93%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -MF CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.d -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' 282 | readData(buffer,0,nrOfCol()-1,row,band); @@ -9594,25 +9952,42 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = double; _Tp = double; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:117:42: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = double; _Tp = double; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:125:53: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/14/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' + 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/alloc_traits.h:569:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' + 569 | __a.construct(__p, std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_vector.h:1288:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' + 1288 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1289 | __x); + | ~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here + 392 | trainingPixels.push_back(mapit->second); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', + inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, + inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, + inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:193:19: +/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2146 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2147 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', + inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, + inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, + inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:194:21: +/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2146 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2147 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); @@ -9629,64 +10004,15 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:51, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/istream:40, - from /usr/include/c++/14/sstream:40, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:20: -/usr/include/c++/14/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]': -/usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2093 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, - | ^~~~~~~~~ -/usr/include/c++/14/bits/stl_algobase.h:2093:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool statfactory::StatFactory::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:113:18, - inlined from 'void statfactory::StatFactory::meanVar(const std::vector&, double&, double&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:852:16: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 91%] Linking CXX executable pkreclassogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclassogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkreclassogr.dir/link.d CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -o pkreclassogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 91%] Built target pkreclassogr -make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkannogr.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 92%] Building CXX object CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -MF CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.d -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc -In file included from /usr/include/c++/14/bits/stl_algo.h:61, - from /usr/include/c++/14/algorithm:61, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:23: -/usr/include/c++/14/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = PosValue; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': -/usr/include/c++/14/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, - | ^~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_comp_iter]': -/usr/include/c++/14/bits/stl_algo.h:1750:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1750 | __unguarded_linear_insert(_RandomAccessIterator __last, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': -/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1770 | __insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from /usr/include/c++/14/map:62, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:22: -/usr/include/c++/14/bits/stl_tree.h: In function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, double>; _KeyOfValue = std::_Select1st, double> >; _Compare = std::less >; _Alloc = std::allocator, double> >]': -/usr/include/c++/14/bits/stl_tree.h:2206:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, double>, std::_Select1st, double> >, std::less >, std::allocator, double> > >::const_iterator' changed in GCC 7.1 - 2206 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:26: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:24: + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -9695,37 +10021,11 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:25: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, - inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:193:19: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', - inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, - inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, - inlined from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:194:21: -/usr/include/c++/14/bits/stl_algobase.h:2146:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2146 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2147 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:30: +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:27: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 54 | for(index=0;index > >&, unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 757 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 241 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] - 284 | for(int iactive=0;iactive::size_type' {aka 'unsigned int'} [-Wsign-compare] - 301 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 306 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 318 | for(int ipair=0;ipair >&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:125:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 125 | for(int ilayer=0;ilayer::size_type' {aka 'unsigned int'} [-Wsign-compare] + 180 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 330 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] + 375 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 340 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 396 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 352 | if(ibag >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - 388 | if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 425 | for(int isample=trainingPixels[iclass].size();isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 451 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 528 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 571 | for(int ilayer=0;ilayer::size_type' {aka 'unsigned int'} [-Wsign-compare] - 654 | for(int isample=0;isample >::iterator mapit=trainingMap.begin(); - | ^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:677:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 677 | for(int i_connection=0;i_connection >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 739 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:794:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 794 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 808 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:832:17: warning: unused variable 'normBag' [-Wunused-variable] - 832 | float normBag=0; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:253:14: warning: variable 'readLayer' set but not used [-Wunused-but-set-variable] - 253 | OGRLayer *readLayer; - | ^~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:260:8: warning: variable 'maskIsVector' set but not used [-Wunused-but-set-variable] - 260 | bool maskIsVector=false; - | ^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:291:16: warning: unused variable 'nactive' [-Wunused-variable] - 291 | unsigned int nactive=0; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:791:32: required from here - 791 | imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 471 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:481:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 481 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] - 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:477:30: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + 477 | if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 520 | for(int isample=trainingPixels[iclass].size();isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 547 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 582 | for(int iname=0;iname >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 611 | if(testPixels.size()>iclass){ + | ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:621:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 621 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 632 | for(int isample=0;isample >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:671:32: required from here + 671 | cost=selector.forward(trainingFeatures,costfactory,subset,maxFeatures,verbose_opt[0]); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:117:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 117 | while(subset.size() >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:674:33: required from here + 674 | cost=selector.backward(trainingFeatures,costfactory,subset,maxFeatures,verbose_opt[0]); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:135:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 135 | for(int iFeature=0;iFeature::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(subset.size()==minFeatures) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:140:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | while(subset.size()>minFeatures){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::bruteForce(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:678:35: required from here + 678 | cost=selector.bruteForce(trainingFeatures,costfactory,subset,maxFeatures,verbose_opt[0]); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:229:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 229 | if(subset.size()>=maxLevels) + | ~~~~~~~~~~~~~^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:235:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 235 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::addFeature(std::vector >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:163:28: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' + 163 | cost.push_back(addFeature(v,theCostFactory,subset,verbose)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:668:33: required from here + 668 | cost=selector.floating(trainingFeatures,costfactory,subset,maxFeatures,epsilon_cost_opt[0],verbose_opt[0]); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:277:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 277 | if(subset.size()>=maxLevels) + | ~~~~~~~~~~~~~^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:283:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 283 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::removeFeature(std::vector >&, CostFactory&, std::__cxx11::list&, int&, short int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:185:34: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' + 185 | double cost_r=removeFeature(v,theCostFactory,subset,x_r,verbose); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:668:33: required from here + 668 | cost=selector.floating(trainingFeatures,costfactory,subset,maxFeatures,epsilon_cost_opt[0],verbose_opt[0]); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:324:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 324 | if(subset.size()>maxLevels||subset.empty()){ + | ~~~~~~~~~~~~~^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:331:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 331 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'void Vector2d::selectCols(const std::__cxx11::list&, Vector2d&) const [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:236:27: required from 'double FeatureSelector::bruteForce(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]' + 236 | v[iclass].selectCols(tmpset,tmpv[iclass]); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:678:35: required from here + 678 | cost=selector.bruteForce(trainingFeatures,costfactory,subset,maxFeatures,verbose_opt[0]); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:161:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 161 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:164:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'unsigned int'} [-Wsign-compare] + 164 | for(int icol=0;icol >; _Distance = int; _Tp = PosValue; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': +/usr/include/c++/14/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, + | ^~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_comp_iter]': +/usr/include/c++/14/bits/stl_algo.h:1750:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1750 | __unguarded_linear_insert(_RandomAccessIterator __last, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': +/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1770 | __insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/14/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } @@ -9976,12 +10277,36 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1289 | __x); | ~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here - 392 | trainingPixels.push_back(mapit->second); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:481:29: required from here + 481 | trainingPixels.push_back(mapit->second); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow Vector2d::operator=(const Vector2d&) [with T = float]': +/usr/include/c++/14/bits/stl_algobase.h:940:11: required from 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = Vector2d*; _Tp = Vector2d; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]' + 940 | *__first = __value; + | ~~~~~~~~~^~~~~~~~~ +/usr/include/c++/14/bits/stl_algobase.h:998:21: required from 'void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = Vector2d*; _Tp = Vector2d]' + 998 | { std::__fill_a1(__first, __last, __value); } + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_algobase.h:1029:20: required from 'void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = Vector2d*; _Tp = Vector2d]' + 1029 | std::__fill_a(__first, __last, __value); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/vector.tcc:727:14: required from 'void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; iterator = std::vector >::iterator; size_type = unsigned int; value_type = Vector2d]' + 727 | std::fill(__position.base(), __position.base() + __n, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 728 | __x_copy); + | ~~~~~~~~~ +/usr/include/c++/14/bits/stl_vector.h:1037:4: required from 'void std::vector<_Tp, _Alloc>::resize(size_type, const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; size_type = unsigned int; value_type = Vector2d]' + 1037 | _M_fill_insert(end(), __new_size - size(), __x); + | ^~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:198:26: required from here + 198 | testFeatures.resize(m_nctest[iclass],nFeatures); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 98 | for(int irow=0;irow std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, double>; _KeyOfValue = std::_Select1st, double> >; _Compare = std::less >; _Alloc = std::allocator, double> >]': +/usr/include/c++/14/bits/stl_tree.h:2206:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, double>, std::_Select1st, double> >, std::less >, std::allocator, double> > >::const_iterator' changed in GCC 7.1 + 2206 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val]', inlined from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator >; _Tp = double]' at /usr/include/c++/14/bits/stl_algo.h:3850:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10402,6 +10733,12 @@ /usr/include/c++/14/bits/stl_algo.h:1890:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:768:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 768 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:722:15: note: 'pszMessage' was declared here + 722 | const char* pszMessage; + | ^~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:1132:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 1132 | pfnProgress(progress,pszMessage,pProgressArg); @@ -10429,336 +10766,35 @@ /usr/include/c++/14/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:768:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 768 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:722:15: note: 'pszMessage' was declared here - 722 | const char* pszMessage; - | ^~~~~~~~~~ -[ 93%] Linking CXX executable pkkalman +[ 94%] Linking CXX executable pkkalman /usr/bin/cmake -E cmake_link_script CMakeFiles/pkkalman.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkkalman.dir/link.d CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -o pkkalman -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 93%] Built target pkkalman -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf /build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/CMakeFiles/pkfsann.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 94%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/base -I/usr/include/gdal -I/build/reproducible-path/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -MF CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.d -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc -[ 95%] Linking CXX executable pkann -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=1 -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:26: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkann.dir/link.d CMakeFiles/pkann.dir/src/apps/pkann.cc.o -o pkann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:27: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 58 | if(index>=m_classes.size()) - | ~~~~~^~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] - 159 | for(int icol=0;icol&, int, double, double, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 127 | if(verbose>1) @@ -10916,17 +10952,17 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 286 | if(verbose>1) | ~~~~~~~^~ +[ 98%] Linking CXX executable pkann +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkann.dir/link.d CMakeFiles/pkann.dir/src/apps/pkann.cc.o -o pkann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 98%] Built target pkann /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkregann.cc:258:15: warning: array subscript 3 is above array bounds of 'unsigned int [3]' [-Warray-bounds=] 258 | layers[3]=noutput; | ~~~~~~~~^ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkregann.cc:254:20: note: while referencing 'layers' 254 | unsigned int layers[3]; | ^~~~~~ -[ 98%] Linking CXX executable pkfsann -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkfsann.dir/link.d CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -o pkfsann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 98%] Built target pkfsann [100%] Linking CXX executable pkregann /usr/bin/cmake -E cmake_link_script CMakeFiles/pkregann.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/pkregann.dir/link.d CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -o pkregann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/arm-linux-gnueabihf -lgsl -lgslcblas -lm -larmadillo @@ -10940,7 +10976,7 @@ dh_testroot -O--buildsystem=cmake dh_prep -O--buildsystem=cmake dh_auto_install -O--buildsystem=cmake - cd obj-arm-linux-gnueabihf && make -j3 install DESTDIR=/build/reproducible-path/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-arm-linux-gnueabihf && make -j4 install DESTDIR=/build/reproducible-path/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' /usr/bin/cmake -S/build/reproducible-path/pktools-2.6.7.6+ds -B/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall @@ -11082,7 +11118,7 @@ dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libalgorithms1t64/DEBIAN/symbols doesn't match completely debian/libalgorithms1t64.symbols --- debian/libalgorithms1t64.symbols (libalgorithms1t64_2.6.7.6_armhf) -+++ dpkg-gensymbolssE1Mky 2024-12-23 11:03:29.975746676 -1200 ++++ dpkg-gensymbolsXgkmYV 2024-12-24 13:14:20.910839830 +1400 @@ -146,8 +146,8 @@ (optional=templinst)_ZN8Vector2dIdEC2ERKS0_@Base 2.5.2 (optional=templinst)_ZN8Vector2dIdEC2Eii@Base 2.5.2 @@ -11214,7 +11250,7 @@ dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libimageclasses1t64/DEBIAN/symbols doesn't match completely debian/libimageclasses1t64.symbols --- debian/libimageclasses1t64.symbols (libimageclasses1t64_2.6.7.6_armhf) -+++ dpkg-gensymbols1SPJp3 2024-12-23 11:03:30.891713849 -1200 ++++ dpkg-gensymbolsUSk0Qk 2024-12-24 13:14:22.014735658 +1400 @@ -62,7 +62,7 @@ _ZN13ImgReaderGdal6getMinERiS0_i@Base 2.6.7 _ZN13ImgReaderGdal8getRangeERSt6vectorIsSaIsEEi@Base 2.6.7 @@ -11287,17 +11323,17 @@ dpkg-gencontrol: warning: Depends field of package libbase1t64: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -O--buildsystem=cmake dh_builddeb -O--buildsystem=cmake +dpkg-deb: building package 'libbase1t64-dbgsym' in '../libbase1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. +dpkg-deb: building package 'libalgorithms1t64' in '../libalgorithms1t64_2.6.7.6+ds-6_armhf.deb'. dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-6_armhf.deb'. -dpkg-deb: building package 'libfileclasses1t64-dbgsym' in '../libfileclasses1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. -dpkg-deb: building package 'libalgorithms1t64-dbgsym' in '../libalgorithms1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. dpkg-deb: building package 'libimageclasses1t64' in '../libimageclasses1t64_2.6.7.6+ds-6_armhf.deb'. +dpkg-deb: building package 'libfileclasses1t64' in '../libfileclasses1t64_2.6.7.6+ds-6_armhf.deb'. dpkg-deb: building package 'libimageclasses1t64-dbgsym' in '../libimageclasses1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. +dpkg-deb: building package 'libalgorithms1t64-dbgsym' in '../libalgorithms1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. +dpkg-deb: building package 'libfileclasses1t64-dbgsym' in '../libfileclasses1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. dpkg-deb: building package 'libbase1t64' in '../libbase1t64_2.6.7.6+ds-6_armhf.deb'. -dpkg-deb: building package 'libbase1t64-dbgsym' in '../libbase1t64-dbgsym_2.6.7.6+ds-6_armhf.deb'. -dpkg-deb: building package 'libfileclasses1t64' in '../libfileclasses1t64_2.6.7.6+ds-6_armhf.deb'. dpkg-deb: building package 'pktools-dbgsym' in '../pktools-dbgsym_2.6.7.6+ds-6_armhf.deb'. dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-6_armhf.deb'. -dpkg-deb: building package 'libalgorithms1t64' in '../libalgorithms1t64_2.6.7.6+ds-6_armhf.deb'. dpkg-genbuildinfo --build=binary -O../pktools_2.6.7.6+ds-6_armhf.buildinfo dpkg-genchanges --build=binary -O../pktools_2.6.7.6+ds-6_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -11305,12 +11341,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/23948/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23948/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/12656 and its subdirectories -I: Current time: Mon Dec 23 11:04:08 -12 2024 -I: pbuilder-time-stamp: 1734995048 +I: removing directory /srv/workspace/pbuilder/23948 and its subdirectories +I: Current time: Tue Dec 24 13:15:06 +14 2024 +I: pbuilder-time-stamp: 1734995706