Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 02:40:44.484212411 +0000 +++ b2/build.log 2024-05-15 02:57:33.865254111 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 14 14:10:44 -12 2024 -I: pbuilder-time-stamp: 1715739044 +I: Current time: Wed May 15 16:41:49 +14 2024 +I: pbuilder-time-stamp: 1715740909 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/10924/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1504/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 May 15 02:42 /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/1504/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1504/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='trixie' - 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='b960728c5bad44958830e90442103c84' - 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='10924' - PS1='# ' - PS2='> ' + INVOCATION_ID=48e85b6119cf441e8b8587b7470da93b + 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=1504 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.2bdZ5UDn/pbuilderrc_cmZN --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2bdZ5UDn/b1 --logfile b1/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+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.2bdZ5UDn/pbuilderrc_ZwCJ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2bdZ5UDn/b2 --logfile b2/build.log pktools_2.6.7.6+ds-6.dsc' + SUDO_GID=112 + SUDO_UID=106 + 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 virt64a 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 14 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10924/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1504/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -417,7 +449,7 @@ Get: 280 http://deb.debian.org/debian trixie/main armhf python3-debian all 0.1.49 [115 kB] Get: 281 http://deb.debian.org/debian trixie/main armhf python3-yaml armhf 6.0.1-2 [162 kB] Get: 282 http://deb.debian.org/debian trixie/main armhf pkg-kde-tools all 0.17.1 [84.4 kB] -Fetched 130 MB in 11s (11.4 MB/s) +Fetched 130 MB in 3s (39.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-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 ... 19445 files and directories currently installed.) @@ -1339,8 +1371,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 15 02:14:35 UTC 2024. -Universal Time is now: Wed May 15 02:14:35 UTC 2024. +Local time is now: Wed May 15 02:44:23 UTC 2024. +Universal Time is now: Wed May 15 02:44:23 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up mariadb-common (1:10.11.7-4) ... @@ -1604,7 +1636,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/1504/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1504/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 @@ -1686,8 +1722,8 @@ -- Using GSL from /usr -- Found Armadillo: /usr/include (found version "12.8.2") -- Found FANN: /usr/lib/arm-linux-gnueabihf/libfloatfann.so --- Configuring done (3.5s) --- Generating done (0.6s) +-- Configuring done (2.1s) +-- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: @@ -1914,65 +1950,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/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' 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' 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]: 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 -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.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/fileClasses.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/base.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/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build +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 +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[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 -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' make[3]: Leaving 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/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 -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 [ 2%] 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 -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 -[ 3%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 3%] 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 +[ 4%] Building CXX object src/CMakeFiles/base.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 -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 +[ 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%] Linking CXX shared library libbase.so 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,-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/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 -[ 6%] 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 -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.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()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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:221:12: warning: cast from type 'const char*' to type 'char**' casts away qualifiers [-Wcast-qual] - 221 | return (char**)""; - | ^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:221: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/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata() const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:234:12: warning: cast from type 'const char*' to type 'char**' casts away qualifiers [-Wcast-qual] - 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] +[ 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)': @@ -1983,30 +2002,6 @@ /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 | } - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata() const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:235:1: warning: control reaches end of non-void function [-Wreturn-type] - 235 | } - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getDescription() const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:262:1: warning: control reaches end of non-void function [-Wreturn-type] - 262 | } - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getMetadataItem() const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:275:1: warning: control reaches end of non-void function [-Wreturn-type] - 275 | } - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getImageDescription() const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:288:1: warning: control reaches end of non-void function [-Wreturn-type] - 288 | } - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getCompression() const': -/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 /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)': @@ -2083,42 +2078,25 @@ /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 /usr/include/c++/13/vector:72, - from /usr/include/gdal/ogr_spatialref.h:41, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:21: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'int ImgRasterGdal::pushNoDataValue(double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:495:29: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 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 -/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; - | ^~~~~~~~~~~~~ -[ 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 +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.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()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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:221:12: warning: cast from type 'const char*' to type 'char**' casts away qualifiers [-Wcast-qual] + 221 | return (char**)""; + | ^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:221: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/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata() const': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:234:12: warning: cast from type 'const char*' to type 'char**' casts away qualifiers [-Wcast-qual] + 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] 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: @@ -2136,6 +2114,12 @@ /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 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] /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; @@ -2152,6 +2136,30 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:313:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 313 | for(int iband=0;iband, Vector2d >&, const OGRFieldType&, std::vector >&, const std::string&, int, bool, bool) [with T = float; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:16: required from here /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:313:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -2163,6 +2171,56 @@ /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; | ^~~~~~~~~ +/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; + | ^~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /usr/include/gdal/ogr_spatialref.h:41, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:21: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'int ImgRasterGdal::pushNoDataValue(double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:495:29: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 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++/13/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]', + inlined from 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:249:16: +/usr/include/c++/13/ostream:223:25: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] + 223 | { return _M_insert(__f); } + | ~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:14: note: 'x' was declared here + 235 | double x,y; + | ^ +In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', + inlined from 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:249:59: +/usr/include/c++/13/ostream:223:25: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] + 223 | { return _M_insert(__f); } + | ~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:16: note: 'y' was declared here + 235 | double x,y; + | ^ 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)': @@ -2173,6 +2231,51 @@ /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; + | ^~~~~~~ +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)': +/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/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()::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; + | ^~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: /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] @@ -2185,13 +2288,6 @@ /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) | ~~~~~~~^~ -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; - | ^ /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) | ~~~~~~~^~ @@ -2236,113 +2332,6 @@ /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){ | ~~~~~~~~^~~~~~ -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()::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', - inlined from 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:249:16: -/usr/include/c++/13/ostream:223:25: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] - 223 | { return _M_insert(__f); } - | ~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:14: note: 'x' was declared here - 235 | double x,y; - | ^ -In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', - inlined from 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:249:59: -/usr/include/c++/13/ostream:223:25: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] - 223 | { return _M_insert(__f); } - | ~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:16: note: 'y' was declared here - 235 | double x,y; - | ^ -In file included from /usr/include/c++/13/vector:72, - from /usr/include/gdal/gdal_priv.h:79, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:27: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/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: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; - | ^~~~~~~~~~~~~ -[ 9%] 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 /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void ImgWriterGdal::rasterizeOgr(ImgReaderOgr&, const std::vector&, const std::vector >&, const std::vector >&)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:330:26: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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,-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' -[ 9%] Built target fileClasses -[ 10%] 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 -[ 11%] 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 -[ 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: -/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/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)': -/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/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/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; - | ^~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::getFields(std::vector&, int) const': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:345:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] 345 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); @@ -2377,12 +2366,6 @@ /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; | ^~~~ -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; - | ^~~~~~~ /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/imageclasses/ImgWriterOgr.cc:707:25: required from here /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] @@ -2397,10 +2380,32 @@ /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) | ~~~~~~~~~~~~~~~^~~~~ +[ 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/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /usr/include/gdal/gdal_priv.h:79, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:27: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/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: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; + | ^~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void ImgWriterGdal::rasterizeOgr(ImgReaderOgr&, const std::vector&, const std::vector >&, const std::vector >&)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:330:26: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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())); @@ -2420,6 +2425,37 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:534:19: note: 'pointFeature' was declared here 534 | OGRFeature *pointFeature; | ^~~~~~~~~~~~ +[ 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,-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 +[ 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: +/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()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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 +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; + | ^ +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 12%] Built target fileClasses +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; + | ^~~~~~~ [ 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,-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 @@ -2436,8 +2472,10 @@ 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 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 +[ 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 +[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.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/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 /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] 166 | double xcel=static_cast(geoX)/getBaseSize(); @@ -2452,6 +2490,12 @@ /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/base/Vector2d.h:29, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:26, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:20: @@ -2459,8 +2503,8 @@ /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; | ^ -[ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.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/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 +[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.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/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/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] 276 | for(int iclass=0;iclass >::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/base/Vector2d.h: In instantiation of 'Vector2d 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 /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] @@ -2555,40 +2590,12 @@ /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/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::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]' /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here /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 >&)': -/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] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function 'double confusionmatrix::ConfusionMatrix::ua(const std::string&, double*) const': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: warning: 'dva' is used uninitialized [-Wuninitialized] + 237 | double dva=1.0-dva; + | ^~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: note: 'dva' was declared here + 237 | double dva=1.0-dva; + | ^~~ +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 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&, 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/algorithms/CostFactorySVM.cc: In member function 'virtual double CostFactorySVM::getCost(const std::vector >&)': +/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&, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:43:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 43 | for(int itap=0;itap&, 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); @@ -2844,46 +2887,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:513:15: note: 'pszMessage' was declared here 513 | const char* pszMessage; | ^~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algo.h:61, - from /usr/include/c++/13/algorithm:61, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:31: -/usr/include/c++/13/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++/13/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, - | ^~~~~~~~~~~~~ -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/algorithms/Filter2d.h:53, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.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; - | ^ -/usr/include/c++/13/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++/13/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1812 | __insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/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++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1918 | __introsort_loop(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1854 | __final_insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/13/bits/stl_algo.h:1859:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1864:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1864 | 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: @@ -2895,24 +2898,12 @@ /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++/13/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:23: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ 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/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'unsigned int filter::Filter::pushNoDataValue(double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:56:29: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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] 1214 | for(int iband=0;iband::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/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++/13/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++/13/bits/stl_algo.h:61, + from /usr/include/c++/13/algorithm:61, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:31: +/usr/include/c++/13/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++/13/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, + | ^~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1257:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1257 | if(indexJ<0||indexJ>=input.size()) | ~~~~~~^~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1259:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1259 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [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:199:19: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -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++/13/bits/stl_vector.h:1566:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1566 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [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:218:19: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -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++/13/bits/stl_vector.h:1566:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1566 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [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:236:19: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -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++/13/bits/stl_vector.h:1566:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1566 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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++/13/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1812 | __insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/13/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++/13/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++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1918 | __introsort_loop(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1854 | __final_insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/13/bits/stl_algo.h:1859:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1864:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1864 | std::__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 /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] @@ -3146,39 +3133,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1393:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1393 | for(int irow=0;irow::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator) [with _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:181:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 181 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/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 member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _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:1167:17: -/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1535 | { return _M_erase(begin() + (__position - cbegin())); } - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::eraseNoData(std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:727:9, - 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:1172:14: -/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1535 | { return _M_erase(begin() + (__position - cbegin())); } - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1947 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1948 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1949 | __comp); - | ~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1950 | 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/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/algorithms/Filter2d.cc:100:23: required from here @@ -3206,12 +3160,6 @@ /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::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::eraseNoData(std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:727:9, - inlined from 'unsigned int statfactory::StatFactory::nvalid(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:736:14: -/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1535 | { return _M_erase(begin() + (__position - cbegin())); } - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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]' /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:184:25: required from here @@ -3245,25 +3193,6 @@ /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::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::eraseNoData(std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:727:9, - 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:743:14: -/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1535 | { return _M_erase(begin() + (__position - cbegin())); } - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1947 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1948 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1949 | __comp); - | ~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1950 | 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::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = double]' /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:860:24: required from here @@ -3306,6 +3235,8 @@ /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::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/13/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]' /usr/include/c++/13/bits/stl_uninitialized.h:120:21: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]' @@ -3319,29 +3250,15 @@ /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 >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow::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 member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1479:23: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1483:23: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:23: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1487:21: + inlined from 'unsigned int filter::Filter::pushNoDataValue(double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:56:29: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -3353,22 +3270,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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1424:15: -/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1535 | { return _M_erase(begin() + (__position - cbegin())); } - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1425:21: -/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1535 | { return _M_erase(begin() + (__position - cbegin())); } - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); @@ -3393,27 +3294,31 @@ /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 | } | ^ +/usr/include/c++/13/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++/13/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++/13/bits/vector.tcc:195:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'double filter::Filter::getCentreWavelength(const std::vector&, const Vector2d&, const std::string&, double, bool)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:710:30: + 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:199:19: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -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; - | ^~~~~~~ -/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; - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:44:9: warning: 'int imgregression::ImgRegression::m_down' [-Wreorder] - 44 | int m_down; - | ^~~~~~ -/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 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++/13/bits/stl_vector.h:1566:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1566 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [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:218:19: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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++/13/bits/stl_vector.h:1566:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1566 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); @@ -3428,6 +3333,16 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:851:15: note: 'pszMessage' was declared here 851 | const char* pszMessage; | ^~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [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:236:19: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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++/13/bits/stl_vector.h:1566:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1566 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'void filter2d::Filter2d::shadowDsm(const Vector2d&, Vector2d&, double, double, double, short int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1217:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 1217 | pfnProgress(progress,pszMessage,pProgressArg); @@ -3435,6 +3350,7 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1213:15: note: 'pszMessage' was declared here 1213 | const char* pszMessage; | ^~~~~~~~~~ +[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o /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:91:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 91 | pfnProgress(progress,pszMessage,pProgressArg); @@ -3442,6 +3358,7 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:87:15: note: 'pszMessage' was declared here 87 | const char* pszMessage; | ^~~~~~~~~~ +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/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:363:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 363 | pfnProgress(progress,pszMessage,pProgressArg); @@ -3498,6 +3415,193 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:200:15: note: 'pszMessage' was declared here 200 | const char* pszMessage; | ^~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator) [with _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:181:5: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 181 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/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 member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _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:1167:17: +/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1535 | { return _M_erase(begin() + (__position - cbegin())); } + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::eraseNoData(std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:727:9, + 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:1172:14: +/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1535 | { return _M_erase(begin() + (__position - cbegin())); } + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1947 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1948 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1949 | __comp); + | ~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1950 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::eraseNoData(std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:727:9, + inlined from 'unsigned int statfactory::StatFactory::nvalid(const std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:736:14: +/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1535 | { return _M_erase(begin() + (__position - cbegin())); } + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 +/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 +/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] +/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 +/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] +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::eraseNoData(std::vector&) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:727:9, + 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:743:14: +/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1535 | { return _M_erase(begin() + (__position - cbegin())); } + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1947 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1948 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1949 | __comp); + | ~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1950 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/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>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1479:23: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1483:23: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1487:21: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1424:15: +/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1535 | { return _M_erase(begin() + (__position - cbegin())); } + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1425:21: +/usr/include/c++/13/bits/stl_vector.h:1535:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1535 | { return _M_erase(begin() + (__position - cbegin())); } + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'double filter::Filter::getCentreWavelength(const std::vector&, const Vector2d&, const std::string&, double, bool)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:710:30: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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/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; + | ^~~~~~~ +/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; + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:44:9: warning: 'int imgregression::ImgRegression::m_down' [-Wreorder] + 44 | int m_down; + | ^~~~~~ +/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 file included from /usr/include/c++/13/bits/stl_algo.h:61, + from /usr/include/c++/13/algorithm:61, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:25: +/usr/include/c++/13/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++/13/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++/13/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++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1918 | __introsort_loop(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __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 /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] @@ -3538,26 +3642,46 @@ /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()){ | ~^~~~~~~~~~ +/usr/include/c++/13/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++/13/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1812 | __insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/13/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++/13/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++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1854 | __final_insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/13/bits/stl_algo.h:1859:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1864:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1864 | std::__insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:43: +/usr/include/c++/13/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++/13/bits/vector.tcc:315:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 315 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc:315: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/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++/13/vector:62, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:23: -/usr/include/c++/13/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++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2064 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, - | ^~~~~~~~~ -/usr/include/c++/13/bits/stl_algobase.h:2064: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++/13/bits/stl_algo.h:3897: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++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2117 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2118 | 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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1947 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1948 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1949 | __comp); + | ~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1950 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', inlined from 'void filter::Filter::filter(const std::vector&, std::vector&, const std::string&, int) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:541:27: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -3601,6 +3725,59 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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: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 file included from /usr/include/c++/13/vector:62, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:23: +/usr/include/c++/13/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++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2064 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, + | ^~~~~~~~~ +/usr/include/c++/13/bits/stl_algobase.h:2064: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/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++/13/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++/13/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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1947 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1948 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1949 | __comp); + | ~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1950 | std::__final_insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _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++/13/bits/stl_algo.h:3897: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++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2117 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2118 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'int filter2d::Filter2d::pushNoDataValue(double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:40:29: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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++/13/bits/stl_algo.h:3897: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, @@ -3610,10 +3787,6 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | 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: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++/13/bits/stl_algo.h:3897: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, @@ -3657,13 +3830,6 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algo.h:61, - from /usr/include/c++/13/algorithm:61, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:25: -/usr/include/c++/13/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++/13/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, - | ^~~~~~~~~~~~~ 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3692,37 +3858,6 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/c++/13/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++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1918 | __introsort_loop(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1812 | __insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/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++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1854 | __final_insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1854:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/13/bits/stl_algo.h:1859:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1864:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1864 | std::__insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:43: -/usr/include/c++/13/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++/13/bits/vector.tcc:315:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 315 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/vector.tcc:315:7: 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3788,19 +3923,6 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | 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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1947 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1948 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1949 | __comp); - | ~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1950 | std::__final_insertion_sort(__first, __last, __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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3829,38 +3951,16 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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++/13/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: + 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++/13/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++/13/bits/stl_algo.h:4861: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++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1947 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1948 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1949 | __comp); - | ~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1950:38: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1950 | 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]); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -3889,76 +3989,12 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'int filter2d::Filter2d::pushNoDataValue(double)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:40:29: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 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/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); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 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 -/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 -/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] -/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 -/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] -/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++/13/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 In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', inlined from 'void filter2d::Filter2d::doit(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int, int, short int, bool)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:452:37: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -3989,28 +4025,36 @@ 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 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 +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/pkcrop.dir/DependInfo.cmake "--color=" 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/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/pkdiff.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/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/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' make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build +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 -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +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 -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 24%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o +[ 24%] 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 [ 25%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.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 /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 [ 26%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.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 -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/apps/pkcrop.cc:26: +[ 27%] 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 +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 @@ -4019,8 +4063,24 @@ /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/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: + 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/ImgWriterGdal.h:28, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /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 @@ -4029,13 +4089,6 @@ /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/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)': @@ -4053,34 +4106,35 @@ 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/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/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: +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; | ^~~~~~~ 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: + 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/apps/pkinfo.cc:25: +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/apps/pkinfo.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:211:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::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 >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -4089,13 +4143,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:58:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ -/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:264:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 264 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 281 | for(int iimg=0;iimg >::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] - 340 | for(int iextent=0;iextent&, 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/algorithms/ConfusionMatrix.h:128:12: warning: variable 'doa' set but not used [-Wunused-but-set-variable] 128 | double doa=0; | ^~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:487:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 487 | for(int iimg=0;iimg::size_type' {aka 'unsigned int'} [-Wsign-compare] - 405 | for(int iy=0;iy::size_type' {aka 'unsigned int'} [-Wsign-compare] 186 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; - | ~~~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:711:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 711 | if(scale_opt.size()>iband) - | ~~~~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:717:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 717 | if(offset_opt.size()>iband) - | ~~~~~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:798:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 798 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 801 | if(nodata_opt.size()>ivalue) - | ~~~~~~~~~~~~~~~~~^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:839:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 839 | if(writeBuffer.size()!=imgWriter.nrOfCol()) - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:586:12: warning: variable 'dcropcol' set but not used [-Wunused-but-set-variable] - 586 | double dcropcol=0; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:587:12: warning: variable 'dcroprow' set but not used [-Wunused-but-set-variable] - 587 | double dcroprow=0; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:683:9: warning: unused variable 'readncol' [-Wunused-variable] - 683 | int readncol=endCol-startCol+1; - | ^~~~~~~~ +/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:211:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::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::size_type' {aka 'unsigned int'} [-Wsign-compare] 242 | for(int iflag=0;iflag >::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::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] + 264 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 281 | for(int iimg=0;iimg::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::size_type' {aka 'unsigned int'} [-Wsign-compare] 738 | for(int iflag=0;iflag >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 340 | for(int iextent=0;iextent::size_type' {aka 'unsigned int'} [-Wsign-compare] 746 | for(int rc=0;rc >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 487 | for(int iimg=0;iimg::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&, 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 -/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: 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]' -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here -/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::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; + | ~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:711:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 711 | if(scale_opt.size()>iband) + | ~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:717:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 717 | if(offset_opt.size()>iband) + | ~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:798:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 798 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 801 | if(nodata_opt.size()>ivalue) + | ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:839:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 839 | if(writeBuffer.size()!=imgWriter.nrOfCol()) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:586:12: warning: variable 'dcropcol' set but not used [-Wunused-but-set-variable] + 586 | double dcropcol=0; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:587:12: warning: variable 'dcroprow' set but not used [-Wunused-but-set-variable] + 587 | double dcroprow=0; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:683:9: warning: unused variable 'readncol' [-Wunused-variable] + 683 | int readncol=endCol-startCol+1; + | ^~~~~~~~ /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 /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] @@ -4254,9 +4304,14 @@ /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:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' +/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 +/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: 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]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here /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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4269,7 +4324,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] @@ -4278,12 +4333,12 @@ /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/apps/pkcrop.cc:786:44: required from here +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here /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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4296,7 +4351,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] @@ -4305,13 +4360,13 @@ /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 = 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]' -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here -/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] +/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]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:24: required from here +/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 instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': @@ -4353,17 +4408,75 @@ /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 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]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here +/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 = 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/apps/pkcrop.cc:786:44: required from here +/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 = 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]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here +/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/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: 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(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: 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4381,6 +4494,22 @@ /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 = 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++/13/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:21: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:72, from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:22: @@ -4394,13 +4523,6 @@ 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/13/string:51, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:22: -/usr/include/c++/13/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++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2064 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, - | ^~~~~~~~~ -/usr/include/c++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from /usr/include/c++/13/string:51, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, @@ -4426,9 +4548,15 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:51, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:22: +/usr/include/c++/13/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++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2064 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, + | ^~~~~~~~~ +/usr/include/c++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/13/vector:72, - from /usr/include/gdal/gdal_priv.h:79, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:27: + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:27: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: @@ -4439,7 +4567,8 @@ 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:27: + from /usr/include/gdal/gdal_priv.h:79, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:27: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: @@ -4451,8 +4580,6 @@ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); @@ -4469,6 +4596,12 @@ /usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -4487,6 +4620,33 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:430:24: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:434:24: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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; + | ^~~~~~~~~~ /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); @@ -4500,6 +4660,16 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here 325 | void* pProgressData; | ^~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(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/pkgetmask.cc:158:24: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(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/pkgetmask.cc:164:24: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -4518,6 +4688,9 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 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 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 /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); @@ -4555,9 +4728,19 @@ /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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 27%] Linking CXX executable pkinfo +[ 29%] Linking CXX executable pkinfo /usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.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 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' +[ 29%] 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' +[ 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 /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); @@ -4571,126 +4754,15 @@ 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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]' -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here -/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]' -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:24: required from here -/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){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -[ 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 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 -/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 30%] 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 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' -[ 30%] Built target pkcrop -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' -[ 31%] 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 -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 31%] Built target pkdiff +[ 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/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/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 +[ 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 /usr/include/c++/13/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:21: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ 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)': @@ -4713,22 +4785,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; | ^~~~~~~ -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)': -/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; - | ^ /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:130:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 130 | for(int imask=0;imask >::size_type' {aka 'unsigned int'} [-Wsign-compare] 371 | for(int imask=0;imask&, 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]' /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:29: required from here @@ -4796,6 +4846,36 @@ /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/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)': +/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; + | ^ +/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); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/pkcreatect.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/pkcreatect.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:75:9: warning: unused variable 'red' [-Wunused-variable] 75 | short red=-1; @@ -4806,12 +4886,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable 'blue' [-Wunused-variable] 77 | short blue=-1; | ^~~~ -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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]' /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:31: required from here @@ -4911,32 +4985,9 @@ /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 = 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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:430:24: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:434:24: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 32%] 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 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 /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 = char]': /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); @@ -4961,34 +5012,11 @@ /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++/13/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:27: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/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 member function 'void std::vector<_Tp, _Alloc>::push_back(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/pkgetmask.cc:158:24: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(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/pkgetmask.cc:164:24: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 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 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 +[ 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 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' -[ 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=" @@ -4997,37 +5025,22 @@ 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/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +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 +In file included from /usr/include/c++/13/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:27: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:430:24: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:434:24: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:217:15: note: 'pszMessage' was declared here - 217 | const char* pszMessage; - | ^~~~~~~~~~ + 445 | vector<_Tp, _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/pkdumpimg.cc:26: @@ -5045,10 +5058,27 @@ /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/ImgReaderOgr.h:31, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: +/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/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/apps/pkdumpimg.cc: In function 'int main(int, char**)': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:169:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 169 | 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/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;ifield::size_type' {aka 'unsigned int'} [-Wsign-compare] + 172 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 174 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 180 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 182 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 190 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 192 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 198 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 200 | if(isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 207 | for(int ifield=0;ifield >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 210 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 212 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 220 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 222 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 231 | for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 238 | if(ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 250 | if(ifield&, int, int, double, int, RESAMPLE) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here /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/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readXY(std::vector&, std::vector&, int, bool) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: required from here +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] + 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); + | ^~~~~~~ /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]' /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here @@ -5113,44 +5210,75 @@ /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 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 -[ 37%] 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 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 +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:217:15: note: 'pszMessage' was declared here + 217 | const char* pszMessage; + | ^~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:430:24: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:434:24: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:72, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:22: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 37%] Built target pkcreatect -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' -[ 38%] 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 +[ 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 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 +[ 38%] 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 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' [ 38%] 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 -/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 In file included from /usr/include/c++/13/vector:66: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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 +/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 +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)': @@ -5167,118 +5295,17 @@ /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/apps/pkdumpogr.cc:25: +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; | ^ -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; - | ^~~~~~~ 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/pksieve.cc: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; | ^~~~~~~ -/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;ifield::size_type' {aka 'unsigned int'} [-Wsign-compare] - 172 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 174 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 180 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 182 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 190 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 192 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 198 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 200 | if(isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 207 | for(int ifield=0;ifield >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 210 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 212 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 220 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 222 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 231 | for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 238 | if(ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 250 | if(ifield&, std::vector&, int, bool) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: required from here -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] - 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); - | ^~~~~~~ -[ 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 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 -/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; - | ^~~~~~~~~~ -[ 42%] Linking CXX executable pksieve -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 In file included from /usr/include/c++/13/vector:72, from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:24: @@ -5286,34 +5313,6 @@ /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -/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 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 -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; - | ^ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, - inlined from 'int ImgReaderOgr::readXY(std::vector&, std::vector&, int, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:403:22, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, - inlined from 'int ImgReaderOgr::readXY(std::vector&, std::vector&, int, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:404:22, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 42%] Built target pksieve -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' 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: @@ -5325,8 +5324,6 @@ /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()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 43%] 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 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]': @@ -5418,6 +5415,20 @@ /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; | ^~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'int ImgReaderOgr::readXY(std::vector&, std::vector&, int, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:403:22, + inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'int ImgReaderOgr::readXY(std::vector&, std::vector&, int, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:404:22, + inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -5479,17 +5490,12 @@ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 44%] Linking CXX executable pkdumpogr +[ 41%] 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 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 +[ 42%] Linking CXX executable pkdumpogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.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 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' -[ 44%] 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' In file included from /usr/include/c++/13/bits/stl_algo.h:61, from /usr/include/c++/13/algorithm:61, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:31: @@ -5497,8 +5503,6 @@ /usr/include/c++/13/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, | ^~~~~~~~~~~~~ -[ 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 /usr/include/c++/13/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++/13/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1812 | __insertion_sort(_RandomAccessIterator __first, @@ -5524,6 +5528,14 @@ /usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' +[ 42%] 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' 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93: @@ -5532,6 +5544,8 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 43%] 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 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++/13/bits/stl_algo.h:3897: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, @@ -5562,6 +5576,16 @@ /usr/include/c++/13/bits/stl_algo.h:1864:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1864 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +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 In file included from /usr/include/c++/13/vector:72, from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:23, from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:23: @@ -5574,6 +5598,31 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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 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++/13/bits/stl_algo.h:3897: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++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2117 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2118 | 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++/13/bits/stl_algo.h:3897: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++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2117 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2118 | 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: @@ -5602,6 +5651,9 @@ /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&, 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 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] @@ -5612,24 +5664,16 @@ /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 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++/13/bits/stl_algo.h:3897: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++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2117 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2118 | 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++/13/bits/stl_algo.h:3897: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++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2117 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2118 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 file included from /usr/include/c++/13/bits/stl_algo.h:61, from /usr/include/c++/13/algorithm:61, from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:25: @@ -5650,26 +5694,6 @@ /usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:25: -/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; - | ^ 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++/13/bits/stl_algo.h:4861: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: @@ -5697,100 +5721,24 @@ /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -/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 -/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 -/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 -/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 -/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 -/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/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 -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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); @@ -5840,6 +5788,17 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:549:17: note: 'icol' was declared here 549 | for(int icol;icol&, 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 +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 member function 'void std::vector<_Tp, _Alloc>::push_back(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/pkstat.cc:192:28: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -5916,6 +5875,136 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:25: +/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 +/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 +/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 +/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 +/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 +/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){ + | ~~~~~~~~~~~~~^~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:23, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:27: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:572:19, + inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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++/13/bits/stl_algo.h:61, from /usr/include/c++/13/algorithm:61, from /usr/include/armadillo:44, @@ -5929,6 +6018,12 @@ 1812 | __insertion_sort(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/include/c++/13/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++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1918 | __introsort_loop(_RandomAccessIterator __first, @@ -5937,21 +6032,32 @@ /usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:430:24: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1299:21, + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:434:24: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', + inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: +/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1292 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In function 'void statfactory::StatFactory::minmax(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, T&, T&) const [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:634:31: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 634 | template inline void StatFactory::minmax(const std::vector& v, typename std::vector::const_iterator begin, typename std::vector::const_iterator end, T& theMin, T& theMax) const | ^~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:634:31: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:572:19, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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 pkstatogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.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 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 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++/13/bits/stl_algo.h:4861: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: @@ -5978,30 +6084,11 @@ /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -[ 46%] Linking CXX executable pkstatogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.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 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 -[ 47%] Linking CXX executable pkstat +[ 48%] 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 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 pkstatogr -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' -[ 48%] 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 file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-arm-linux-gnueabihf' -[ 48%] Built target pkstat +[ 48%] Built target pkstatogr 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=" @@ -6010,69 +6097,29 @@ 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 /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 member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:216:41: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:218:45: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:276:41: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:278:45: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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;iclassGetFID(), 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 -/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/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/13/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/13/bits/alloc_traits.h:538: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 >]' -/usr/include/c++/13/bits/stl_vector.h:1286:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here -/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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10340,6 +10266,12 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:528:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 528 | for(int iclass=0;iclass >; _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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10367,6 +10299,9 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:545:11: warning: unused variable 'index' [-Wunused-variable] + 545 | int index=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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10385,11 +10320,17 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:562:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 562 | for(int iclass=0;iclass::push_back(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/pkkalman.cc:695:36: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:571:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 571 | for(int ilayer=0;ilayer::push_back(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/pkkalman.cc:910:34: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -10454,6 +10395,12 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:654:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 654 | for(int isample=0;isample >; _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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10463,6 +10410,9 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:653:46: warning: variable 'mapit' set but not used [-Wunused-but-set-variable] + 653 | map >::iterator mapit=trainingMap.begin(); + | ^~~~~ 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10481,6 +10431,12 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 >; _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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10558,6 +10514,9 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:739:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 739 | for(int ivalidation=0;ivalidation::push_back(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/pkkalman.cc:1639:34: /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -10604,6 +10563,16 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:782:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'GIntBig' {aka 'long long int'} [-Wformat=] + 782 | "Unable to translate feature %d from layer %s.\n", + | ~^ + | | + | int + | %lld + 783 | poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10631,6 +10600,9 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 >; _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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10649,6 +10621,15 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:808:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 808 | for(int iclass=0;iclass >; _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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10676,6 +10657,28 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:870:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'GIntBig' {aka 'long long int'} [-Wformat=] + 870 | "Unable to translate feature %d from layer %s.\n", + | ~^ + | | + | int + | %lld + 871 | poFeature->GetFID(), 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; + | ^~~~~~~ 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++/13/bits/stl_algo.h:3897:28, inlined from 'bool ImgRasterGdal::isNoData(double) const' at /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:136:93, @@ -10748,85 +10751,25 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2118 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/c++/13/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_comp_iter]': -/usr/include/c++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1918 | __introsort_loop(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1918:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/13/bits/stl_algo.h:1932:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1932 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:21: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/map:62, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:22: -/usr/include/c++/13/bits/stl_tree.h: In member 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++/13/bits/stl_tree.h:2210: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 - 2210 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:734:17: note: 'pszMessage' was declared here - 734 | const char* pszMessage; - | ^~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]', - inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = Decrease_PosValue]' at /usr/include/c++/13/bits/stl_algo.h:4894:18, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:1112:15: -/usr/include/c++/13/bits/stl_algo.h:1947:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1947 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1948 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1949 | __comp); - | ~~~~~~~ -In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]', - inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]' at /usr/include/c++/13/bits/stl_algo.h:1950:31, - inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = Decrease_PosValue]' at /usr/include/c++/13/bits/stl_algo.h:4894:18, - inlined from 'int main(int, char**)' at /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:1112:15: -/usr/include/c++/13/bits/stl_algo.h:1859:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_algo.h:1864:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1864 | std::__insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]', - inlined from 'bool Optionpk::retrieveOption(int, char**) [with T = double]' at /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:446:20: -/usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1292 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 93%] 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 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 -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc: In function 'int main(int, char**)': -/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/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 +/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/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/13/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/13/bits/alloc_traits.h:538: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 >]' +/usr/include/c++/13/bits/stl_vector.h:1286:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here +/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'} and 'int' [-Wsign-compare] 611 | if(testPixels.size()>iclass){ | ~~~~~~~~~~~~~~~~~^~~~~~~ -[ 95%] Linking CXX executable pkann /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 >; _Distance = int; _Tp = PosValue; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': +/usr/include/c++/13/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++/13/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++/13/bits/stl_algo.h:1792:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1792 | __unguarded_linear_insert(_RandomAccessIterator __last, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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++/13/bits/stl_algo.h:1812:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1812 | __insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_algo.h:1812: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/apps/pkfsann.cc:29: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::forward(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:671:32: required from here @@ -11057,16 +11013,6 @@ /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