Diff of the two buildlogs: -- --- b1/build.log 2024-11-15 19:32:14.516530474 +0000 +++ b2/build.log 2024-11-15 19:38:41.130962255 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 18 13:51:15 -12 2025 -I: pbuilder-time-stamp: 1766109075 +I: Current time: Sat Nov 16 09:32:18 +14 2024 +I: pbuilder-time-stamp: 1731699138 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,51 +27,83 @@ 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/1221387/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/181409/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 15 19:32 /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/181409/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/181409/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='6bfed8e0e9f04bb9aa1358737cc8fa73' - 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='1221387' - PS1='# ' - PS2='> ' + INVOCATION_ID=5bd4f4f1a0974ade8f3946c418c9c027 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=181409 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.WUy3xw4w/pbuilderrc_84eO --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.WUy3xw4w/b1 --logfile b1/build.log pktools_2.6.7.6+ds-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.WUy3xw4w/pbuilderrc_St8Z --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.WUy3xw4w/b2 --logfile b2/build.log pktools_2.6.7.6+ds-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1221387/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/181409/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -462,7 +494,7 @@ Get: 326 http://deb.debian.org/debian trixie/main amd64 python3-debian all 0.1.49 [115 kB] Get: 327 http://deb.debian.org/debian trixie/main amd64 python3-yaml amd64 6.0.2-1+b1 [178 kB] Get: 328 http://deb.debian.org/debian trixie/main amd64 pkg-kde-tools all 0.18.5 [87.6 kB] -Fetched 158 MB in 7s (21.6 MB/s) +Fetched 158 MB in 3s (49.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19970 files and directories currently installed.) @@ -1523,8 +1555,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Dec 19 01:53:41 UTC 2025. -Universal Time is now: Fri Dec 19 01:53:41 UTC 2025. +Local time is now: Fri Nov 15 19:36:06 UTC 2024. +Universal Time is now: Fri Nov 15 19:36:06 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up mariadb-common (1:11.4.3-1) ... @@ -1833,7 +1865,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/181409/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/181409/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 @@ -1915,7 +1951,7 @@ -- Using GSL from /usr -- Found Armadillo: /usr/include (found version "14.0.1") -- Found FANN: /usr/lib/x86_64-linux-gnu/libfloatfann.so --- Configuring done (0.6s) +-- Configuring done (1.7s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: @@ -2150,42 +2186,42 @@ make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend -make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend -make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/fileClasses.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/base.dir/DependInfo.cmake "--color=" +make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build +[ 1%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -MF CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.d -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 2%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o -[ 2%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -[ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -[ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dbase_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o +[ 3%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -[ 7%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 4%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o +[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/ImgUpdaterGdal.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc +[ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 [ 11%] Linking CXX shared library libbase.so cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/base.dir/link.txt --verbose=1 @@ -2193,9 +2229,15 @@ cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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-x86_64-linux-gnu' [ 11%] Built target base +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:22: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: + 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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2204,12 +2246,35 @@ /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 'long unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function 'int ImgReaderOgr::getFields(std::vector&, int) const': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:183:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] + 183 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); + | ^~~~~~~~~~~ +/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:218:9: warning: unused variable 'iField' [-Wunused-variable] + 218 | int iField=0; + | ^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function 'unsigned int ImgReaderOgr::readDataImageOgr(std::map, Vector2d >&, std::vector >&, const std::vector&, const std::string&, const std::vector >&, int)': +/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 'long 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 + 342 | nband=readData(mapPixels,OFTReal,fields,label,ilayer,true,verbose==2); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 'long unsigned int'} and 'int' [-Wsign-compare] + 313 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:323:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 323 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:261:9: warning: unused variable 'posOffset' [-Wunused-variable] + 261 | int posOffset=(pos)?2:0; + | ^~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -2227,21 +2292,9 @@ /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**)""; | ^~~~~~~~~~ -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; - | ^~~~~~~ -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/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: + 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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2252,13 +2305,13 @@ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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: + 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/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: + 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)': /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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2267,8 +2320,8 @@ /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 'long 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/imageclasses/ImgWriterGdal.cc:27: +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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2277,12 +2330,8 @@ /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 'long 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/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2297,53 +2346,58 @@ /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/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); - | ^~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:359:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 359 | for(int iField=0;iField&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/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/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/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); + | ^~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:359:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 359 | for(int iField=0;iField::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 171 | for(int icol=0;icol&, double&, double&, unsigned int&, int, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 287 | if(m_scale.size()>theBand){ + | ~~~~~~~~~~~~~~^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:304:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 304 | for(int i=0;i, double>&, std::string, int, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:391:30: warning: comparison of integer expressions of different signedness: 'std::map, double>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 391 | if(pointAttributes.size()+1!=poFeature->GetFieldCount()){ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 | } - | ^ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable 'fid' [-Wunused-variable] 398 | int fid=0; | ^~~ @@ -2355,57 +2409,35 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:443:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for(int ip=0;ip&, int) const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:183:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] - 183 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); - | ^~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addLineString(std::vector&, const std::string&, const std::string&, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:469:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 469 | for(int ip=0;ip >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable 'skip' [-Wunused-variable] 538 | bool skip=false; | ^~~~ +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/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] 602 | bool skip=false; | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'void ImgReaderGdal::getMinMax(int, int, int, int, int, double&, double&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:171:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 171 | for(int icol=0;icol&, double&, double&, unsigned int&, int, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 287 | if(m_scale.size()>theBand){ - | ~~~~~~~~~~~~~~^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function 'unsigned int ImgReaderOgr::readDataImageOgr(std::map, Vector2d >&, std::vector >&, const std::vector&, const std::string&, const std::vector >&, int)': -/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 'long unsigned int'} [-Wsign-compare] - 313 | for(int iband=0;iband&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/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.cc:170:13: required from here + 170 | readData(lineBuffer,startCol,endCol,irow,band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 'long 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: 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 707 | imgReader.readData(imgData,x,y,iband); @@ -2422,34 +2454,6 @@ /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 'long unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::map, 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 - 342 | nband=readData(mapPixels,OFTReal,fields,label,ilayer,true,verbose==2); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long unsigned int'} and 'int' [-Wsign-compare] - 313 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:323:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 323 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/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/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/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.cc:170:13: required from here - 170 | readData(lineBuffer,startCol,endCol,irow,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ @@ -2471,10 +2475,42 @@ /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 'long unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, 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 'long unsigned int'} and 'int' [-Wsign-compare] 329 | while(burnBands.size()&, int, int, int, int) [with T = short int]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' 282 | readData(buffer,0,nrOfCol()-1,row,band); @@ -2516,6 +2552,12 @@ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/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++/14/iostream:41, from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:20: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', @@ -2536,12 +2578,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:16: note: 'y' was declared here 235 | double x,y; | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: 'pTransformArg' may be used uninitialized [-Wmaybe-uninitialized] - 354 | if(GDALRasterizeLayers( (GDALDatasetH)m_gds,nrOfBand(),&(bands[0]),layers.size(),&(layers[0]),NULL,pTransformArg,NULL,coptions,pfnProgress,pProgressArg)!=CE_None){ - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here - 345 | void* pTransformArg; - | ^~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/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); @@ -2577,62 +2613,7 @@ [ 12%] Linking CXX shared library libimageClasses.so cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] - 24 | FileReaderAscii::FileReaderAscii(void) - | ^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] - 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) - | ^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:33:1: warning: when initialized here [-Wreorder] - 33 | FileReaderAscii::FileReaderAscii(const std::string& filename, const char& fieldseparator) - | ^~~~~~~~~~~~~~~ cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libimageClasses.so.1.6.1 libimageClasses.so.1 libimageClasses.so -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:109:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 109 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:202:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 202 | if(verbose>1) - | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 230 | if(totalCol!=ncol){ - | ~~~~~~~~^~~~~~ make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 12%] Built target imageClasses make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/depend @@ -2641,22 +2622,22 @@ make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 13%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -[ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o +[ 13%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = svm_node* const; T = const svm_node*]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:278:7: required from here 278 | clone(x,x_,l); @@ -2718,20 +2699,6 @@ /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]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/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(); - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc:167:10: warning: unused variable 'ycel' [-Wunused-variable] - 167 | double ycel=static_cast(geoY)/getBaseSize(); - | ^~~~ -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: -/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/ConfusionMatrix.h:25, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:20: @@ -2739,6 +2706,21 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/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/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(); + | ^~~~ +/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) + | ~~~~~~~^~ 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: @@ -2746,21 +2728,60 @@ /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/Egcs.cc:167:10: warning: unused variable 'ycel' [-Wunused-variable] + 167 | double ycel=static_cast(geoY)/getBaseSize(); + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] + 24 | FileReaderAscii::FileReaderAscii(void) + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] + 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:33:1: warning: when initialized here [-Wreorder] + 33 | FileReaderAscii::FileReaderAscii(const std::string& filename, const char& fieldseparator) + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:109:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 109 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:202:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 202 | if(verbose>1) + | ~~~~~~~^~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 230 | if(totalCol!=ncol){ + | ~~~~~~~~^~~~~~ +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: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:27: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 54 | for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 58 | if(index>=m_classes.size()) - | ~~~~~^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ -[ 22%] Linking CXX shared library libfileClasses.so -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=1 /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 'long unsigned int'} [-Wsign-compare] 157 | for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 157 | for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 159 | for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 276 | for(int iclass=0;iclass >&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:93:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 93 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 136 | for(int isample=0;isample Vector2d::operator=(const Vector2d&) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here 137 | m_results=theResults; @@ -2868,6 +2877,25 @@ /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 'long unsigned int'} [-Wsign-compare] 303 | for(int icol=0;icoloperator[](irow).size();++icol) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 54 | for(index=0;index >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 157 | for(int irow=0;irow::size_type' {aka 'long 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]' 95 | return *this; @@ -2879,32 +2907,17 @@ 88 | for(int irow=0;irow::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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-x86_64-linux-gnu' -[ 22%] Built target fileClasses -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/algorithms/Filter.h:30, from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ @@ -2922,32 +2935,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/algorithms/Filter.h:30: -/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 'long 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 'long 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/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) - | ^~~~~~~~~~~~~ /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 'long unsigned int'} [-Wsign-compare] 138 | for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] 436 | for(int imask=0;imask::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:630:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 630 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] 708 | for(int iclass2=0;iclass2&, 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/Filter2d.cc: In member function 'void filter2d::Filter2d::mrf(ImgReaderGdal&, ImgWriterGdal&, int, int, Vector2d, bool, short int, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:774:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 774 | for(int iclass=0;iclass&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:48:24: required from here - 48 | imgReader1.readData(rowBuffer1,GDT_Float64,irow1,band1); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1197 | for(int iband=0;iband&, const std::vector&, int) const [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:208:23: required from here - 208 | r=stat.correlation(buffer1,buffer2); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/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 'long unsigned int'} [-Wsign-compare] - 1303 | for (int i=0;i&, std::vector >&, float, float, float, float, bool, bool, bool, bool, bool)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1214:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1214 | for(int iband=0;iband::size_type' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 1326 | if(j>=y.size()){ - | ~^~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1257:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] 1259 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::setTaps(const std::vector&, 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 'long unsigned int'} [-Wsign-compare] - 43 | for(int itap=0;itap::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 46 | for(int itap=0;itap&, const std::string&, int, double)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:246:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 246 | for(int index=0;index >&)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:458:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 458 | for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 486 | double threshold=(ithreshold >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 502 | for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 526 | for(int iband=0;iband&, int, int, int, int, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:594:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 594 | for(k=1;k<=tapz.size()/2;++k) - | ~^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:597:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 597 | for(k=1;k<=tapz.size()/2;++k) - | ~^~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'double filter::Filter::getCentreWavelength(const std::vector&, const Vector2d&, const std::string&, double, bool)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:727:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 727 | for(int iband=0;iband&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/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) + | ^~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:33:5: required from here 33 | : m_taps(taps) @@ -3248,100 +3182,60 @@ /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 'long unsigned int'} [-Wsign-compare] 1393 | for(int irow=0;irow&, 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 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'std::vector Vector2d::selectCol(int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:78:37: required from here - 78 | pixelInput=lineInput.selectCol(x); - | ~~~~~~~~~~~~~~~~~~~^~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:184:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 184 | for(int irow=0;irowsize();++irow) - | ~~~~^~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::filter(const std::vector&, std::vector&, const std::string&, int) [with T = double; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:277:13: required from here - 277 | filter(pixelInput,pixelOutput,method,dim); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:532:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 532 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 545 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 576 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 629 | for(i=dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 632 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 679 | for(i=input.size()-dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 681 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 694 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 704 | if(i+t::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 723 | for(int iclass=0;iclass&, const std::string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:19: required from here - 311 | smoothNoData(pixelInput,interpolationType,pixelOutput); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:441:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 441 | for(int i=0;i&, std::vector&) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:353:13: required from here - 353 | filter(pixelInput,pixelOutput); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:452:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 452 | for(i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 455 | for(int t=1;t<=m_taps.size()/2;++t){ - | ~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:479:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 479 | for(i=m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 484 | for(int t=0;t::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 488 | for(i=input.size()-m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 492 | for(int t=1;t<=m_taps.size()/2;++t){ - | ~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:494:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 494 | if(i+t&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:716:21: required from here - 716 | stat.interpolateUp(srf[0],srf[1],wavelength_fine,interpolationType,srf_fine,verbose); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1477 | for(int index=0;index::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:48:24: required from here + 48 | imgReader1.readData(rowBuffer1,GDT_Float64,irow1,band1); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, const std::vector&, int) const [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:208:23: required from here + 208 | r=stat.correlation(buffer1,buffer2); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/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 'long unsigned int'} [-Wsign-compare] + 1303 | for (int i=0;i::size_type' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 1326 | if(j>=y.size()){ + | ~^~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' 282 | readData(buffer,0,nrOfCol()-1,row,band); @@ -3464,57 +3358,23 @@ /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 'long unsigned int'} [-Wsign-compare] 270 | 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:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:75:21: required from here - 75 | input.readData(lineInput[iband],y,iband); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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]' - 203 | return writeData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:85:25: required from here - 85 | output.writeData(lineOutput[iband],y,iband); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long unsigned int'} and 'int' [-Wsign-compare] - 148 | if(buffer.size()!=maxCol-minCol+1){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:25: required from 'void filter::Filter::smoothNoData(const std::vector&, const std::string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]' - 443 | stat.interpolateNoData(abscis,input,interpolationType,output); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:19: required from here - 311 | smoothNoData(pixelInput,interpolationType,pixelOutput); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1416:7: warning: unused variable 'nband' [-Wunused-variable] - 1416 | int nband=wavelengthIn.size(); - | ^~~~~ +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/algorithms/Filter.cc: In member function 'void filter::Filter::setTaps(const std::vector&, 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 'long unsigned int'} [-Wsign-compare] + 43 | for(int itap=0;itap::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 46 | for(int itap=0;itap&, const std::string&, int, double)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:246:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 246 | for(int index=0;index::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/14/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]' 119 | ::new((void*)__p) _Tp(std::forward<_Args>(__args)...); @@ -3556,26 +3416,47 @@ /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 'long unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow >&)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:458:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 458 | for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 486 | double threshold=(ithreshold >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 502 | for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 526 | for(int iband=0;iband&, int, int, int, int, int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:594:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 594 | for(k=1;k<=tapz.size()/2;++k) + | ~^~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::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] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:597:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 597 | for(k=1;k<=tapz.size()/2;++k) + | ~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'double filter::Filter::getCentreWavelength(const std::vector&, const Vector2d&, const std::string&, double, bool)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:727:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 727 | for(int iband=0;iband&, 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); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); @@ -3584,10 +3465,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | poBand->RasterIO(GF_Write,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In static member function 'static const gsl_wavelet_type* filter::Filter::getWaveletType(std::string)': -/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 | } - | ^ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); @@ -3600,6 +3477,96 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] 58 | } | ^ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'std::vector Vector2d::selectCol(int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:78:37: required from here + 78 | pixelInput=lineInput.selectCol(x); + | ~~~~~~~~~~~~~~~~~~~^~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:184:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 184 | for(int irow=0;irowsize();++irow) + | ~~~~^~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::filter(const std::vector&, std::vector&, const std::string&, int) [with T = double; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:277:13: required from here + 277 | filter(pixelInput,pixelOutput,method,dim); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:532:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 532 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 545 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 576 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 629 | for(i=dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 632 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 679 | for(i=input.size()-dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 681 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 694 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 704 | if(i+t::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 723 | for(int iclass=0;iclass&, const std::string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:19: required from here + 311 | smoothNoData(pixelInput,interpolationType,pixelOutput); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:441:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 441 | for(int i=0;i&, std::vector&) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:353:13: required from here + 353 | filter(pixelInput,pixelOutput); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:452:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 452 | for(i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 455 | for(int t=1;t<=m_taps.size()/2;++t){ + | ~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:479:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 479 | for(i=m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 484 | for(int t=0;t::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 488 | for(i=input.size()-m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 492 | for(int t=1;t<=m_taps.size()/2;++t){ + | ~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:494:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 494 | if(i+t&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:716:21: required from here + 716 | stat.interpolateUp(srf[0],srf[1],wavelength_fine,interpolationType,srf_fine,verbose); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1477 | for(int index=0;index&, 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); @@ -3684,6 +3651,75 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:200:15: note: 'pszMessage' was declared here 200 | const char* pszMessage; | ^~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' + 282 | readData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:75:21: required from here + 75 | input.readData(lineInput[iband],y,iband); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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]' + 203 | return writeData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:85:25: required from here + 85 | output.writeData(lineOutput[iband],y,iband); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 'long unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:25: required from 'void filter::Filter::smoothNoData(const std::vector&, const std::string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]' + 443 | stat.interpolateNoData(abscis,input,interpolationType,output); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:19: required from here + 311 | smoothNoData(pixelInput,interpolationType,pixelOutput); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1416:7: warning: unused variable 'nband' [-Wunused-variable] + 1416 | int nband=wavelengthIn.size(); + | ^~~~~ +[ 22%] Linking CXX shared library libfileClasses.so +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/x86_64-linux-gnu -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 = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In static member function 'static const gsl_wavelet_type* filter::Filter::getWaveletType(std::string)': +/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 | } + | ^ +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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-x86_64-linux-gnu' +[ 22%] Built target fileClasses /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtForward(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:70:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 70 | pfnProgress(progress,pszMessage,pProgressArg); @@ -3768,105 +3804,122 @@ [ 23%] Built target algorithms make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend -make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkinfo.dir/DependInfo.cmake "--color=" -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend -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-x86_64-linux-gnu' +make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcrop.dir/DependInfo.cmake "--color=" -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-x86_64-linux-gnu' +make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake "--color=" -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend -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-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksetmask.dir/DependInfo.cmake "--color=" -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake "--color=" -make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend +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-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake "--color=" +make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpimg.dir/DependInfo.cmake "--color=" +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-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake "--color=" +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksetmask.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake "--color=" -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake "--color=" +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend +[ 24%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o +[ 25%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +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-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatascii.dir/DependInfo.cmake "--color=" -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake "--color=" +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +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-x86_64-linux-gnu' +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpimg.dir/DependInfo.cmake "--color=" +[ 28%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o +[ 27%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -MF CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.d -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -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-x86_64-linux-gnu' make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -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-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build +make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build +[ 29%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +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-x86_64-linux-gnu' -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-x86_64-linux-gnu' -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 30%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatascii.dir/DependInfo.cmake "--color=" +[ 31%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 32%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +[ 34%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build -[ 24%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 25%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -[ 28%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -[ 28%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -[ 28%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 30%] Building CXX object CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -[ 30%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -[ 31%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +[ 35%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -MF CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.d -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -MF CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.d -o CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -MF CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.d -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 32%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -[ 34%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 -[ 35%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o [ 36%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/apps/pkstat.cc:24: +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)': +/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 'long 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 'long 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/pksetmask.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/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)': @@ -3878,7 +3931,7 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: + 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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3887,15 +3940,8 @@ /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 'long 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/pkdiff.cc:21: + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3905,45 +3951,25 @@ 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/ImgReaderOgr.h:31, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:26: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/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/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/pksieve.cc:23: -/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 'long 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 'long 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: -/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/apps/pkdumpogr.cc:25: + 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/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; - | ^~~~~~~ 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)': @@ -3951,18 +3977,7 @@ 100 | const gsl_rng_type * T; | ^ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: + 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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3972,7 +3987,7 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: + 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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3981,218 +3996,103 @@ /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 'long 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/pkstatogr.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/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 'long 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 'long 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/apps/pkdiff.cc:22: +/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 'long unsigned int'} [-Wsign-compare] + 130 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 191 | for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 198 | for(int iv=0;iv&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:210:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 210 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 225 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 242 | for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 322 | for(int ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 353 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 371 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 211 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 213 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 169 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 194 | for(int iextent=0;iextent::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 285 | for(int iband=0;iband::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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 'long unsigned int'} [-Wsign-compare] - 264 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 281 | for(int iimg=0;iimg >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 340 | for(int iextent=0;iextent >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 487 | for(int iimg=0;iimg >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 158 | for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 172 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 174 | if(isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 180 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 182 | if(isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 190 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 192 | if(isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 198 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 200 | if(isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 207 | for(int ifield=0;ifield >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 210 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 212 | if(isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 220 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 222 | if(isample::size_type' {aka 'long 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/pkdumpogr.cc:231:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 231 | for(int isample=0;isample::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - 717 | if(offset_opt.size()>iband) - | ~~~~~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:236:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 238 | if(ifield >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 250 | if(ifield >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 798 | for(int ivalue=0;ivalue::size_type' {aka 'long 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 'long 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/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/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)': -/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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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; - | ^~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] - 76 | short green=-1; - | ^~~~~ -/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; - | ^~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:405:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 405 | for(int iy=0;iy&, 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/pkstatogr.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:162:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 162 | for(int ifield=0;ifield&, 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/pkstatogr.cc:221:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 221 | for(int ibin=0;ibin >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 235 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 247 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 254 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 259 | if(offset_opt.size()>ifile) - | ~~~~~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:261:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 261 | if(scale_opt.size()>ifile) - | ~~~~~~~~~~~~~~~~^~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:26: /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -4201,12 +4101,16 @@ /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 'long unsigned int'} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:336:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 336 | if(ifile==input_opt.size()-1){ - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:338:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 338 | for(int bin=0;bin::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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 'long unsigned int'} [-Wsign-compare] 157 | for(int irow=0;irow&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:678:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 678 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 719 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 760 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] 186 | for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 801 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 838 | for(int inodata=0;inodata&, int, int, double, int, RESAMPLE) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here - 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:997:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 997 | for(int ibinX=0;ibinX&, 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 - 156 | inputReader.readXY(xvector,yvector); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/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/apps/pkstat.cc:210:15: warning: unused variable 'pszMessage' [-Wunused-variable] - 210 | const char* pszMessage; - | ^~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:211:9: warning: unused variable 'pProgressArg' [-Wunused-variable] - 211 | void* pProgressArg=NULL; - | ^~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:212:20: warning: unused variable 'pfnProgress' [-Wunused-variable] - 212 | GDALProgressFunc pfnProgress=GDALTermProgress; - | ^~~~~~~~~~~ -/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 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:242:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 242 | for(int iflag=0;iflag >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 255 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 211 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 213 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] 262 | for(int rc=0;rc >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 315 | for(int iref=0;iref&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /usr/include/armadillo:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:25: -/usr/include/armadillo_bits/compiler_check.hpp:88:61: note: '#pragma message: INFO: support for C++11 is deprecated' - 88 | #pragma message ("INFO: support for C++11 is deprecated") - | ^ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:447:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 447 | for(int iflag=0;iflag&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here - 166 | inputReader.readData(theData,OFTReal,fieldname_opt[ifield],ilayer,verbose_opt[0]); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] - 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:405:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 405 | for(int iy=0;iy::size_type' {aka 'long unsigned int'} [-Wsign-compare] 738 | for(int iflag=0;iflag&, 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/pkstatogr.cc:188:21: required from here - 188 | stat.distribution(theData,theData.begin(),theData.end(),binData,nbin,minValue,maxValue,sigma); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 916 | if(output.size()!=nbin){ - | ~~~~~~~~~~~~~^~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:746:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 746 | for(int rc=0;rc::size_type' {aka 'long unsigned int'} [-Wsign-compare] 800 | for(int iflag=0;iflag::size_type' {aka 'long 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/pkdumpimg.cc:307:29: required from here + 307 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,band_opt[iband],theResample); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 169 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ 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/pksetmask.cc:23: + 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/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' - 203 | return writeData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:31: required from here - 184 | legendWriter.writeData(buffer,legendWriter.nrOfRow()-1-irow); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 = char]': -/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 = char]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:218:27: required from here - 218 | imgReader.readData(buffer,irow); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -/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 'long unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ +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/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 'long unsigned int'} [-Wsign-compare] + 264 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 281 | for(int iimg=0;iimg >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 340 | for(int iextent=0;iextent >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 487 | for(int iimg=0;iimg::size_type' {aka 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 798 | for(int ivalue=0;ivalue::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 839 | if(writeBuffer.size()!=imgWriter.nrOfCol()) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:506:37: required from here + 506 | inputReader.readData(inputValue,i,j,band_opt[0]); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) +/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/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 106 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) +/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:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here + 521 | maskReader.readData(maskValue,i,j,0); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, int, int, int, int) [with T = short int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 106 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 108 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:227:27: required from here - 227 | imgReader.readData(buffer,irow,0); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:29: required from here + 231 | inputReader.readData(lineInput[iband],irow,iband); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' + 282 | readData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here + 418 | imgReader.readData(rowBuffer, static_cast(theRow), theBand); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4460,7 +4309,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4469,16 +4318,16 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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 'long 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:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' 188 | readData(readBuffer_upper,minCol,maxCol,static_cast(upperRow),band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here - 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here + 307 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,band_opt[iband],theResample); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4491,16 +4340,6 @@ /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 'long unsigned int'} and 'int' [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/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 = short int]': -/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 = short int]' - 203 | return writeData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:228:28: required from here - 228 | imgWriter.writeData(buffer,irow,0); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -/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 'long 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:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ @@ -4513,16 +4352,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 'long unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here - 786 | maskReader.readData(lineMask,static_cast(rowMask),mskband_opt[0]); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ @@ -4532,7 +4361,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4541,26 +4370,55 @@ /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 'long 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 'long 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 'long 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]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here - 843 | imgWriter.writeData(writeBuffer,irow,writeBand); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:31: required from here + 359 | outputWriter.writeData(lineOutput[iband],irow,iband); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 'long 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 = short unsigned int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short unsigned int]' +/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; + | ^~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] + 76 | short green=-1; + | ^~~~~ +/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; + | ^~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/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/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here + 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:235:27: required from here - 235 | imgReader.readData(buffer,irow,0); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here + 765 | inputReader.readData(lineInput,irow,band_opt[0]); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4573,7 +4431,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4582,21 +4440,36 @@ /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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short unsigned int]': -/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 = short unsigned int]' +/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/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' + 293 | readData(buffer,0,nrOfCol()-1,row,band,resample); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here + 812 | maskReader.readData(lineMask,jmask); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 169 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:236:28: required from here - 236 | imgWriter.writeData(buffer,irow,0); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -/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 'long unsigned int'} and 'int' [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here + 876 | gdalWriter.writeData(lineOutput,irow); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: + 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: /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 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -4605,143 +4478,20 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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/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 'long unsigned int'} [-Wsign-compare] - 181 | for(int iband=0;iband&, int, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:32: required from here - 268 | imgReader.readDataBlock(readBuffer, 0, imgReader.nrOfCol()-1, 0, imgReader.nrOfRow()-1, band_opt[0]); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long unsigned int'} and 'int' [-Wsign-compare] - 247 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 249 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/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 'long unsigned int'} [-Wsign-compare] - 270 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 217 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 224 | for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 236 | for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 248 | for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 169 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 194 | for(int iextent=0;iextent::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 285 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 106 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 108 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here - 521 | maskReader.readData(maskValue,i,j,0); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 106 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 108 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/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 'long unsigned int'} [-Wsign-compare] - 130 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 191 | for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 198 | for(int iv=0;iv >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 210 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 225 | for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 242 | for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 322 | for(int ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 353 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 371 | for(int imask=0;imask&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:27: required from here - 440 | imgReader.readData(inputX,irow,band_opt[0]); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' + 188 | readData(readBuffer_upper,minCol,maxCol,static_cast(upperRow),band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here + 748 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,readBand,theResample); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4766,23 +4516,13 @@ /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 'long unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' - 293 | readData(buffer,0,nrOfCol()-1,row,band,resample); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:958:26: required from here - 958 | imgReader1.readData(inputX,irow1,band_opt[0]); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long 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]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here - 418 | imgReader.readData(rowBuffer, static_cast(theRow), theBand); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here + 786 | maskReader.readData(lineMask,static_cast(rowMask),mskband_opt[0]); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4795,7 +4535,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4804,57 +4544,97 @@ /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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here - 307 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,band_opt[iband],theResample); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' + 203 | return writeData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here + 843 | imgWriter.writeData(writeBuffer,irow,writeBand); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = 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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 = short int]': -/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 = short unsigned int]': +/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 'long unsigned int'} [-Wsign-compare] + 181 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 217 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 224 | for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 236 | for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 248 | for(int ivalid=0;ivalid::size_type' {aka 'long 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 'long 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/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short unsigned int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In 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]' +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: +/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; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' + 203 | return writeData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:31: required from here + 184 | legendWriter.writeData(buffer,legendWriter.nrOfRow()-1-irow); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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/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/imageclasses/ImgReaderGdal.h: In instantiation of '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:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = char]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here - 765 | inputReader.readData(lineInput,irow,band_opt[0]); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:218:27: required from here + 218 | imgReader.readData(buffer,irow); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /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 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4867,7 +4647,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4876,36 +4656,16 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' - 293 | readData(buffer,0,nrOfCol()-1,row,band,resample); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here - 812 | maskReader.readData(lineMask,jmask); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' - 203 | return writeData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here - 876 | gdalWriter.writeData(lineOutput,irow); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here - 218 | imgReader.readData(lineBuffer[iband],irow,band_opt[iband]); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:227:27: required from here + 227 | imgReader.readData(buffer,irow,0); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4918,7 +4678,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4927,26 +4687,26 @@ /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 'long 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 'long 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 'long 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/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short int]': +/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 = short int]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:24: required from here - 264 | imgWriter.writeData(writeBuffer,irow); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:228:28: required from here + 228 | imgWriter.writeData(buffer,irow,0); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/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 'long 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]' - 188 | readData(readBuffer_upper,minCol,maxCol,static_cast(upperRow),band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here - 307 | imgReader.readData(readBuffer,startCol,endCol+1,readRow,band_opt[iband],theResample); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 = short unsigned int]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short unsigned int]' + 282 | readData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:235:27: required from here + 235 | imgReader.readData(buffer,irow,0); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4959,7 +4719,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4968,16 +4728,204 @@ /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 'long 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 'long 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 'long 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:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short unsigned int]': +/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 = short unsigned int]' + 203 | return writeData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:236:28: required from here + 236 | imgWriter.writeData(buffer,irow,0); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/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 'long unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:158:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 158 | for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:172:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 172 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 174 | if(isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:180:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 180 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 182 | if(isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 190 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 192 | if(isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 198 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 200 | if(isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 207 | for(int ifield=0;ifield >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 210 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 212 | if(isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 220 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 222 | if(isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 231 | for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 238 | if(ifield >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 250 | if(ifield >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 235 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 247 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 254 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 259 | if(offset_opt.size()>ifile) + | ~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:261:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 261 | if(scale_opt.size()>ifile) + | ~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:336:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 336 | if(ifile==input_opt.size()-1){ + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:338:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 338 | for(int bin=0;bin&, 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/pkstat.cc:678:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 678 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 719 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 760 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 801 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 838 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 162 | for(int ifield=0;ifieldRasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': +/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] +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' 282 | readData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:29: required from here - 231 | inputReader.readData(lineInput[iband],irow,iband); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here + 218 | imgReader.readData(lineBuffer[iband],irow,band_opt[iband]); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4990,7 +4938,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 'long 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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] @@ -4999,65 +4947,153 @@ /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 'long 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 'long 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 'long 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/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:31: required from here - 359 | outputWriter.writeData(lineOutput[iband],irow,iband); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 'long unsigned int'} and 'int' [-Wsign-compare] +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:24: required from here + 264 | imgWriter.writeData(writeBuffer,irow); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 + 156 | inputReader.readXY(xvector,yvector); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/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/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here + 166 | inputReader.readData(theData,OFTReal,fieldname_opt[ifield],ilayer,verbose_opt[0]); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] + 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/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/pkstatogr.cc:188:21: required from here + 188 | stat.distribution(theData,theData.begin(),theData.end(),binData,nbin,minValue,maxValue,sigma); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 916 | if(output.size()!=nbin){ + | ~~~~~~~~~~~~~^~~~~~ /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); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:32: required from here + 268 | imgReader.readDataBlock(readBuffer, 0, imgReader.nrOfCol()-1, 0, imgReader.nrOfRow()-1, band_opt[0]); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 'long unsigned int'} and 'int' [-Wsign-compare] + 247 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 249 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/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 'long unsigned int'} [-Wsign-compare] + 270 | for(int index=0;index&, 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = 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 = 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 = short int]': -/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] -/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/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short int]': +/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 = short unsigned int]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/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 = short unsigned int]': /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: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' + 282 | readData(buffer,0,nrOfCol()-1,row,band); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:27: required from here + 440 | imgReader.readData(inputX,irow,band_opt[0]); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' + 293 | readData(buffer,0,nrOfCol()-1,row,band,resample); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstat.cc:958:26: required from here + 958 | imgReader1.readData(inputX,irow1,band_opt[0]); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 'long 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 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 = 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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/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); @@ -5065,9 +5101,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pksieve.cc:114:15: note: 'pszMessage' was declared here 114 | const char* pszMessage; | ^~~~~~~~~~ -[ 37%] Linking CXX executable pksieve -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo /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) @@ -5075,10 +5108,13 @@ /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) | ~~~~~~~^~ +[ 37%] Linking CXX executable pksieve +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, 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) | ~~~~~~~^~ +/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo /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) | ~~~~~~~^~ @@ -5124,30 +5160,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:468:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 468 | if(icol::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1444 | for(int iclass=0;iclass::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1477:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1477 | for(int vband=0;vband&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:337:29: required from here - 337 | classReader.readData(classBuffer,irow); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index::Vector2d(const Vector2d&) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' - 95 | return *this; - | ^~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here - 487 | writeBuffer=writeBufferTmp; - | ^~~~~~~~~~~~~~ -/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 'long unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow&, int, int, int, int) [with T = int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = int]' - 282 | readData(buffer,0,nrOfCol()-1,row,band); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:566:29: required from here - 566 | classReader.readData(classBuffer,irow); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, 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; + | ^~~~~~~ +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterascii.dir/DependInfo.cmake "--color=" +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc: In function 'int main(int, char**)': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:212:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 212 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 233 | for(int iheight=0;iheight, short int>::value_type' {aka 'short int'} [-Wsign-compare] + 358 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:374:18: warning: comparison of integer expressions of different signedness: 'long unsigned int' and '__gnu_cxx::__alloc_traits, short int>::value_type' {aka 'short int'} [-Wsign-compare] + 374 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:30: /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h: In instantiation of 'std::ostream& operator<<(std::ostream&, const Optionpk&) [with T1 = int; std::ostream = std::basic_ostream]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:231:18: required from here @@ -5852,12 +5960,9 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 194 | for(int index=0;index&, int, int, int, int) [with T = int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 54%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -MF CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.d -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = int]': /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 = int]' 224 | readDataBlock(buffer,minCol,maxCol,minRow,maxRow,band); @@ -5908,121 +6013,6 @@ /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 'long unsigned int'} [-Wsign-compare] 270 | for(int index=0;index::size_type' {aka 'long 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 'long 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/apps/pkfilterdem.cc:24: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = int]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = float]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /usr/include/armadillo:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:31: -/usr/include/armadillo_bits/compiler_check.hpp: At global scope: -/usr/include/armadillo_bits/compiler_check.hpp:88:61: note: '#pragma message: INFO: support for C++11 is deprecated' - 88 | #pragma message ("INFO: support for C++11 is deprecated") - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:28: -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 54%] 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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -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 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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 'long 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/pkfilterdem.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:212:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 212 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 233 | for(int iheight=0;iheight, short int>::value_type' {aka 'short int'} [-Wsign-compare] - 358 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:374:18: warning: comparison of integer expressions of different signedness: 'long unsigned int' and '__gnu_cxx::__alloc_traits, short int>::value_type' {aka 'short int'} [-Wsign-compare] - 374 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ -In file included from /usr/include/armadillo:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:27, - from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:30: -/usr/include/armadillo_bits/compiler_check.hpp: At global scope: -/usr/include/armadillo_bits/compiler_check.hpp:88:61: note: '#pragma message: INFO: support for C++11 is deprecated' - 88 | #pragma message ("INFO: support for C++11 is deprecated") - | ^ -[ 55%] 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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:155:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 155 | pfnProgress(dfComplete,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:152:17: note: 'pszMessage' was declared here - 152 | const char* pszMessage; - | ^~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of 'long unsigned int filter2d::Filter2d::dsm2dtm_nwse(const Vector2d&, Vector2d&, double, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:336:29: required from here 336 | theFilter.dsm2dtm_nwse(inputData,tmpData,hThreshold_opt[iheight],nlimit[iheight],dim_opt[0]); @@ -6030,11 +6020,9 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:854:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 854 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -[ 56%] Linking CXX executable pkstatprofile /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:843:10: warning: variable 'noDataValue' set but not used [-Wunused-but-set-variable] 843 | double noDataValue=0; | ^~~~~~~~~~~ -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of 'long unsigned int filter2d::Filter2d::dsm2dtm_nesw(const Vector2d&, Vector2d&, double, int, int) [with T = double]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:339:29: required from here 339 | theFilter.dsm2dtm_nesw(inputData,tmpData,hThreshold_opt[iheight],nlimit[iheight],dim_opt[0]); @@ -6085,7 +6073,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:783:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 783 | for(int iclass=0;iclass&, Vector2d&, const std::string&, int, int, short int, bool) [with T1 = double; T2 = double; std::string = std::__cxx11::basic_string]': /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:379:23: required from here 379 | theFilter.doit(inputData,outputData,"median",dim,dim,1,disc_opt[0]); @@ -6133,16 +6120,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:217:10: warning: variable 'theOffset' set but not used [-Wunused-but-set-variable] 217 | double theOffset=0; | ^~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 56%] Built target pkcrop -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build -make[3]: Entering directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 57%] Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -MF CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.d -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc /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]' 224 | readDataBlock(buffer,minCol,maxCol,minRow,maxRow,band); @@ -6178,40 +6155,36 @@ /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 'long unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irowGetFID(), 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 'long unsigned int'} [-Wsign-compare] + 808 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:832:17: warning: unused variable 'normBag' [-Wunused-variable] + 832 | float normBag=0; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:253:14: warning: variable 'readLayer' set but not used [-Wunused-but-set-variable] + 253 | OGRLayer *readLayer; + | ^~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:260:8: warning: variable 'maskIsVector' set but not used [-Wunused-but-set-variable] + 260 | bool maskIsVector=false; + | ^~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:291:16: warning: unused variable 'nactive' [-Wunused-variable] + 291 | unsigned int nactive=0; + | ^~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:791:32: required from here + 791 | imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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 'long 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; + | ^~~~~~~ +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/14/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' + 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/alloc_traits.h:569:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' + 569 | __a.construct(__p, std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_vector.h:1288:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' + 1288 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1289 | __x); + | ~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here + 392 | trainingPixels.push_back(mapit->second); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 84%] Built target pkcomposite +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-x86_64-linux-gnu' +cd /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /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-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake "--color=" +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-x86_64-linux-gnu' +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-x86_64-linux-gnu' +[ 85%] 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-x86_64-linux-gnu/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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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 +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/pkann.cc:25: +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:30: /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 'long unsigned int'} [-Wsign-compare] 54 | for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:666:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 666 | for(int isample=0;isample >::iterator mapit=trainingMap.begin(); - | ^~~~~ /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 'long unsigned int'} [-Wsign-compare] 157 | for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | for(int icol=0;icol > >&, unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 757 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 882 | for(int iband=0;iband >&, unsigned int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:806:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 806 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 976 | for(short ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1004 | for(int iband=0;iband FANN::neural_net::run(std::vector)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1245:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1245 | for(int iout=0;iout::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1137 | for(int iactive=0;iactive >&, unsigned int, short unsigned int, unsigned int, float, std::vector&, std::vector&, short int)': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1571:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1571 | if(nrun>ntraining) @@ -8497,11 +8530,6 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1595:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1595 | while(nsample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1627 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 241 | for(int ifile=0;ifile >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 253 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 296 | for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 301 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 313 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 306 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 318 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 318 | for(int ipair=0;ipair::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 330 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 340 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 352 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 352 | if(ibag >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 364 | if(ibag >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - 388 | if((mapit->second).size() >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + 400 | if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 425 | for(int isample=trainingPixels[iclass].size();isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 437 | for(int isample=trainingPixels[iclass].size();isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 451 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 463 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 528 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 540 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 571 | for(int ilayer=0;ilayer::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 583 | for(int ilayer=0;ilayer::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 654 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 666 | for(int isample=0;isample >::iterator mapit=trainingMap.begin(); +/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:665:46: warning: variable 'mapit' set but not used [-Wunused-but-set-variable] + 665 | map >::iterator mapit=trainingMap.begin(); | ^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:677:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 677 | for(int i_connection=0;i_connection >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 739 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:794:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 794 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 808 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 882 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 976 | for(short ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1004 | for(int iband=0;ibandGetFID(), 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/pkann.cc:1045:38: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] + 1045 | for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1137 | for(int iactive=0;iactive(activePoints[iactive].posx),static_cast(activePoints[iactive].posy),iband); @@ -8691,25 +8717,6 @@ /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 'long unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:611:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 611 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:606:17: note: 'pszMessage' was declared here - 606 | 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 - 791 | imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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 'long 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/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' 282 | readData(buffer,0,nrOfCol()-1,row,band); @@ -8782,6 +8789,8 @@ /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 'long unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +[ 87%] Linking CXX executable pkreclassogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclassogr.dir/link.txt --verbose=1 /build/reproducible-path/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': /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 = float]' 203 | return writeData(buffer,0,nrOfCol()-1,row,band); @@ -8792,6 +8801,7 @@ /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 'long unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -o pkreclassogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo /build/reproducible-path/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/14/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } @@ -8810,6 +8820,32 @@ /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 'long unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': /build/reproducible-path/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:163:28: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' 163 | cost.push_back(addFeature(v,theCostFactory,subset,verbose)); @@ -9097,6 +9096,14 @@ /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 'long unsigned int'} [-Wsign-compare] 164 | for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/14/bits/new_allocator.h:191:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } @@ -9139,21 +9146,42 @@ /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 'long unsigned int'} [-Wsign-compare] 98 | for(int irow=0;irow&, 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) @@ -9311,19 +9339,22 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 286 | if(verbose>1) | ~~~~~~~^~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkkalman.cc: In function 'int main(int, char**)': -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:781:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 781 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:340:15: note: 'pszMessage' was declared here - 340 | const char* pszMessage; - | ^~~~~~~~~~ +[ 92%] Linking CXX executable pkfssvm +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfssvm.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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkfssvm.dir/src/apps/pkfssvm.cc.o -o pkfssvm -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 92%] Built target pkfssvm /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:768:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 768 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:722:15: note: 'pszMessage' was declared here 722 | const char* pszMessage; | ^~~~~~~~~~ +[ 93%] Linking CXX executable pksvmogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksvmogr.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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pksvmogr.dir/src/apps/pksvmogr.cc.o -o pksvmogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 93%] Built target pksvmogr /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkregann.cc:258:15: warning: array subscript 3 is above array bounds of 'unsigned int [3]' [-Warray-bounds=] 258 | layers[3]=noutput; | ~~~~~~~~^ @@ -9337,30 +9368,35 @@ /build/reproducible-path/pktools-2.6.7.6+ds/src/apps/pkann.cc:734:17: note: 'pszMessage' was declared here 734 | const char* pszMessage; | ^~~~~~~~~~ -[ 95%] Linking CXX executable pkannogr +[ 94%] Linking CXX executable pksvm +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksvm.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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pksvm.dir/src/apps/pksvm.cc.o -o pksvm -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 95%] Linking CXX executable pkfsann +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkfsann.dir/src/apps/pkfsann.cc.o -o pkfsann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 96%] Linking CXX executable pkannogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkannogr.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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkannogr.dir/src/apps/pkannogr.cc.o -o pkannogr -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 96%] 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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 96%] Built target pksvm make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 96%] Built target pkannogr make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 97%] Linking CXX executable pkregann -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkregann.dir/link.txt --verbose=1 +[ 96%] Built target pkfsann +[ 97%] 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 -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 97%] Built target pkkalman +[ 98%] Linking CXX executable pkregann +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkregann.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkregann.dir/src/apps/pkregann.cc.o -o pkregann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 97%] Built target pkregann -[ 98%] Linking CXX executable pkfsann -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkfsann.dir/src/apps/pkfsann.cc.o -o pkfsann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 98%] Built target pkregann [100%] Linking CXX executable pkann /usr/bin/cmake -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pktools-2.6.7.6+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -I/usr/include/hdf5/serial -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/pkann.dir/src/apps/pkann.cc.o -o pkann -Wl,-rpath,/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[100%] Built target pkfsann -make[3]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [100%] Built target pkann make[2]: Leaving directory '/build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles 0 @@ -9512,7 +9548,7 @@ dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libalgorithms1t64/DEBIAN/symbols doesn't match completely debian/libalgorithms1t64.symbols --- debian/libalgorithms1t64.symbols (libalgorithms1t64_2.6.7.6_amd64) -+++ dpkg-gensymbolsO0jrok 2025-12-18 13:54:57.470266039 -1200 ++++ dpkg-gensymbolsAOFWjL 2024-11-16 09:38:22.070556238 +1400 @@ -146,8 +146,8 @@ (optional=templinst)_ZN8Vector2dIdEC2ERKS0_@Base 2.5.2 (optional=templinst)_ZN8Vector2dIdEC2Eii@Base 2.5.2 @@ -9639,7 +9675,7 @@ dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libimageclasses1t64/DEBIAN/symbols doesn't match completely debian/libimageclasses1t64.symbols --- debian/libimageclasses1t64.symbols (libimageclasses1t64_2.6.7.6_amd64) -+++ dpkg-gensymbolsBSu863 2025-12-18 13:54:57.954266039 -1200 ++++ dpkg-gensymbolsa6dnHR 2024-11-16 09:38:22.390557622 +1400 @@ -136,19 +136,20 @@ (optional=templinst|arch=!alpha !hurd-i386 !i386 !powerpc !ppc64 !s390x)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPS5_S7_EE@Base 2.6.4 (optional=templinst|arch=!alpha !amd64 !arm64 !armel !armhf !hppa !hurd-i386 !i386 !loong64 !m68k !mips64el !powerpc !ppc64 !ppc64el !riscv64 !s390x !sh4 !sparc64)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7_@Base 2.6.4 @@ -9686,17 +9722,17 @@ dpkg-gencontrol: warning: Depends field of package libbase1t64: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -O--buildsystem=cmake dh_builddeb -O--buildsystem=cmake -dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-6_amd64.deb'. -dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-6_amd64.deb'. -dpkg-deb: building package 'pktools-dbgsym' in '../pktools-dbgsym_2.6.7.6+ds-6_amd64.deb'. -dpkg-deb: building package 'libbase1t64' in '../libbase1t64_2.6.7.6+ds-6_amd64.deb'. dpkg-deb: building package 'libbase1t64-dbgsym' in '../libbase1t64-dbgsym_2.6.7.6+ds-6_amd64.deb'. -dpkg-deb: building package 'libalgorithms1t64' in '../libalgorithms1t64_2.6.7.6+ds-6_amd64.deb'. -dpkg-deb: building package 'libalgorithms1t64-dbgsym' in '../libalgorithms1t64-dbgsym_2.6.7.6+ds-6_amd64.deb'. +dpkg-deb: building package 'libbase1t64' in '../libbase1t64_2.6.7.6+ds-6_amd64.deb'. dpkg-deb: building package 'libfileclasses1t64-dbgsym' in '../libfileclasses1t64-dbgsym_2.6.7.6+ds-6_amd64.deb'. dpkg-deb: building package 'libfileclasses1t64' in '../libfileclasses1t64_2.6.7.6+ds-6_amd64.deb'. +dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-6_amd64.deb'. +dpkg-deb: building package 'pktools-dbgsym' in '../pktools-dbgsym_2.6.7.6+ds-6_amd64.deb'. dpkg-deb: building package 'libimageclasses1t64' in '../libimageclasses1t64_2.6.7.6+ds-6_amd64.deb'. +dpkg-deb: building package 'libalgorithms1t64-dbgsym' in '../libalgorithms1t64-dbgsym_2.6.7.6+ds-6_amd64.deb'. dpkg-deb: building package 'libimageclasses1t64-dbgsym' in '../libimageclasses1t64-dbgsym_2.6.7.6+ds-6_amd64.deb'. +dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-6_amd64.deb'. +dpkg-deb: building package 'libalgorithms1t64' in '../libalgorithms1t64_2.6.7.6+ds-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../pktools_2.6.7.6+ds-6_amd64.buildinfo dpkg-genchanges --build=binary -O../pktools_2.6.7.6+ds-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -9704,12 +9740,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/181409/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/181409/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1221387 and its subdirectories -I: Current time: Thu Dec 18 13:55:13 -12 2025 -I: pbuilder-time-stamp: 1766109313 +I: removing directory /srv/workspace/pbuilder/181409 and its subdirectories +I: Current time: Sat Nov 16 09:38:40 +14 2024 +I: pbuilder-time-stamp: 1731699520