Diff of the two buildlogs: -- --- b1/build.log 2023-05-19 22:56:03.291518862 +0000 +++ b2/build.log 2023-05-19 23:10:45.036819395 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 20 17:11:16 -12 2024 -I: pbuilder-time-stamp: 1718946676 +I: Current time: Sat May 20 12:56:08 +14 2023 +I: pbuilder-time-stamp: 1684536968 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./pktools_2.6.7.6+ds.orig.tar.gz] I: copying [./pktools_2.6.7.6+ds-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Dec 1 02:24:27 2022 -12 +gpgv: Signature made Fri Dec 2 04:24:27 2022 +14 gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pktools_2.6.7.6+ds-4.dsc: no acceptable signature found @@ -27,135 +27,167 @@ 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/335240/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1678402/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 May 20 12:56 /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/1678402/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1678402/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=15 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='126ff4a3d09341608ef95fdaff987348' - 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='335240' - PS1='# ' - PS2='> ' + INVOCATION_ID=eac6549732b84cc6aa49414dd79483d5 + 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=1678402 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.Quc9JPbc/pbuilderrc_8o8V --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Quc9JPbc/b1 --logfile b1/build.log pktools_2.6.7.6+ds-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Quc9JPbc/pbuilderrc_r2GI --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Quc9JPbc/b2 --logfile b2/build.log --extrapackages usrmerge pktools_2.6.7.6+ds-4.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/335240/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 11:23 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:23 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 20 12:56 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1678402/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -478,7 +510,7 @@ Get: 260 http://deb.debian.org/debian bookworm/main amd64 libsvm3 amd64 3.24+ds-6 [43.6 kB] Get: 261 http://deb.debian.org/debian bookworm/main amd64 libsvm-dev amd64 3.24+ds-6 [64.2 kB] Get: 262 http://deb.debian.org/debian bookworm/main amd64 pkg-kde-tools all 0.15.38 [97.8 kB] -Fetched 140 MB in 4s (32.9 MB/s) +Fetched 140 MB in 6s (25.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-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 ... 19596 files and directories currently installed.) @@ -1572,8 +1604,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-4_source.changes +I: user script /srv/workspace/pbuilder/1678402/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1678402/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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-4_source.changes dpkg-buildpackage: info: source package pktools dpkg-buildpackage: info: source version 2.6.7.6+ds-4 dpkg-buildpackage: info: source distribution unstable @@ -1693,7 +1736,7 @@ error : xmlAddEntity: invalid redeclaration of predefined entity error : xmlAddEntity: invalid redeclaration of predefined entity dh_auto_build - cd obj-x86_64-linux-gnu && make -j16 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-x86_64-linux-gnu && make -j15 "INSTALL=install --strip-program=true" VERBOSE=1 make[2]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/pktools-2.6.7.6+ds -B/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu//CMakeFiles/progress.marks @@ -1709,29 +1752,29 @@ make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/src /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/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[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[4]: Entering directory '/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build +make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 1%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -[ 2%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc -cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/base/Vector2d.cc -[ 3%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o -cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/base/Vector2d.cc -[ 4%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -[ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o +[ 1%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc -[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o +[ 2%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o +[ 3%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o +[ 4%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc +cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/base/Vector2d.cc +[ 5%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o +[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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 +[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o +cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc +[ 8%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc +cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/base/Vector2d.cc [ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc @@ -1760,6 +1803,23 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata()': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:222:1: warning: control reaches end of non-void function [-Wreturn-type] 222 | } @@ -1776,142 +1836,36 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getImageDescription() const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:288:1: warning: control reaches end of non-void function [-Wreturn-type] - 288 | } - | ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getCompression() const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:316:1: warning: control reaches end of non-void function [-Wreturn-type] - 316 | } - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:22: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getImageDescription() const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:288:1: warning: control reaches end of non-void function [-Wreturn-type] + 288 | } + | ^ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::getFields(std::vector&, int) const': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)': -/build/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, double>&, std::string, int, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable 'fid' [-Wunused-variable] - 398 | int fid=0; - | ^~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addLineString(std::vector&, const std::string&, int, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:420:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 420 | for(int ip=0;ip&, const std::string&, int, int)': -/build/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&, const std::string&, const std::string&, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable 'skip' [-Wunused-variable] - 538 | bool skip=false; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] - 602 | bool skip=false; - | ^~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::string ImgRasterGdal::getCompression() const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:316:1: warning: control reaches end of non-void function [-Wreturn-type] + 316 | } + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:24: /build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function 'int ImgReaderOgr::getFields(std::vector&, int) const': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:218:9: warning: unused variable 'iField' [-Wunused-variable] - 218 | int iField=0; - | ^~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:707:25: required from here -/build/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/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/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/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/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/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::size_type' {aka 'long unsigned int'} [-Wsign-compare] 171 | for(int icol=0;icol::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -1947,18 +1910,20 @@ /build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:16: required from here -/build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:22: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; @@ -1989,28 +1954,24 @@ /build/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;indexRasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const ImgReaderGdal&)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const std::string&)': -/build/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; - | ^~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'void ImgWriterGdal::rasterizeOgr(ImgReaderOgr&, const std::vector&, const std::vector >&, const std::vector >&)': -/build/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()::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::getFields(std::vector&, int) const': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)': +/build/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&, int, int, int, int) [with T = short int]': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:360:13: required from here @@ -2038,18 +1999,113 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addPoint(double, double, const std::map, double>&, std::string, int, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable 'fid' [-Wunused-variable] + 398 | int fid=0; + | ^~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addLineString(std::vector&, const std::string&, int, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:420:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 420 | for(int ip=0;ip&, const std::string&, int, int)': +/build/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&, const std::string&, const std::string&, int)': +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] + 602 | bool skip=false; + | ^~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function 'int ImgReaderOgr::getFields(std::vector&, int) const': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:218:9: warning: unused variable 'iField' [-Wunused-variable] + 218 | int iField=0; + | ^~~~~~ +/build/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/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 std::vector >&, const std::vector >&)': +/build/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 = double]': /build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:707:25: required from here +/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:16: required from here +/build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:278:22: note: 'pfnProgress' was declared here + 278 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:279:11: note: 'pProgressData' was declared here + 279 | void* pProgressData; + | ^~~~~~~~~~~~~ In file included from /usr/include/c++/12/iostream:39, from /build/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]', @@ -2070,6 +2126,12 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:14: note: 'x' was declared here 235 | double x,y; | ^ +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here + 345 | void* pTransformArg; + | ^~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::ascii2ogr(const std::string&, const std::string&, const std::vector >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:622:37: warning: 'pointFeature' may be used uninitialized [-Wmaybe-uninitialized] 622 | pointFeature->SetField(fieldId,atoi(value.c_str())); @@ -2089,30 +2151,67 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:526:15: note: 'polyFeature' was declared here 526 | OGRFeature *polyFeature; | ^~~~~~~~~~~ -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here - 345 | void* pTransformArg; - | ^~~~~~~~~~~~~ -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:278:22: note: 'pfnProgress' was declared here - 278 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:279:11: note: 'pProgressData' was declared here - 279 | void* pProgressData; - | ^~~~~~~~~~~~~ [ 12%] Linking CXX shared library libimageClasses.so cd /build/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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 cd /build/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 +In file included from /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': +/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] + 24 | FileReaderAscii::FileReaderAscii(void) + | ^~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': +/build/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) + | ~~~~~~~^~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': +/build/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/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){ + | ~~~~~~~~^~~~~~ [ 12%] Built target imageClasses make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' @@ -2121,20 +2220,20 @@ make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 13%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc -[ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o +[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o +[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc +[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o +[ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/Filter.cc -[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc +[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc -[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o +[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/svm.cpp +[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o cd /build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/base/Vector2d.cc /build/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/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:278:7: required from here @@ -2194,8 +2293,9 @@ /build/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/pktools-2.6.7.6+ds/src/algorithms/Filter.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:26, + from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:20: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; @@ -2207,69 +2307,12 @@ /build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:26, - from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:20: +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:29, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': -/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': -/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] - 24 | FileReaderAscii::FileReaderAscii(void) - | ^~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': -/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': -/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': -/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': -/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:53, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: @@ -2277,23 +2320,30 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, + from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:27: +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': +/build/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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': +/build/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 >&)': +/build/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'} [-Wsign-compare] 54 | for(index=0;index::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2376,28 +2427,22 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:276:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 276 | for(int iclass=0;iclass&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h: In constructor 'imgregression::ImgRegression::ImgRegression()': -/build/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/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:44:9: warning: 'int imgregression::ImgRegression::m_down' [-Wreorder] - 44 | int m_down; - | ^~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:25:1: warning: when initialized here [-Wreorder] - 25 | ImgRegression::ImgRegression(void) - | ^~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here /build/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] @@ -2417,6 +2462,31 @@ /build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h: In constructor 'imgregression::ImgRegression::ImgRegression()': +/build/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/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:44:9: warning: 'int imgregression::ImgRegression::m_down' [-Wreorder] + 44 | int m_down; + | ^~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:25:1: warning: when initialized here [-Wreorder] + 25 | ImgRegression::ImgRegression(void) + | ^~~~~~~~~~~~~ +[ 22%] Linking CXX shared library libfileClasses.so +cd /build/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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::setTaps(const std::vector&, bool)': /build/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] 727 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/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 /build/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/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:48:24: required from here /build/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] @@ -2493,30 +2575,14 @@ /build/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/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, - from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:27: -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/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 >&)': -/build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'std::vector Vector2d::selectCol(int) [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:78:37: required from here @@ -2597,10 +2663,6 @@ /build/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&, int, int, int, int) [with T = double]': -/build/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/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/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/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:75:21: required from here @@ -2640,35 +2702,6 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] - 58 | } - | ^ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::filter(ImgReaderGdal&, ImgWriterGdal&, bool, bool, bool)': /build/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] 213 | for(int iclass=0;iclass&, int, int, int, int) [with T = double]': +/build/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/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:279:11: warning: unused variable 'centre' [-Wunused-variable] 279 | int centre=dimX*(dimY-1)/2+(dimX-1)/2; | ^~~~~~ @@ -2741,13 +2778,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1030:13: warning: unused variable 'centre' [-Wunused-variable] 1030 | int centre=dimX*(dimY-1)/2+(dimX-1)/2; | ^~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function 'double confusionmatrix::ConfusionMatrix::ua(const std::string&, double*) const': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: warning: 'dva' may be used uninitialized [-Wmaybe-uninitialized] - 237 | double dva=1.0-dva; - | ^~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: note: 'dva' was declared here - 237 | double dva=1.0-dva; - | ^~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::linearFeature(ImgReaderGdal&, ImgWriterGdal&, float, float, float, float, bool, bool, bool, bool, int, bool)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1197:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1197 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1259 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtForward(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:70:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 70 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:66:15: note: 'pszMessage' was declared here - 66 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtInverse(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:101:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 101 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:97:15: note: 'pszMessage' was declared here - 97 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtCut(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int, double)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:132:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 132 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:128:15: note: 'pszMessage' was declared here - 128 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtCutFrom(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int, int)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:163:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 163 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:159:15: note: 'pszMessage' was declared here - 159 | const char* pszMessage; - | ^~~~~~~~~~ +/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] + 58 | } + | ^ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:33:5: required from here /build/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] @@ -2902,6 +2916,41 @@ /build/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/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/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:100:23: required from here @@ -3004,9 +3053,6 @@ /build/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::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]' /usr/include/c++/12/bits/stl_uninitialized.h:120:21: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]' @@ -3020,9 +3066,6 @@ /build/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&, int, int, int, int) [with T = double]': /build/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); @@ -3219,149 +3262,125 @@ make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake --color= make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksetmask.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake --color= make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpimg.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 24%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkinfo.cc +make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake --color= -[ 25%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkcrop.cc +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/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/build -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build -[ 26%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 24%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkinfo.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatascii.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build +[ 25%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o +[ 26%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkcrop.cc +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build [ 27%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 28%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pksetmask.cc -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pksetmask.cc +[ 30%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc +make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc -make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend -[ 30%] Building CXX object CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -[ 31%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkegcs.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 31%] Building CXX object CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkdumpimg.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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pksieve.cc +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build -[ 32%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o +[ 34%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkstat.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend -[ 34%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pksieve.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 35%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build -[ 35%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -[ 36%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc -[ 37%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o +[ 36%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -MF CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.d -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 37%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc [ 38%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkegcs.dir/src/apps/pkegcs.cc.o -MF CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.d -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc [ 39%] Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkextractimg.dir/src/apps/pkextractimg.cc.o -MF CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.d -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkegcs.dir/src/apps/pkegcs.cc.o -MF CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.d -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc -[ 40%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkextractogr.dir/src/apps/pkextractogr.cc.o -MF CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.d -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:29: -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -3370,8 +3389,19 @@ /build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc: In function 'int main(int, char**)': +/build/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::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3380,8 +3410,13 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc:24: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: + from /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:22: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -3390,12 +3425,8 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:178:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 178 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3404,103 +3435,14 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:209:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 209 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 226 | if(fieldname_opt.size()::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 364 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 391 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 400 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 506 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 510 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 539 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 596 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 624 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 631 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 736 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 738 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 756 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3509,10 +3451,6 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkegcs.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:110:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 110 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3534,28 +3472,23 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:30: -/build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:156:18: required from here -/build/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&) [with T1 = std::__cxx11::basic_string; std::ostream = std::basic_ostream]': -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:239:18: required from here -/build/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] -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here -/build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] + 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/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/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:21: required from here +/build/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){ + | ~~~~~~~~~~~~~^~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -3565,7 +3498,7 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: + from /build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:21: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -3574,14 +3507,21 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: -/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:26: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: + from /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -3596,130 +3536,188 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:29: -/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:337:29: required from here -/build/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/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = int]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:566:29: required from here -/build/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/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/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/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/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/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/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/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'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc: In function 'int main(int, char**)': -/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:23: +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:24: /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:169:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka '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'} [-Wsign-compare] + 110 | for(int inodata=0;inodata&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:161:16: warning: unused variable 'theType' [-Wunused-variable] + 161 | GDALDataType theType; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:174:7: warning: unused variable 'nband' [-Wunused-variable] + 174 | int nband=imgReader.nrOfBand(); + | ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:176:7: warning: unused variable 'nrow' [-Wunused-variable] + 176 | int nrow=imgReader.nrOfRow(); + | ^~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:177:7: warning: unused variable 'ncol' [-Wunused-variable] + 177 | int ncol=imgReader.nrOfCol(); + | ^~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:247:10: warning: variable 'dcropcol' set but not used [-Wunused-but-set-variable] + 247 | double dcropcol=0; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:248:10: warning: variable 'dcroprow' set but not used [-Wunused-but-set-variable] + 248 | double dcroprow=0; + | ^~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:29: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, + from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:29: +/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': /build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:217:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka '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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:236:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::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] @@ -3728,6 +3726,10 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function 'int main(int, char**)': +/build/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] 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] + 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'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:217:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 217 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:224:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::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] + 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] 186 | for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 322 | for(int ivalue=0;ivalue&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:353:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::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'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3783,308 +3801,80 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:270:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 270 | for(int ipair=0;ipair >::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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:453:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 453 | for(int irule=0;irule&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] - 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/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/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:21: required from here -/build/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/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:625:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 625 | for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 636 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 644 | for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] 242 | for(int iflag=0;iflag&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:255:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 255 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 799 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] 262 | for(int rc=0;rc::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 865 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 923 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 960 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1036 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 405 | for(int iy=0;iy&, int, int, double, int, RESAMPLE) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here +/build/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:310:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 310 | for(int iinput=0;iinput >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1097 | for(int irule=0;irule >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 315 | for(int iref=0;iref::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1114 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1150 | for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1177 | for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1288 | for(int vband=0;vband&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25: -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function 'int main(int, char**)': +/build/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] 447 | for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1360 | for(int vband=0;vband::iterator panit=panMap.begin(); | ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1444:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1444 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1477 | for(int vband=0;vband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 340 | for(int iextent=0;iextent::size_type' {aka 'long unsigned int'} [-Wsign-compare] 513 | for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] 522 | for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1557 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1617 | for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1634 | 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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:549:19: warning: unused variable 'j' [-Wunused-variable] 549 | int j=j_centre; | ^ /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:550:19: warning: unused variable 'i' [-Wunused-variable] 550 | int i=i_centre; | ^ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1671:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1671 | for(int iperc=0;iperc >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 487 | for(int iimg=0;iimg::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1698 | for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] 738 | for(int iflag=0;iflag::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::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:235:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 235 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 746 | for(int rc=0;rc::size_type' {aka 'long unsigned int'} [-Wsign-compare] 247 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 405 | for(int iy=0;iy::size_type' {aka 'long unsigned int'} [-Wsign-compare] 254 | for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 261 | if(scale_opt.size()>ifile) | ~~~~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:75:9: warning: unused variable 'red' [-Wunused-variable] - 75 | short red=-1; - | ^~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] - 76 | short green=-1; - | ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable 'blue' [-Wunused-variable] - 77 | short blue=-1; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function 'int main(int, char**)': -/build/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] + 800 | for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 813 | for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; + | ~~~~~~~~~~~~~~~^~~~~~ /build/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/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'} [-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'} and 'int' [-Wsign-compare] + 711 | if(scale_opt.size()>iband) + | ~~~~~~~~~~~~~~~~^~~~~~ +/build/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc:427:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 427 | for(int i=0;i::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 = int]': -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/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/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/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] + 149 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] 760 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 158 | for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} [-Wsign-compare] 801 | for(int inodata=0;inodata::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] + 178 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] 838 | for(int inodata=0;inodata::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] + 209 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 226 | if(fieldname_opt.size()::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&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here +/build/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/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/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/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/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/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/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/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 >, 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] + 364 | for(int iclass=0;iclass::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'} [-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&) [with T1 = int; std::ostream = std::basic_ostream]': -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:231:18: required from here -/build/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::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; - | ~~~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:391:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 391 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 400 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 506 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 510 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 539 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 596 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 624 | for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 631 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 736 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 738 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 756 | for(int iclass=0;iclass&, int, int, int, int) [with T = float]': /build/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/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here @@ -4279,12 +4157,6 @@ /build/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/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/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/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4300,96 +4172,42 @@ /build/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:149:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 149 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here -/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:31: required from here +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = char]' +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:218:27: required from here +/build/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/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/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/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/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/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/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) | ~~~~~~~~~~~~~~~^~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:32: required from here -/build/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/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/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/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/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/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/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/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/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] + 150 | for(int index=0;index&, int, int, int, int) [with T = float]': -/build/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/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here +/build/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:227:27: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4402,7 +4220,7 @@ /build/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/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/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/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] @@ -4411,16 +4229,18 @@ /build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/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/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here +/build/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/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]' +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:228:28: required from here +/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:235:27: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4433,7 +4253,7 @@ /build/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/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/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/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] @@ -4442,15 +4262,53 @@ /build/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:236:28: required from here +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:506:37: required from here +/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here +/build/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/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/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/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/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/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]' -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here /build/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/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/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] + 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); + | ^~~~~~~ /build/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/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/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:29: required from here @@ -4480,25 +4338,33 @@ | ~~~~~^~~~~~~~~~~~~~ /build/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/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here -/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:31: required from here /build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:31: required from here -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = char]' -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:218:27: required from here +/build/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:32: required from here +/build/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/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/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/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/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/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 = float]': +/build/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/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4511,7 +4377,7 @@ /build/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/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/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/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] @@ -4520,12 +4386,22 @@ /build/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:227:27: required from here +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:30: +/build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:156:18: required from here +/build/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 = double]': +/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4538,12 +4414,7 @@ /build/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/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/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here -/build/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/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/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/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] @@ -4552,18 +4423,32 @@ /build/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/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/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/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]' -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:228:28: required from here -/build/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/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/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]' +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here +/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here +/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:235:27: required from here +/build/pktools-2.6.7.6+ds/src/base/Optionpk.h: In instantiation of 'std::ostream& operator<<(std::ostream&, const Optionpk&) [with T1 = std::__cxx11::basic_string; std::ostream = std::basic_ostream]': +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:239:18: required from here +/build/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] +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here +/build/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, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4576,7 +4461,7 @@ /build/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/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/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/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] @@ -4585,60 +4470,12 @@ /build/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:236:28: required from here -/build/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/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/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]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:584:36: required from here -/build/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/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/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/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/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/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, int) [with T = float]': -/build/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 = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:588:36: required from here -/build/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:27: required from here +/build/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/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/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4651,7 +4488,7 @@ /build/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/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/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/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] @@ -4660,81 +4497,18 @@ /build/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/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/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/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]' -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:958:26: required from here -/build/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/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc: In function 'int main(int, char**)': -/build/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'} [-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'} [-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&, int, int, double, int, RESAMPLE) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here -/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here +/build/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/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:27: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4759,11 +4533,21 @@ /build/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/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]' +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:958:26: required from here +/build/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/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/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/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/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/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/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/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4772,8 +4556,8 @@ 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here +/build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:337:29: required from here /build/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,12 +4579,34 @@ /build/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here +/build/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = int]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:566:29: required from here /build/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){ | ~~~~~~~~~~~~~~^~~~~ @@ -4813,7 +4619,7 @@ /build/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/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/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/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] @@ -4822,15 +4628,9 @@ /build/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here -/build/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/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/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); @@ -4839,32 +4639,17 @@ /build/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/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/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] - 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); - | ^~~~~~~ -/build/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4878,38 +4663,24 @@ /build/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/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/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/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/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/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/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/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/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/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/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/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/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/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] /build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = int]': +/build/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pksieve.cc: In function 'int main(int, char**)': /build/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); @@ -4932,27 +4703,11 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:324:26: note: 'pfnProgress' was declared here - 324 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here - 325 | void* pProgressData; - | ^~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -[ 41%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:260:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 260 | for(int icol=0;icol1) | ~~~~~~~^~ +[ 40%] Linking CXX executable pksieve +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 /build/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/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: required from here /build/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] @@ -5028,6 +4785,7 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1218:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1218 | for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:24: required from here /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1027:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] @@ -5036,24 +4794,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1037:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1037 | if(output.size()<=binY){ | ~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 41%] Built target pksieve -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 42%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -MF CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.d -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:222:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 222 | pfnProgress(progress,pszMessage,pProgressArg); @@ -5061,9 +4801,6 @@ /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:217:15: note: 'pszMessage' was declared here 217 | const char* pszMessage; | ^~~~~~~~~~ -[ 43%] Linking CXX executable pkstatprofile -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -o pkstatprofile -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:126:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 126 | pfnProgress(progress,pszMessage,pProgressArg); @@ -5071,65 +4808,444 @@ /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:122:15: note: 'pszMessage' was declared here 122 | const char* pszMessage; | ^~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 40%] Built target pksieve +make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 41%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkextractogr.dir/src/apps/pkextractogr.cc.o -MF CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.d -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc +[ 42%] Linking CXX executable pkstatprofile +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -o pkstatprofile -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:324:26: note: 'pfnProgress' was declared here + 324 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here + 325 | void* pProgressData; + | ^~~~~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 42%] Built target pkstatprofile +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 43%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -MF CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.d -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc [ 44%] Linking CXX executable pkegcs /usr/bin/cmake -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkegcs.dir/src/apps/pkegcs.cc.o -o pkegcs -Wl,-rpath,/build/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 -[ 45%] Linking CXX executable pkinfo -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkinfo.dir/src/apps/pkinfo.cc.o -o pkinfo -Wl,-rpath,/build/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 +[ 45%] Linking CXX executable pkgetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkgetmask.dir/src/apps/pkgetmask.cc.o -o pkgetmask -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 46%] Linking CXX executable pkstatogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 -[ 46%] Built target pkstatprofile +[ 45%] Built target pkegcs make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilter.dir/DependInfo.cmake --color= -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatogr.dir/src/apps/pkstatogr.cc.o -o pkstatogr -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 47%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o +[ 46%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfilter.dir/src/apps/pkfilter.cc.o -MF CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.d -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc -[ 47%] Built target pkegcs +[ 47%] Linking CXX executable pkdumpimg +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -o pkdumpimg -Wl,-rpath,/build/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 +[ 48%] Linking CXX executable pksetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pksetmask.dir/src/apps/pksetmask.cc.o -o pksetmask -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 50%] Linking CXX executable pkdumpogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=1 +[ 50%] Built target pkgetmask make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterdem.dir/DependInfo.cmake --color= +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -o pkdumpogr -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 48%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 51%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -MF CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.d -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc +[ 52%] Linking CXX executable pkcreatect +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkcreatect.dir/src/apps/pkcreatect.cc.o -o pkcreatect -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +[ 53%] Linking CXX executable pkstatogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatogr.dir/src/apps/pkstatogr.cc.o -o pkstatogr -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:29: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 48%] Built target pkinfo +[ 53%] Built target pkdumpogr make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterascii.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 50%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc -[ 51%] Linking CXX executable pkcreatect -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=1 -[ 52%] Linking CXX executable pkdumpimg -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkcreatect.dir/src/apps/pkcreatect.cc.o -o pkcreatect -Wl,-rpath,/build/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 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -o pkdumpimg -Wl,-rpath,/build/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 -[ 53%] Linking CXX executable pkdumpogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -o pkdumpogr -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 54%] Linking CXX executable pkgetmask -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 -[ 54%] Built target pkstatogr -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkgetmask.dir/src/apps/pkgetmask.cc.o -o pkgetmask -Wl,-rpath,/build/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 +[ 53%] Built target pkdumpimg make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color= +[ 54%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:270:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 270 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 453 | for(int irule=0;irule >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 625 | for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 636 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 644 | for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 799 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 865 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 923 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 960 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1036 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1097 | for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1114 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1150 | for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1177 | for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1288 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1360 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1444 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1477 | for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1557 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1617 | for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1634 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1671 | for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1698 | for(int ivalue=0;ivalue&) [with T1 = int; std::ostream = std::basic_ostream]': +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:231:18: required from here +/build/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&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ +/build/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/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]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:584:36: required from here +/build/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/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/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/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/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/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, int) [with T = float]': +/build/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 = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:588:36: required from here +/build/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/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/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/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/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/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;indexComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:287:26: note: 'pfnProgress' was declared here + 287 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:288:15: note: 'pProgressData' was declared here + 288 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:384:26: note: 'pfnProgress' was declared here + 384 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:385:15: note: 'pProgressData' was declared here + 385 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:886:24: note: 'pfnProgress' was declared here + 886 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:887:13: note: 'pProgressData' was declared here + 887 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:549:17: warning: 'icol' may be used uninitialized [-Wmaybe-uninitialized] + 549 | for(int icol;icol&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ +[ 59%] Linking CXX executable pkinfo +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkinfo.dir/src/apps/pkinfo.cc.o -o pkinfo -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:333:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 333 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:288:15: note: 'pszMessage' was declared here + 288 | const char* pszMessage; + | ^~~~~~~~~~ +/build/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/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/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -[ 57%] Linking CXX executable pksetmask -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pksetmask.dir/src/apps/pksetmask.cc.o -o pksetmask -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 57%] Built target pkdumpimg -make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color= -[ 57%] Built target pkdumpogr -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2img.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:24: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 58%] Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -MF CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.d -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc -[ 59%] Building CXX object CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkascii2img.dir/src/apps/pkascii2img.cc.o -MF CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.d -o CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:244:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 244 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:240:15: note: 'pszMessage' was declared here + 240 | const char* pszMessage; + | ^~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, @@ -5222,19 +5318,6 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:333:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 333 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:288:15: note: 'pszMessage' was declared here - 288 | const char* pszMessage; - | ^~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, @@ -5253,14 +5336,38 @@ /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 59%] Built target pkgetmask +[ 59%] Built target pkinfo make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvm.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 60%] Building CXX object CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pksvm.dir/src/apps/pksvm.cc.o -MF CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.d -o CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:28: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc: In function 'int main(int, char**)': /build/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;inodataminChange_opt[0]&&dim<=dim_opt[1]){ /build/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]){ -[ 60%] Building CXX object CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pksvm.dir/src/apps/pksvm.cc.o -MF CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.d -o CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:287:26: note: 'pfnProgress' was declared here - 287 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:288:15: note: 'pProgressData' was declared here - 288 | void* pProgressData; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:384:26: note: 'pfnProgress' was declared here - 384 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:385:15: note: 'pProgressData' was declared here - 385 | void* pProgressData; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:886:24: note: 'pfnProgress' was declared here - 886 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:887:13: note: 'pProgressData' was declared here - 887 | void* pProgressData; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:549:17: warning: 'icol' may be used uninitialized [-Wmaybe-uninitialized] - 549 | for(int icol;icol::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, + from /build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:26: +/build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/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/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:336:29: required from here /build/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] @@ -5338,6 +5443,14 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:948:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 948 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:29: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:937:10: warning: variable 'noDataValue' set but not used [-Wunused-but-set-variable] 937 | double noDataValue=0; | ^~~~~~~~~~~ @@ -5346,6 +5459,10 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1042:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1042 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1031:10: warning: variable 'noDataValue' set but not used [-Wunused-but-set-variable] 1031 | double noDataValue=0; | ^~~~~~~~~~~ @@ -5384,6 +5501,12 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:305:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 305 | for(int x=0;x&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:320:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 320 | else if(indexI>=inputVector[0].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ @@ -5416,22 +5539,40 @@ /build/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; | ^~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 60%] Built target pksetmask -make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:145:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 145 | for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 346 | for(int iextent=0;iextent >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 391 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 395 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 397 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 473 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 484 | for(int iband=0;iband&, int, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:191:22: required from here @@ -5459,148 +5600,9 @@ /build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -[ 61%] Building CXX object CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pksvmogr.dir/src/apps/pksvmogr.cc.o -MF CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.d -o CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:244:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 244 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:240:15: note: 'pszMessage' was declared here - 240 | const char* pszMessage; - | ^~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:28: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:25: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, - from /build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:24: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = double]': -/build/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:29: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:26: -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:145:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 145 | for(int icol=0;icol&, Vector2d&, double, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:840:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 840 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:836:15: note: 'pszMessage' was declared here - 836 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_nesw(const Vector2d&, Vector2d&, double, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:934:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 934 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:930:15: note: 'pszMessage' was declared here - 930 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_senw(const Vector2d&, Vector2d&, double, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1028:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 1028 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1024:15: note: 'pszMessage' was declared here - 1024 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_swne(const Vector2d&, Vector2d&, double, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1118:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 1118 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1114:15: note: 'pszMessage' was declared here - 1114 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::morphology(const Vector2d&, Vector2d&, const std::string&, int, int, bool, double) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:699:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 699 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:695:15: note: 'pszMessage' was declared here - 695 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'void filter2d::Filter2d::doit(const Vector2d&, Vector2d&, const std::string&, int, int, short int, bool) [with T1 = double; T2 = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:265:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] - 265 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:261:15: note: 'pszMessage' was declared here - 261 | const char* pszMessage; - | ^~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:23: + from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/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 @@ -5609,31 +5611,6 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:346:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 346 | for(int iextent=0;iextent >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 391 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 395 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 397 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 473 | for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 484 | for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 707 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 874 | if(minValue_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~^~~~~~ -/build/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/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/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:24: required from here -/build/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/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:880:35: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 880 | if(maxValue_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -5691,67 +5662,29 @@ /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:717:7: warning: unused variable 'jb' [-Wunused-variable] 717 | int jb=0; | ^~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:24: + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: /build/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/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:29: /build/pktools-2.6.7.6+ds/src/base/Optionpk.h: In instantiation of 'std::ostream& operator<<(std::ostream&, const Optionpk&) [with T1 = short int; std::ostream = std::basic_ostream]': /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:592:18: required from here /build/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 = double]': +/build/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/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:24: required from here +/build/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/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/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:36: required from here /build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:25: -/build/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/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/pktools-2.6.7.6+ds/src/apps/pksvm.cc:30: -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/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&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:36: required from here @@ -5816,6 +5749,119 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:1241:30: required from here /build/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/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/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = double]': +/build/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/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_nwse(const Vector2d&, Vector2d&, double, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:840:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] + 840 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:836:15: note: 'pszMessage' was declared here + 836 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_nesw(const Vector2d&, Vector2d&, double, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:934:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] + 934 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:930:15: note: 'pszMessage' was declared here + 930 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_senw(const Vector2d&, Vector2d&, double, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1028:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] + 1028 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1024:15: note: 'pszMessage' was declared here + 1024 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_swne(const Vector2d&, Vector2d&, double, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1118:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] + 1118 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1114:15: note: 'pszMessage' was declared here + 1114 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::morphology(const Vector2d&, Vector2d&, const std::string&, int, int, bool, double) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:699:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] + 699 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:695:15: note: 'pszMessage' was declared here + 695 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'void filter2d::Filter2d::doit(const Vector2d&, Vector2d&, const std::string&, int, int, short int, bool) [with T1 = double; T2 = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:265:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] + 265 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:261:15: note: 'pszMessage' was declared here + 261 | const char* pszMessage; + | ^~~~~~~~~~ +/build/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/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/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/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/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/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/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/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] +/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function 'int main(int, char**)': +/build/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/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:152:17: note: 'pszMessage' was declared here + 152 | const char* pszMessage; + | ^~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:25: +/build/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/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/pktools-2.6.7.6+ds/src/apps/pksvm.cc:30: +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': +/build/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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': +/build/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] 307 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1160 | for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] @@ -5899,22 +5941,6 @@ /build/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) | ~~~~~~~~~~~~~~~^~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:24: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pksvm.cc:897:31: required from here @@ -5979,32 +6005,19 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1147:30: required from here /build/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/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/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/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/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/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/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/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/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] -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:25: -/build/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/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/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:30: -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/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()) - | ~~~~~^~~~~~~~~~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 61%] Built target pkextractimg +make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 62%] Building CXX object CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pksvmogr.dir/src/apps/pksvmogr.cc.o -MF CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.d -o CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc +[ 63%] Linking CXX executable pkfillnodata +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -o pkfillnodata -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' /usr/include/c++/12/bits/alloc_traits.h:516: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 >]' @@ -6013,74 +6026,48 @@ /build/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 >::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] - 295 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 336 | for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 355 | for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 360 | for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 372 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 394 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 411 | if(ibag >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - 451 | if((mapit->second).size()::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] - 474 | while(balance_opt.size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 488 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 514 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] - 549 | while(bagSize_opt.size() >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 648 | for(int isample=0;isample&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 63%] Built target pkfillnodata +make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfssvm.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 64%] Building CXX object CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfssvm.dir/src/apps/pkfssvm.cc.o -MF CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.d -o CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc +/build/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/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': +/build/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/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/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] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:31: /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': /build/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/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:650:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 650 | for(int ifeature=0;ifeature1) | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:754:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 754 | for(int ivalidation=0;ivalidation >&, const std::vector&, double, double, bool, bool)': /build/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) @@ -6088,35 +6075,10 @@ /build/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/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:797:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'GIntBig' {aka 'long long int'} [-Wformat=] - 797 | "Unable to translate feature %d from layer %s.\n", - | ~^ - | | - | int - | %lld - 798 | poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:822:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 822 | for(int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 844 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:870:17: warning: unused variable 'normBag' [-Wunused-variable] - 870 | float normBag=0; - | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:486:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 486 | if(dimZ_opt.size()==1) @@ -6124,21 +6086,16 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:536:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 536 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] 551 | for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] 594 | for(int itap=0;itap&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:638:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 638 | for(int isrf=0;isrf::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1130 | for(int itap=0;itap&, int, int, int, int) [with T = float]': -/build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': -/build/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/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/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] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/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/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/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:806:25: required from here -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] - 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -[ 62%] Linking CXX executable pkextractimg -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractimg.dir/link.txt --verbose=1 -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:375:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 375 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 385 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 410 | for(int isample=0;isample&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:44: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 287 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 300 | for(int iband=0;iband&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:27: required from here -/build/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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkextractimg.dir/src/apps/pkextractimg.cc.o -o pkextractimg -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:890:23: required from here -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 210 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 272 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:903:16: required from here -/build/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 = double]': -/build/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/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:23: required from here -/build/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/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/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/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/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/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/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/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::selectCol(int, std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:414:20: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 174 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:418:25: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here -/build/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&, int, int, int, int, int) [with T = short unsigned int]': -/build/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 = short unsigned int]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:830:28: required from here -/build/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/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/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/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/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/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::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:33: required from here -/build/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&, int, int, int, int) [with T = double]': -/build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = short unsigned int]': -/build/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 64%] Built target pkfillnodata -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 65%] Building CXX object CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -MF CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.d -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:125:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 125 | pfnProgress(dfComplete,pszMessage,pProgressArg); @@ -6358,10 +6139,6 @@ /build/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/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.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::size_type' {aka 'long unsigned int'} [-Wsign-compare] 342 | if(icol&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ +[ 65%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:375:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 375 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 385 | for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 410 | for(int isample=0;isample&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:44: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 287 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 300 | for(int iband=0;iband&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:27: required from here +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:890:23: required from here +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 210 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 272 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:903:16: required from here +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:153:25: required from here /build/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] @@ -6484,37 +6305,76 @@ /build/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+tSetField(fieldname.c_str(),value); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1505:31: note: 'writePointFeature' was declared here - 1505 | OGRFeature *writePointFeature; - | ^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1724:43: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1724 | if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){ - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1252:25: note: 'writePolygonFeature' was declared here - 1252 | OGRFeature *writePolygonFeature; - | ^~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1061:54: warning: 'writePointFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1061 | writePointFeature->SetField(fieldname.c_str(),value); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:985:31: note: 'writePointFeature' was declared here - 985 | OGRFeature *writePointFeature; - | ^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1180:54: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1180 | writePolygonFeature->SetField(fieldname[ivalue].c_str(),static_cast(theValue[ivalue])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:734:25: note: 'writePolygonFeature' was declared here - 734 | OGRFeature *writePolygonFeature; - | ^~~~~~~~~~~~~~~~~~~ +/build/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/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/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:23: required from here +/build/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/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/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/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/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/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/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/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::selectCol(int, std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:414:20: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 174 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:418:25: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here +/build/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&, int, int, int, int, int) [with T = short unsigned int]': +/build/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 = short unsigned int]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:830:28: required from here +/build/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/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/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/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/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/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&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:345:21: required from 'void filter::Filter::applyFwhm(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]' /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:33: required from here @@ -6534,9 +6394,13 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -[ 67%] Linking CXX executable pkdiff -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkdiff.dir/src/apps/pkdiff.cc.o -o pkdiff -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ +[ 67%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +[ 68%] Linking CXX executable pkascii2img +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkascii2img.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkascii2img.dir/src/apps/pkascii2img.cc.o -o pkascii2img -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:30: +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': +/build/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/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': +/build/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] + 295 | for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 336 | for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 355 | for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 360 | for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 372 | for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 394 | for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:411:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 411 | if(ibag&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:451:34: warning: comparison of integer expressions of different signedness: 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + 451 | if((mapit->second).size()::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] + 474 | while(balance_opt.size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 488 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 514 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] + 549 | while(bagSize_opt.size() >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 648 | for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 754 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:822:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 822 | for(int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 844 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 378 | for(int ifile=0;ifileGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:870:17: warning: unused variable 'normBag' [-Wunused-variable] + 870 | float normBag=0; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:304:14: warning: variable 'readLayer' set but not used [-Wunused-but-set-variable] + 304 | OGRLayer *readLayer; + | ^~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:311:8: warning: variable 'maskIsVector' set but not used [-Wunused-but-set-variable] + 311 | bool maskIsVector=false; + | ^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:343:16: warning: unused variable 'nactive' [-Wunused-variable] + 343 | unsigned int nactive=0; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:417:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 417 | for(int ipair=0;ipair >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] 509 | if((mapit->second).size()&, int, int, int, int) [with T = double]': +/build/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/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:565:62: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] 565 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 592 | for(int isample=0;isample&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:627:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 627 | for(int iname=0;iname, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] 670 | for(int isample=0;isample&, int, int, int, int, int) [with T = short unsigned int]': +/build/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); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 69%] Built target pkstat +make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:391:16: warning: variable 'totalTestSamples' set but not used [-Wunused-but-set-variable] 391 | unsigned int totalTestSamples=0; | ^~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:450:22: warning: unused variable 'prob' [-Wunused-variable] 450 | struct svm_problem prob; | ^~~~ +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color= +[ 70%] Linking CXX executable pkdiff +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=1 +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkdiff.dir/src/apps/pkdiff.cc.o -o pkdiff -Wl,-rpath,/build/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 +[ 71%] Building CXX object CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -MF CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.d -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc +/build/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/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:806:25: required from here +/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] + 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::forward(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:709:32: required from here @@ -6633,6 +6655,19 @@ /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:262:30: warning: variable 'lit2' set but not used [-Wunused-but-set-variable] 262 | std::list::iterator lit2=lit;//start searching from next element | ^~~~ +[ 72%] Linking CXX executable pkpolygonize +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkpolygonize.dir/link.txt --verbose=1 +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -o pkpolygonize -Wl,-rpath,/build/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 +[ 72%] Built target pkascii2img +make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkreclass.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 73%] Building CXX object CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkreclass.dir/src/apps/pkreclass.cc.o -MF CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.d -o CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::addFeature(std::vector >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': /build/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]' /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:33: required from here @@ -6667,52 +6702,44 @@ 164 | for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' /usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' /usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:514:29: required from here +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:33: required from here /build/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::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:514:29: required from here +/build/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::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -[ 75%] Built target pkstat -make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkann.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 76%] Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc: In function 'double objFunction(const std::vector&, std::vector&, void*)': /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:151:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 284 | for(int ifile=0;ifile >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] 418 | if((mapit->second).size()::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:474:62: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] 474 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -6826,12 +6832,50 @@ /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:347:22: warning: unused variable 'prob' [-Wunused-variable] 347 | struct svm_problem prob; | ^~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31: +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:129:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 129 | for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 143 | for(int ifield=0;ifield::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:423:29: required from here +/build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -6859,13 +6897,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:129:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 129 | for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 143 | for(int ifield=0;ifield >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 314 | for(int iband=0;iband&, int, int, int, int) [with T = double]': -/build/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:251:31: required from here -/build/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/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/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:269:43: required from here -/build/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/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/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:327:33: required from here -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:423:29: required from here -/build/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::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:123:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 123 | for(int iclass=0;iclassGetLayerDefn(); - | ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:24: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 77%] Built target pkdsm2shadow -make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkannogr.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 78%] Building CXX object CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkannogr.dir/src/apps/pkannogr.cc.o -MF CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.d -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -7038,6 +6932,9 @@ /build/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()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 78%] Linking CXX executable pkstatascii +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatascii.dir/src/apps/pkstatascii.cc.o -o pkstatascii -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:26: /build/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]': @@ -7045,7 +6942,8 @@ 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:23: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; @@ -7060,6 +6958,16 @@ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:381:26: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 381 | if(model_opt.size()>relpos) | ~~~~~~~~~~~~~~~~^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:431:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 431 | if(obsindex, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1192 | if(relobsindex.back()&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1421:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1421 | for(int iline=0;iline::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1491 | if(obsindex::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1514 | if(obsindex&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkannogr.dir/DependInfo.cmake --color= /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1636:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1636 | for(int iline=0;iline::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1909 | if(obsindex&, int, int, int, int) [with T = double]': +/build/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:251:31: required from here +/build/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/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/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:269:43: required from here +/build/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/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/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:327:33: required from here +/build/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/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:123:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 123 | for(int iclass=0;iclassGetLayerDefn(); + | ^~~~~~~ +/build/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/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]' +/build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:483:33: required from here +/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:547:31: required from here +/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:596:28: required from here +/build/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/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/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/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/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/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/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/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/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/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/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/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:25: +/build/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/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/pktools-2.6.7.6+ds/src/apps/pkann.cc:30: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/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] @@ -7257,52 +7321,10 @@ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&)': /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2834 | for(int icon=0;icon&, int, int, double, int, RESAMPLE) [with T = double]': -/build/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]' -/build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:483:33: required from here -/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:547:31: required from here -/build/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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkstatascii.dir/src/apps/pkstatascii.cc.o -o pkstatascii -Wl,-rpath,/build/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/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/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/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:596:28: required from here -/build/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/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/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/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/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/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/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/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] 253 | for(int ifile=0;ifile&, int, int, int, int) [with T = double]': -/build/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/build/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/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); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 80%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkfsann.cc /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1141:22: required from here /build/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] @@ -7518,14 +7522,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1124:30: required from here /build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:33: required from here -/build/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 = float]': -/build/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/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/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/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': -/build/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/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/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] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/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/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:33: required from here +/build/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&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': @@ -7665,10 +7653,26 @@ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&, int, int, int, int) [with T = float]': +/build/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/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/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/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function 'void FANN::neural_net::get_connection_array(std::vector&)': /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2834 | for(int icon=0;icon&, int, int, int, int) [with T = float]': +/build/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/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/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] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/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/pktools-2.6.7.6+ds/src/apps/pkannogr.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:241:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 241 | for(int ifile=0;ifile >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 340 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 352 | if(ibag >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irowSetField(fieldname.c_str(),value); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1505:31: note: 'writePointFeature' was declared here + 1505 | OGRFeature *writePointFeature; + | ^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1724:43: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1724 | if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){ + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1252:25: note: 'writePolygonFeature' was declared here + 1252 | OGRFeature *writePolygonFeature; + | ^~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1061:54: warning: 'writePointFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1061 | writePointFeature->SetField(fieldname.c_str(),value); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:985:31: note: 'writePointFeature' was declared here + 985 | OGRFeature *writePointFeature; + | ^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1180:54: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1180 | writePolygonFeature->SetField(fieldname[ivalue].c_str(),static_cast(theValue[ivalue])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:734:25: note: 'writePolygonFeature' was declared here + 734 | OGRFeature *writePolygonFeature; + | ^~~~~~~~~~~~~~~~~~~ +[ 80%] Linking CXX executable pkfilterdem +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterdem.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -o pkfilterdem -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 80%] Built target pkfilterdem +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 81%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pktools-2.6.7.6+ds/src/apps/pkfsann.cc +[ 82%] Linking CXX executable pkreclassogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclassogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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/pktools-2.6.7.6+ds/src/apps/pkreclass.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:244:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 244 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:240:17: note: 'pszMessage' was declared here + 240 | const char* pszMessage; + | ^~~~~~~~~~ +[ 84%] Linking CXX executable pkascii2ogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkascii2ogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -o pkascii2ogr -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 84%] Built target pkreclassogr +make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkregann.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 85%] Building CXX object CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkregann.dir/src/apps/pkregann.cc.o -MF CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.d -o CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 85%] Built target pkascii2ogr +[ 86%] Linking CXX executable pkfilterascii +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterascii.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -o pkfilterascii -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/apps/pkfilter.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:613:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 613 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:609:17: note: 'pszMessage' was declared here + 609 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:668:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 668 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:664:17: note: 'pszMessage' was declared here + 664 | const char* pszMessage; + | ^~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:26: @@ -7855,6 +7944,7 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:128:12: warning: variable 'doa' set but not used [-Wunused-but-set-variable] 128 | double doa=0; | ^~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:31: /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function 'void FANN::training_data::set_train_data(const std::vector > >&, unsigned int)': /build/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] @@ -7882,6 +7972,7 @@ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:816:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 816 | for(int ic=0;ic FANN::neural_net::run(std::vector)': /build/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] 396 | for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] 477 | if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] 520 | for(int isample=trainingPixels[iclass].size();isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -7982,6 +8076,13 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:349:16: warning: variable 'totalTestSamples' set but not used [-Wunused-but-set-variable] 349 | unsigned int totalTestSamples=0; | ^~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc: In function 'int main(int, char**)': +/build/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/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:340:15: note: 'pszMessage' was declared here + 340 | const char* pszMessage; + | ^~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:29: /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::forward(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:671:32: required from here @@ -8010,6 +8111,13 @@ /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:262:30: warning: variable 'lit2' set but not used [-Wunused-but-set-variable] 262 | std::list::iterator lit2=lit;//start searching from next element | ^~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:752:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 752 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:747:15: note: 'pszMessage' was declared here + 747 | const char* pszMessage; + | ^~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::addFeature(std::vector >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': /build/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]' /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:668:33: required from here @@ -8051,6 +8159,8 @@ /build/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 Vector2d::operator=(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/stl_algobase.h:910:11: required from 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = Vector2d*; _Tp = Vector2d; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]' /usr/include/c++/12/bits/stl_algobase.h:968:21: required from 'void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = Vector2d*; _Tp = Vector2d]' @@ -8061,100 +8171,29 @@ /build/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;irow1) | ~~~~~~~^~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 91%] Built target pkfssvm In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:92, from /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:25: @@ -8212,8 +8249,6 @@ /build/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 >&, unsigned int, short unsigned int, unsigned int, float, std::vector >&, std::vector >&, short int)': /build/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) @@ -8233,7 +8268,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1569:15: warning: unused variable 'testsample' [-Wunused-variable] 1569 | int testsample=0;//sample to leave out | ^~~~~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkfilter.dir/src/apps/pkfilter.cc.o -o pkfilter -Wl,-rpath,/build/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/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function 'float FANN::neural_net::cross_validation(std::vector > >&, std::vector > >&, short unsigned int, unsigned int, float, std::vector > >&, std::vector > >&, short int)': /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1684:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1684 | if(nrun>ntraining) @@ -8267,6 +8301,7 @@ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&)': /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2834 | for(int icon=0;icon > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 214 | for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] 238 | for(int ilayer=0;ilayer >&, const std::vector&, double, double, bool, bool) [with T = float]': /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:143:23: required from here /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -8320,7 +8358,7 @@ 286 | if(verbose>1) | ~~~~~~~^~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 92%] Built target pkfilter +[ 91%] Built target pkfssvm /build/pktools-2.6.7.6+ds/src/apps/pkann.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1132:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 1132 | pfnProgress(progress,pszMessage,pProgressArg); @@ -8328,52 +8366,57 @@ /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:734:17: note: 'pszMessage' was declared here 734 | 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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/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/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:722:15: note: 'pszMessage' was declared here 722 | const char* pszMessage; | ^~~~~~~~~~ +[ 92%] Linking CXX executable pkextractogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/pkextractogr.dir/src/apps/pkextractogr.cc.o -o pkextractogr -Wl,-rpath,/build/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 93%] Built target pksvmogr -[ 94%] Linking CXX executable pksvm +[ 92%] Built target pkextractogr +[ 93%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 94%] Built target pksvm -[ 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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 +[ 94%] Linking CXX executable pkkalman /usr/bin/cmake -E cmake_link_script CMakeFiles/pkkalman.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 96%] Built target pkfsann -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 96%] Built target pkkalman /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:258:15: warning: array subscript 3 is above array bounds of 'unsigned int [3]' [-Warray-bounds] 258 | layers[3]=noutput; | ~~~~~~~~^ /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:254:20: note: while referencing 'layers' 254 | unsigned int layers[3]; | ^~~~~~ -[ 97%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 97%] Built target pkannogr -[ 98%] Linking CXX executable pkregann +[ 94%] Built target pkkalman +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 94%] Built target pksvm +[ 95%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 95%] Built target pksvmogr +[ 96%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 98%] Built target pkregann +[ 96%] Built target pkregann +[ 97%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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%] 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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 98%] Built target pkannogr [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/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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/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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[100%] Built target pkfsann +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [100%] Built target pkann make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles 0 @@ -8384,7 +8427,7 @@ dh_testroot -O--buildsystem=cmake dh_prep -O--buildsystem=cmake dh_auto_install -O--buildsystem=cmake - cd obj-x86_64-linux-gnu && make -j16 install DESTDIR=/build/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-x86_64-linux-gnu && make -j15 install DESTDIR=/build/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/pktools-2.6.7.6+ds -B/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu//CMakeFiles/progress.marks @@ -8406,17 +8449,17 @@ make[3]: Nothing to be done for 'src/CMakeFiles/base.dir/build'. make[3]: Leaving directory '/build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/fileClasses.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/imageClasses.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 2%] Built target base -[ 10%] Built target imageClasses -[ 13%] Built target fileClasses +[ 5%] Built target fileClasses +[ 13%] Built target imageClasses make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/src /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/algorithms.dir/DependInfo.cmake --color= @@ -8427,328 +8470,328 @@ make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 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[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkinfo.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcrop.dir/DependInfo.cmake --color= make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake --color= make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color= +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksetmask.dir/DependInfo.cmake --color= make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake --color= make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpimg.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build +make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkcrop.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkinfo.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/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/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkdiff.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 25%] Built target pkcrop make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkgetmask.dir/build'. +make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pksetmask.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkcreatect.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkgetmask.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build -[ 27%] Built target pkinfo +[ 25%] Built target pkcrop +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkcreatect.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkdumpimg.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 29%] Built target pkdiff -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend -[ 31%] Built target pkgetmask make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= +make[3]: Nothing to be done for 'CMakeFiles/pkdumpogr.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 27%] Built target pkinfo +[ 29%] Built target pkdiff +[ 31%] Built target pksetmask make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend -[ 34%] Built target pksetmask +[ 34%] Built target pkgetmask make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend -[ 36%] Built target pkcreatect +[ 36%] Built target pkdumpimg +[ 38%] Built target pkcreatect make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend -[ 38%] Built target pkdumpimg make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/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 +[ 40%] Built target pkdumpogr make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkegcs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/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/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend +make[3]: Nothing to be done for 'CMakeFiles/pksieve.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkdumpogr.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pksieve.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilter.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +[ 42%] Built target pksieve make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkstatascii.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkstat.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkstat.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkstatascii.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 40%] Built target pkdumpogr -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build -[ 42%] Built target pksieve make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkstatogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkstatprofile.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkegcs.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkextractimg.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkextractogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 44%] Built target pkstatascii -[ 46%] Built target pkstat +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkfillnodata.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkfilter.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 44%] Built target pkstat +[ 46%] Built target pkstatascii [ 48%] Built target pkstatogr [ 51%] Built target pkstatprofile -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend [ 53%] Built target pkegcs make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilter.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend +[ 55%] Built target pkextractimg make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterdem.dir/DependInfo.cmake --color= -[ 55%] Built target pkextractimg +make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterascii.dir/DependInfo.cmake --color= make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 57%] Built target pkextractogr -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 57%] Built target pkfillnodata +[ 59%] Built target pkextractogr make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build -make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfillnodata.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfilter.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcomposite.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfilterdem.dir/build'. -make[3]: Leaving directory '/build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfilterascii.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 59%] Built target pkfillnodata -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkdsm2shadow.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkcomposite.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 61%] Built target pkfilter -[ 63%] Built target pkfilterdem -[ 65%] Built target pkfilterascii make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color= make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend -[ 68%] Built target pkdsm2shadow +[ 61%] Built target pkfilter make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2img.dir/DependInfo.cmake --color= make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/depend +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvm.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend -[ 70%] Built target pkcomposite make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfssvm.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend -make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend +make[3]: Nothing to be done for 'CMakeFiles/pkfilterdem.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build +make[3]: Nothing to be done for 'CMakeFiles/pkdsm2shadow.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build +make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkascii2img.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkfilterascii.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkpolygonize.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build -make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/build -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pksvm.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkcomposite.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build +make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkascii2img.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 72%] Built target pkascii2img +[ 63%] Built target pkfilterdem make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfssvm.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pksvm.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pksvmogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build +[ 65%] Built target pkdsm2shadow +[ 68%] Built target pkpolygonize +[ 70%] Built target pkfilterascii +[ 72%] Built target pkcomposite +make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkoptsvm.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfssvm.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend +[ 74%] Built target pkascii2img make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkascii2ogr.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 74%] Built target pkpolygonize +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend [ 76%] Built target pksvm +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkreclass.dir/DependInfo.cmake --color= make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend -[ 78%] Built target pkoptsvm -[ 80%] Built target pksvmogr -make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend +[ 78%] Built target pksvmogr make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkreclassogr.dir/DependInfo.cmake --color= -[ 82%] Built target pkfssvm +make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkkalman.dir/DependInfo.cmake --color= make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkann.dir/DependInfo.cmake --color= make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend -[ 85%] Built target pkascii2ogr +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkannogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend -make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/depend -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkregann.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/build +make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkoptsvm.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkreclassogr.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkfssvm.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build +make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkann.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkascii2ogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkreclass.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkreclassogr.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkkalman.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build +[ 80%] Built target pkfssvm +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkann.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 87%] Built target pkreclassogr -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkannogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build +[ 82%] Built target pkoptsvm +[ 85%] Built target pkascii2ogr +[ 87%] Built target pkreclass +[ 89%] Built target pkreclassogr +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/depend +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkregann.dir/DependInfo.cmake --color= +[ 93%] Built target pkann +[ 93%] Built target pkkalman +[ 95%] Built target pkannogr +make[3]: Leaving directory '/build/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/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkfsann.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build +[ 97%] Built target pkfsann make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkregann.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 89%] Built target pkann -[ 91%] Built target pkreclass -[ 93%] Built target pkkalman -[ 95%] Built target pkannogr -[ 97%] Built target pkfsann [100%] Built target pkregann make[2]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles 0 @@ -8898,14 +8941,14 @@ dh_md5sums -O--buildsystem=cmake dh_builddeb -O--buildsystem=cmake dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-4_amd64.deb'. +dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libbase1' in '../libbase1_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libalgorithms1-dbgsym' in '../libalgorithms1-dbgsym_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'pktools-dbgsym' in '../pktools-dbgsym_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libalgorithms1' in '../libalgorithms1_2.6.7.6+ds-4_amd64.deb'. -dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-4_amd64.deb'. +dpkg-deb: building package 'libfileclasses1' in '../libfileclasses1_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libfileclasses1-dbgsym' in '../libfileclasses1-dbgsym_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libimageclasses1' in '../libimageclasses1_2.6.7.6+ds-4_amd64.deb'. -dpkg-deb: building package 'libfileclasses1' in '../libfileclasses1_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libimageclasses1-dbgsym' in '../libimageclasses1-dbgsym_2.6.7.6+ds-4_amd64.deb'. dpkg-deb: building package 'libbase1-dbgsym' in '../libbase1-dbgsym_2.6.7.6+ds-4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../pktools_2.6.7.6+ds-4_amd64.buildinfo @@ -8915,12 +8958,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/1678402/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1678402/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/335240 and its subdirectories -I: Current time: Thu Jun 20 17:19:08 -12 2024 -I: pbuilder-time-stamp: 1718947148 +I: removing directory /srv/workspace/pbuilder/1678402 and its subdirectories +I: Current time: Sat May 20 13:10:44 +14 2023 +I: pbuilder-time-stamp: 1684537844