Diff of the two buildlogs: -- --- b1/build.log 2021-08-15 15:22:58.001869750 +0000 +++ b2/build.log 2021-08-15 15:26:46.373283034 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Sep 17 09:42:27 -12 2022 -I: pbuilder-time-stamp: 1663450947 +I: Current time: Mon Aug 16 05:23:00 +14 2021 +I: pbuilder-time-stamp: 1629040980 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sun Nov 25 06:08:22 2018 -12 +gpgv: Signature made Mon Nov 26 08:08:22 2018 +14 gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pktools_2.6.7.6+ds-1.dsc @@ -26,136 +26,170 @@ dpkg-source: info: unpacking pktools_2.6.7.6+ds-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28753/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21524/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/21524/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21524/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='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(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= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='7ea58032bd294dcca41b8b7c10f0072a' - 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='28753' - PS1='# ' - PS2='> ' + INVOCATION_ID=784f2602ec6b4f55b9c5681a1040a2cc + 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=21524 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/tmp.BRhtUXXfC1/pbuilderrc_4Ocu --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.BRhtUXXfC1/b1 --logfile b1/build.log pktools_2.6.7.6+ds-1.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/tmp.BRhtUXXfC1/pbuilderrc_oO1n --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.BRhtUXXfC1/b2 --logfile b2/build.log pktools_2.6.7.6+ds-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 9 02:47 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/28753/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 16 05:23 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 7 22:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/21524/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -507,7 +541,7 @@ Get: 287 http://deb.debian.org/debian buster/main amd64 libsvm3 amd64 3.21+ds-1.2 [41.6 kB] Get: 288 http://deb.debian.org/debian buster/main amd64 libsvm-dev amd64 3.21+ds-1.2 [41.9 kB] Get: 289 http://deb.debian.org/debian buster/main amd64 pkg-kde-tools all 0.15.29 [96.2 kB] -Fetched 133 MB in 2s (80.2 MB/s) +Fetched 133 MB in 5s (29.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19195 files and directories currently installed.) @@ -1719,7 +1753,7 @@ fakeroot is already the newest version (1.23-1). 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 +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 dpkg-buildpackage: info: source package pktools dpkg-buildpackage: info: source version 2.6.7.6+ds-1 dpkg-buildpackage: info: source distribution unstable @@ -1798,14 +1832,14 @@ docbook2man://refsect3[@id='pkfilter_functions_2_1']: element not matched by any template docbook2man://refsect3[@id='pkfilter_functions_2_2']: element not matched by any template dh_auto_build - cd obj-x86_64-linux-gnu && make -j16 + cd obj-x86_64-linux-gnu && make -j15 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 make -f CMakeFiles/Makefile2 all make[3]: Entering 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/depend make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend +make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend make -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' @@ -1813,50 +1847,50 @@ 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/base.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/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/lasClasses.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/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]: 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/lasClasses.dir/DependInfo.cmake --color= Scanning dependencies of target base Scanning dependencies of target lasClasses 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 src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build -Scanning dependencies of target fileClasses make -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/build +Scanning dependencies of target fileClasses 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[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' Scanning dependencies of target imageClasses -[ 1%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 2%] Building CXX object src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DlasClasses_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 -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 -o CMakeFiles/lasClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 3%] Building CXX object src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o +[ 1%] Building CXX object src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o +[ 2%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o +[ 3%] Building CXX object src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DlasClasses_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 -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 -o CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o -c /build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DlasClasses_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 -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 -o CMakeFiles/lasClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc [ 4%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o [ 5%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DlasClasses_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 -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 -o CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o -c /build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.cc cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc [ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -[ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o +[ 7%] 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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc +[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o +[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc +[ 11%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o +[ 11%] 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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc -[ 11%] 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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc -[ 12%] Linking CXX shared library libbase.so -[ 13%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o +[ 12%] 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++ -DBOOST_ALL_NO_LIB -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 -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 -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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc +[ 13%] Linking CXX shared library libbase.so cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/base.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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,libbase.so.1 -o libbase.so.1.6.1 CMakeFiles/base.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 libbase.so.1.6.1 libbase.so.1 libbase.so @@ -1873,6 +1907,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] 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/ImgUpdaterGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +/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] + 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/ImgUpdaterGdal.h:24, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.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] @@ -1890,21 +1939,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:234:20: warning: cast from type 'const char*' to type 'char**' casts away qualifiers [-Wcast-qual] return (char**)""; ^~ -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/ImgUpdaterGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: -/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] - 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/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] - 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/ImgReaderGdal.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -1915,6 +1949,47 @@ /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] 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/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] + 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] + 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/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] + 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] + } + ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata() const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:235:1: warning: control reaches end of non-void function [-Wreturn-type] + } + ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::string ImgRasterGdal::getDescription() const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:262:1: warning: control reaches end of non-void function [-Wreturn-type] + } + ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::string ImgRasterGdal::getMetadataItem() const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:275:1: warning: control reaches end of non-void function [-Wreturn-type] + } + ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::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] + } + ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::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] + } + ^ 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/imageclasses/ImgWriterOgr.cc:23: @@ -1926,28 +2001,22 @@ /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] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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/ImgReaderGdal.cc:25: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: /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] 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/ImgUpdaterGdal.h:24, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 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/imageclasses/ImgReaderOgr.cc:22: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.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] const gsl_rng_type * T; @@ -1966,30 +2035,6 @@ /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] for(int iField=0;iField::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int icol=0;icol&, double&, double&, unsigned int&, int, bool)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if(m_scale.size()>theBand){ - ~~~~~~~~~~~~~~^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:304:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int i=0;i, double>&, std::__cxx11::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] if(pointAttributes.size()+1!=poFeature->GetFieldCount()){ @@ -2003,17 +2048,10 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable 'fid' [-Wunused-variable] 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, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'void ImgReaderGdal::getMinMax(int, int, int, int, int, double&, double&)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:171:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int icol=0;icol&, const 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] for(int ip=0;ip::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ip=0;ip&, double&, double&, unsigned int&, int, bool)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if(m_scale.size()>theBand){ + ~~~~~~~~~~~~~~^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:304:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + for(int i=0;i >&, const std::vector&, short int, short int, const string&, const OGRwkbGeometryType&, char)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable 'skip' [-Wunused-variable] bool skip=false; @@ -2033,59 +2091,23 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] bool skip=false; ^~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:22: +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/ImgWriterGdal.cc:27: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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] - } - ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'char** ImgRasterGdal::getMetadata() const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:235:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::string ImgRasterGdal::getDescription() const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:262:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::string ImgRasterGdal::getMetadataItem() const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:275:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::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] - } - ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function 'std::__cxx11::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] - } - ^ -/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] - OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); - ^~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:23: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:186:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(fields.size()==getFieldCount(layer)); - ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/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] - int iField=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/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] + 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] + while(burnBands.size()&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:170:50: required from here @@ -2111,10 +2133,6 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index, Vector2d >&, std::vector >&, const std::vector&, const string&, const std::vector >&, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:313:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 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, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.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] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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:3: 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:34: required from here @@ -2156,14 +2185,39 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +/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] + OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); + ^~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:23: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:186:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(fields.size()==getFieldCount(layer)); + ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/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] + 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 string&, const std::vector >&, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:313:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;ibandRasterIO(GF_Read,col,row,1,1,&value,1,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:3: 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] + 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:3: 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/ImgReaderOgr.cc:22: /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 string&, int, bool, bool) [with T = float; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:70: required from here @@ -2184,34 +2238,14 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:261:9: warning: unused variable 'posOffset' [-Wunused-variable] int posOffset=(pos)?2: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:3: 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] - poBand->RasterIO(GF_Read,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/imageclasses/ImgWriterGdal.cc:27: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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 = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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:3: 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] - poBand->RasterIO(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 '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] - while(burnBands.size()&, 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 in this function [-Wmaybe-uninitialized] rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized in this function [-Wmaybe-uninitialized] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: 'pTransformArg' may be used uninitialized in this function [-Wmaybe-uninitialized] - 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/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::ascii2ogr(const string&, const string&, const std::vector >&, const std::vector&, short int, short int, const string&, const OGRwkbGeometryType&, char)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:622:37: warning: 'pointFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] pointFeature->SetField(fieldId,atoi(value.c_str())); @@ -2222,9 +2256,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:560:36: warning: 'polyFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] polyFeature->SetField(fieldId,atoi(value.c_str())); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 14%] 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 -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 In file included from /build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.cc:23: /build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.h: In member function 'const bool& FileReaderLas::readNextPoint()': /build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.h:58:63: warning: returning reference to temporary [-Wreturn-local-addr] @@ -2242,32 +2273,9 @@ /build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.cc:177:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass&, 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] @@ -2326,6 +2334,32 @@ /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] if(totalCol!=ncol){ ~~~~~~~~^~~~~~ +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 +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 14%] 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' +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= +Scanning dependencies of target algorithms +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc +[ 16%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o +[ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o +[ 18%] 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++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc +[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o +[ 20%] 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++ -DBOOST_ALL_NO_LIB -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 -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 -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/algorithms/Filter2d.cc.o +[ 22%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.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:14: required from here /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:21: warning: cast from type 'svm_node* const*' to type 'void*' casts away qualifiers [-Wcast-qual] @@ -2377,6 +2411,9 @@ /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2844:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&model->nSV[i]); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +[ 23%] Linking CXX shared library liblasClasses.so +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/lasClasses.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 -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,liblasClasses.so.1 -o liblasClasses.so.1.6.1 CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o CMakeFiles/lasClasses.dir/base/Vector2d.cc.o /build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc: In member function 'std::__cxx11::string Egcs::geo2cell(double, double) const': /build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc:166:10: warning: unused variable 'xcel' [-Wunused-variable] double xcel=static_cast(geoX)/getBaseSize(); @@ -2384,15 +2421,18 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc:167:10: warning: unused variable 'ycel' [-Wunused-variable] 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: +cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library liblasClasses.so.1.6.1 liblasClasses.so.1 liblasClasses.so +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 23%] Built target lasClasses +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/ConfusionMatrix.h:25, + from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.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] 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/ConfusionMatrix.h:25, - from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.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] const gsl_rng_type * T; @@ -2411,12 +2451,10 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] const gsl_rng_type * T; ^ -[ 23%] Linking CXX shared library liblasClasses.so -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/lasClasses.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 -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,liblasClasses.so.1 -o liblasClasses.so.1.6.1 CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o CMakeFiles/lasClasses.dir/base/Vector2d.cc.o -cd /build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library liblasClasses.so.1.6.1 liblasClasses.so.1 liblasClasses.so -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 23%] Built target lasClasses +[ 24%] 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 -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 -llas -llas_c -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -llas -llas_c +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 In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:26, from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:20: @@ -2432,17 +2470,6 @@ /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] if(index>=m_classes.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/Filter.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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::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] for(int irow=0;irow >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 24%] Built target fileClasses +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, + from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:20: +/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] + for(int irow=0;irow::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, - from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:20: -/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] - for(int irow=0;irow::sum() const [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:251:31: required from here /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:302:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int irow=0;irowsize();++irow){ +/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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:303:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int icol=0;icoloperator[](irow).size();++icol) /build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': @@ -2576,54 +2598,17 @@ /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:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int irow=0;irow&, 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] - for(int itap=0;itap::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int itap=0;itap&, const string&, int, double)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:246:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int index=0;index >&)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:433:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(output.nrOfBand()==methods.size()); - ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:458:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] - double threshold=(ithreshold >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband&, int, int, int, int, int)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:594:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(k=1;k<=tapz.size()/2;++k) - ~^~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:597:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(k=1;k<=tapz.size()/2;++k) - ~^~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'double filter::Filter::getCentreWavelength(const std::vector&, const Vector2d&, const string&, double, bool)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:727:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + 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/Filter.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, @@ -2636,8 +2621,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] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 24%] 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 +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/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/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] + const gsl_rng_type * T; + ^ In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:26, from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, @@ -2657,6 +2648,13 @@ /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] if(index>=m_classes.size()) ~~~~~^~~~~~~~~~~~~~~~~~ +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, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::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] for(int irow=0;irow&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc: In member function 'virtual double CostFactorySVM::getCost(const std::vector >&)': +/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] + for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + for(int isample=0;isample&, 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] + for(int itap=0;itap::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int itap=0;itap&, const string&, int, double)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:246:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int index=0;index&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:21: +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::stats(ImgReaderGdal&, ImgWriterGdal&, const std::vector >&)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:433:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(output.nrOfBand()==methods.size()); + ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:458:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] + double threshold=(ithreshold >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imethod=0;imethod::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband&, int, int, int, int, int)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:594:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(k=1;k<=tapz.size()/2;++k) + ~^~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:597:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(k=1;k<=tapz.size()/2;++k) + ~^~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'double filter::Filter::getCentreWavelength(const std::vector&, const Vector2d&, const string&, double, bool)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:727:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband >&)': -/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] - for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - for(int isample=0;isample Vector2d::selectCol(int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:78:39: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:182:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(col<(*this)[0].size()); -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:184:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int irow=0;irowsize();++irow) -In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::filter(const std::vector&, std::vector&, const string&, int) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:277:47: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:532:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(i=dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(i=input.size()-dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(i+t::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass&, const string&, std::vector&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:60: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:441:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int i=0;i&, std::vector&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:353:36: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:452:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int t=1;t<=m_taps.size()/2;++t){ - ~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:479:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(i=m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int t=0;t::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(i=input.size()-m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int t=1;t<=m_taps.size()/2;++t){ - ~^~~~~~~~~~~~~~~~~ -/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] - if(i+t&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:716:86: 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] - for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:75:46: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:85:51: 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] - if(buffer.size()!=maxCol-minCol+1){ -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 instantiation of 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:3: required from 'void filter::Filter::smoothNoData(const std::vector&, const string&, std::vector&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:60: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1416:7: warning: unused variable 'nband' [-Wunused-variable] - int nband=wavelengthIn.size(); - ^~~~~ -In file included 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/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:59: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index&, const std::vector&, int) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:208:39: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if (j < 0 || j >= y.size()) -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(i>=x.size()){ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(j>=y.size()){ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:23, 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, @@ -2908,7 +2778,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:436:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass Vector2d::selectCol(int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:78:39: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:182:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(col<(*this)[0].size()); +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:184:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int irow=0;irowsize();++irow) +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::filter(const std::vector&, std::vector&, const string&, int) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:277:47: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:532:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(i=dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(i=input.size()-dim/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(i+t::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iband=0;iband&, const string&, std::vector&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:60: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:441:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int i=0;i&, std::vector&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:353:36: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:452:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int t=1;t<=m_taps.size()/2;++t){ + ~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:479:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(i=m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int t=0;t::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(i=input.size()-m_taps.size()/2;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int t=1;t<=m_taps.size()/2;++t){ + ~^~~~~~~~~~~~~~~~~ +/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] + if(i+t >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(indexJ<0||indexJ>=input.size()) ~~~~~~^~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1259:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(indexI<0||indexI>=input[indexJ].size()) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -[ 24%] Built target fileClasses +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 instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:716:86: 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] + for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - 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/algorithms/ImgRegression.cc:48:59: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, const std::vector&, int) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:208:39: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if (j < 0 || j >= y.size()) +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(i>=x.size()){ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(j>=y.size()){ In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: -/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:3: 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] - 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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:75:46: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] - 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/algorithms/Filter.cc:20: -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In static member function 'static const gsl_wavelet_type* filter::Filter::getWaveletType(std::__cxx11::string)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ +/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:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:85:51: 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] + if(buffer.size()!=maxCol-minCol+1){ +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 instantiation of 'void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:3: required from 'void filter::Filter::smoothNoData(const std::vector&, const string&, std::vector&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:60: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1416:7: warning: unused variable 'nband' [-Wunused-variable] + int nband=wavelengthIn.size(); + ^~~~~ In file included 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: /build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': @@ -3130,6 +3141,12 @@ for(int icol=0;icol >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + poBand->RasterIO(GF_Read,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/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/algorithms/Filter2d.cc:24: @@ -3232,6 +3249,23 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + poBand->RasterIO(GF_Read,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/algorithms/Filter.h:31, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +/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:3: 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] + 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/algorithms/Filter.cc:20: +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In static member function 'static const gsl_wavelet_type* filter::Filter::getWaveletType(std::__cxx11::string)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] + } + ^ /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtForward(ImgReaderGdal&, ImgWriterGdal&, const string&, int)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:70:14: warning: 'pszMessage' is used uninitialized in this function [-Wuninitialized] pfnProgress(progress,pszMessage,pProgressArg); @@ -3275,6 +3309,10 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] 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/ConfusionMatrix.cc: In member function 'double confusionmatrix::ConfusionMatrix::ua(const string&, double*) const': +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: warning: 'dva' may be used uninitialized in this function [-Wmaybe-uninitialized] + double dva=1.0-dva; + ^~~ In file included 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/algorithms/Filter2d.cc:24: @@ -3313,10 +3351,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function 'double confusionmatrix::ConfusionMatrix::ua(const string&, double*) const': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: warning: 'dva' may be used uninitialized in this function [-Wmaybe-uninitialized] - double dva=1.0-dva; - ^~~ In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'void filter2d::Filter2d::shift(const Vector2d&, Vector2d&, double, double, double, filter2d::RESAMPLE, bool) [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:623:14: warning: 'pszMessage' is used uninitialized in this function [-Wuninitialized] @@ -3404,9 +3438,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:381:14: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::morphology(ImgReaderGdal&, ImgWriterGdal&, const string&, int, int, const std::vector&, bool)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1066:19: warning: 'theta' may be used uninitialized in this function [-Wmaybe-uninitialized] - theta=360-(theta/PI*180)+90; /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::stats(ImgReaderGdal&, ImgWriterGdal&, const std::vector >&)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:443:14: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); @@ -3419,6 +3450,9 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: note: 'minValue' was declared here T minValue; ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::morphology(ImgReaderGdal&, ImgWriterGdal&, const string&, int, int, const std::vector&, bool)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1066:19: warning: 'theta' may be used uninitialized in this function [-Wmaybe-uninitialized] + theta=360-(theta/PI*180)+90; /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::shift(ImgReaderGdal&, ImgWriterGdal&, double, double, double, filter2d::RESAMPLE, bool)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:855:14: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); @@ -3435,166 +3469,137 @@ make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.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/pkgetmask.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend -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/pkfilterascii.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/pkascii2ogr.dir/DependInfo.cmake --color= 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/depend -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= +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/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.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= +make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend +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' -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= +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/pkstatascii.dir/build.make CMakeFiles/pkstatascii.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= +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/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend 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' 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= -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/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.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/pkcrop.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend +make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.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/pkdumpogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend +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/pkdiff.dir/DependInfo.cmake --color= -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/pkstat.dir/build.make CMakeFiles/pkstat.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/pkstat.dir/DependInfo.cmake --color= make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend -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/pkinfo.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend +Scanning dependencies of target pkgetmask +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +Scanning dependencies of target pkfilterascii +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/pkegcs.dir/DependInfo.cmake --color= -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= -Scanning dependencies of target pkcomposite -Scanning dependencies of target pkstatascii -Scanning dependencies of target pkfilterascii -Scanning dependencies of target pksieve -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' -Scanning dependencies of target pkcrop -Scanning dependencies of target pkgetmask -Scanning dependencies of target pkdumpogr +Scanning dependencies of target pkascii2ogr Scanning dependencies of target pkstatprofile -Scanning dependencies of target pkpolygonize -make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.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/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build -Scanning dependencies of target pkstatogr -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +Scanning dependencies of target pkcomposite 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/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.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' +Scanning dependencies of target pksieve +make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.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[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' -Scanning dependencies of target pkstat -Scanning dependencies of target pkdiff -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -Scanning dependencies of target pkascii2ogr -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build -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' +Scanning dependencies of target pkcrop 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/build -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' +Scanning dependencies of target pkpolygonize +Scanning dependencies of target pkstatascii make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +Scanning dependencies of target pkdumpogr 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/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +Scanning dependencies of target pkdiff +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/pkstatascii.dir/build.make CMakeFiles/pkstatascii.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[4]: Entering 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 -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/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build -Scanning dependencies of target pkegcs +Scanning dependencies of target pkstatogr +Scanning dependencies of target pkinfo +[ 26%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o +Scanning dependencies of target pkstat 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' -[ 26%] Building CXX object CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o -Scanning dependencies of target pkinfo -Scanning dependencies of target pkextractogr -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc +[ 27%] Building CXX object CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o 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' +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc 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' +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build +[ 28%] Building CXX object CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 27%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc -[ 28%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -[ 29%] Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -[ 31%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -[ 31%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc +[ 29%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o +[ 30%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o +Scanning dependencies of target pkegcs /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc +[ 31%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o +[ 32%] Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o +[ 33%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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' /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc +make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build +make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 32%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build -[ 33%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -[ 34%] Building CXX object CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.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 +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 34%] 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' /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc [ 35%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 36%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build -[ 37%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc -[ 38%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 36%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o +[ 37%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc -[ 39%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc +[ 38%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc +[ 39%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o [ 40%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc -[ 41%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/pksieve.cc:23: -/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] - 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] - 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/pkdiff.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] - 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] - 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/pkcomposite.cc:25: + from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.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] if(m_scale.size()!=nrOfBand()){//initialize @@ -3605,20 +3610,40 @@ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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/apps/pksieve.cc:23: + from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.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] 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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, + from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:24: +/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:149:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(band_opt.size()<=imgReader.nrOfBand()); + ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/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] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if(m_scale.size()!=nrOfBand()){//initialize - ~~~~~~~~~~~~~~^~~~~~~~~~~~ -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/pksieve.cc:23: /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] if(m_scale.size()!=nrOfBand()){//initialize @@ -3627,25 +3652,47 @@ /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] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: +/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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:64: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:41: 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] + if(buffer.size()!=maxCol-minCol+1){ 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/apps/pkdiff.cc:21: + from /build/pktools-2.6.7.6+ds/src/apps/pksieve.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] 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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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/pkinfo.cc:24: +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/pkcrop.cc:26: /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] if(m_scale.size()!=nrOfBand()){//initialize @@ -3655,7 +3702,7 @@ 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/pkgetmask.cc:22: + from /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:23: /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] if(m_scale.size()!=nrOfBand()){//initialize @@ -3666,43 +3713,35 @@ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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/apps/pkcomposite.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] - 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, - 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/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] - 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, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pkcrop.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] const gsl_rng_type * T; ^ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: +/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:3: 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] + poBand->RasterIO(GF_Read,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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: +/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:3: 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] + 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, - from /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: + from /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.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] 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/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] - 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] - 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/pkdumpogr.cc:25: @@ -3710,43 +3749,18 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 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/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] - 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/pkascii2ogr.cc:24: + from /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 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/apps/pkcrop.cc:26: -/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] - 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] - 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/apps/pkinfo.cc:24: + from /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.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] 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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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, from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: @@ -3758,99 +3772,45 @@ /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] 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/imageclasses/ImgReaderOgr.h:32, - from /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.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] - 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] - 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/apps/pkegcs.cc:21: -/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] - const gsl_rng_type * T; - ^ -/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] - for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ifield=0;ifield&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: + from /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:24: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 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/apps/pkcrop.cc:26: + 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] const gsl_rng_type * T; ^ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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/pkpolygonize.cc:23: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, + from /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.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] 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] - 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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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] - for(int ifield=0;ifield >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:172:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(ifield&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 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] + for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iimg=0;iimg >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iextent=0;iextent >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iimg=0;iimg::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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] + for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; + ~~~~~~~~~~~~~~~^~~~~~ +/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] + 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] + if(offset_opt.size()>iband) + ~~~~~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:221:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + for(int ibin=0;ibin >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + if(writeBuffer.size()!=imgWriter.nrOfCol()) + ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, + from /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:29: +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:841:34: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(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] + 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] + double dcroprow=0; + ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:683:9: warning: unused variable 'readncol' [-Wunused-variable] + int readncol=endCol-startCol+1; + ^~~~~~~~ +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] + 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] + 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/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] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: +/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:36: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] + OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); + ^~~~~~~ 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/pkstatprofile.cc:28: + 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] const gsl_rng_type * T; ^ -/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:211:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + 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/apps/pkpolygonize.cc:23: + from /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.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] const gsl_rng_type * T; ^ -In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, - from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:25: -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:51:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - std::string getClass(int iclass) const {assert(iclass>=0);assert(iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(index>=m_classes.size()) - ~~~~~^~~~~~~~~~~~~~~~~~ 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/pkcrop.cc:26: + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, + 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/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::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] - for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int icol=0;icol::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iy=0;iy::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ipair=0;ipair::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iflag=0;iflag >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int irule=0;irule&, std::vector&, int, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:36: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] - OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); - ^~~~~~~ +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/ImgWriterOgr.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.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] + const gsl_rng_type * T; + ^ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:87: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +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] + 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/apps/pkstatogr.cc:25: @@ -3988,249 +4013,160 @@ /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] 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] - for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int vband=0;vband >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(readValuesReal.size()==nband); - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -/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] - for(int iclass=0;iclass, short int>::value_type' {aka 'short int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(classvalue_opt[iclass]::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int rc=0;rc::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int irule=0;irule >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iinput=0;iinput >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iref=0;iref::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalue=0;ivalue&, int, int, double, int, RESAMPLE) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:91: 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] + if(buffer.size()!=maxCol-minCol+1) +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/apps/pkinfo.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] + 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/pkdiff.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] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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:5: 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:91: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:94: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:57: 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] + if(buffer.size()!=maxCol-minCol+1){ 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/imageclasses/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:24: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1288:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int vband=0;vband >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(readValuesReal.size()==nband); - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1360:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iflag=0;iflag::iterator panit=panMap.begin(); - ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTIntegerList' not handled in switch [-Wswitch] - switch( fieldType ){ - ^ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTRealList' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTString' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTStringList' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTWideString' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTWideStringList' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTBinary' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTDate' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTTime' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTDateTime' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTInteger64' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTInteger64List' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1547:27: warning: enumeration value 'OFTMaxType' not handled in switch [-Wswitch] -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1557:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int index=0;index&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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] + for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ifield=0;ifield::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +/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:211:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:405:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iy=0;iy::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + 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] for(int iextent=0;iextent::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(band_opt.size()<=imgReader.nrOfBand()); - ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:549:19: warning: unused variable 'j' [-Wunused-variable] - int j=j_centre; - ^ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:550:19: warning: unused variable 'i' [-Wunused-variable] - int i=i_centre; - ^ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:233:21: warning: unused variable 'nsample' [-Wunused-variable] - unsigned long int nsample=0; - ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:234:21: warning: unused variable 'ntotalvalid' [-Wunused-variable] - unsigned long int ntotalvalid=0; - ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:235:21: warning: unused variable 'ntotalinvalid' [-Wunused-variable] - unsigned long int ntotalinvalid=0; - ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:331:8: warning: variable 'sampleIsVirtual' set but not used [-Wunused-but-set-variable] - bool sampleIsVirtual=false; - ^~~~~~~~~~~~~~~ +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/apps/pkdiff.cc:21: +/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] + const gsl_rng_type * T; + ^ /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:391:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iband=0;iband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:432:19: warning: variable 'outputValue' set but not used [-Wunused-but-set-variable] - short outputValue; - ^~~~~~~~~~~ -/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] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ipair=0;ipair::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int rc=0;rc >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iimg=0;iimg >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iextent=0;iextent >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iimg=0;iimg::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalid=0;ivalid::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if(offset_opt.size()>ifile) + ~~~~~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:261:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if(scale_opt.size()>ifile) + ~~~~~~~~~~~~~~~~^~~~~~ +/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] + 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] + for(int bin=0;bin >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(binX::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(binY >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ifile=0;ifile, short int>::value_type' {aka 'short int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] assert(class_opt[iclass]::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; - ~~~~~~~~~~~~~~~^~~~~~ -/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] - 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] - if(offset_opt.size()>iband) - ~~~~~~~~~~~~~~~~~^~~~~~ +/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] + for(int inodata=0;inodata&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:719:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] int readBand=(band_opt.size()>iband)? band_opt[iband] : 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] - for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 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] - if(writeBuffer.size()!=imgWriter.nrOfCol()) - ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, - from /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:29: -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:841:34: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(writeBuffer.size()==imgWriter.nrOfCol()); - ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:872:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int vband=0;vband::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(minValue_opt.size()>vband){ ~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -4373,32 +4298,46 @@ /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:910:36: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(srcnodata_opt.size()>vband){ ~~~~~~~~~~~~~~~~~~~~^~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: -/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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:76: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(binX::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(binY::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + 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:3: 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/algorithms/Filter.h:31, - 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: + 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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.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/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] - for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:91: 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] - if(buffer.size()!=maxCol-minCol+1) -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] - for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:106: 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] - if(buffer.size()!=maxCol-minCol+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] - for(int iclass=0;iclass&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:5: 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:91: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] + 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/apps/pkinfo.cc:24: /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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:94: required from here +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:76: 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] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~^~~~~ @@ -4492,52 +4393,27 @@ /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] 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] 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] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~^~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: -/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:3: 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:105: 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] - if(m_scale.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] 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] - for(int index=0;index::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 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] - if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: -/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:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:57: 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] - if(buffer.size()!=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] - 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] - 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] +/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] 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:3: 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:106: required from here +In file included 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/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:109: 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] 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] 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] +/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] 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] if(m_scale.size()>band||m_offset.size()>band){ @@ -4545,12 +4421,49 @@ /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] 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] +/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] for(int index=0;index&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:64: required from here +In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, + from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:25: +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:51:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + std::string getClass(int iclass) const {assert(iclass>=0);assert(iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(index>=m_classes.size()) + ~~~~~^~~~~~~~~~~~~~~~~~ +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] + for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int icol=0;icol&, int, int, double, int, RESAMPLE) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:106: 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] + if(buffer.size()!=maxCol-minCol+1) +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:186:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iflag=0;iflag&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:51: 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] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~^~~~~ @@ -4563,7 +4476,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] 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] 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] if(m_scale.size()>band||m_offset.size()>band){ @@ -4571,43 +4484,44 @@ /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] 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] for(int index=0;index&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:41: 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] - if(buffer.size()!=maxCol-minCol+1){ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: -/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:64: 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] - 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] - 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] - 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] - 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:54: 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] - 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] - 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] - 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] - 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:3: 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:51: 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] + if(buffer.size()!=maxCol-minCol+1) +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:242:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iflag=0;iflag >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass, short int>::value_type' {aka 'short int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(classvalue_opt[iclass]::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int rc=0;rc >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iinput=0;iinput >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iref=0;iref::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iflag=0;iflag::iterator panit=panMap.begin(); + ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:513:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:5: 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:106: required from here @@ -4633,6 +4547,12 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index&, int, int, int, int) [with T = float]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:835:86: required from here @@ -4668,15 +4588,62 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:1241:52: 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] -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] - const gsl_rng_type * T; - ^ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:432:19: warning: variable 'outputValue' set but not used [-Wunused-but-set-variable] + short outputValue; + ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:738:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int rc=0;rc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iflag=0;iflag::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue&, int, int, int, int) [with T = float]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] 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:3: 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] + 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::readData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + poBand->RasterIO(GF_Read,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/apps/pkdiff.cc:21: +/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:64: 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] + 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] + 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] + 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] + 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:54: 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] + 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] + 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] + 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] + 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, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:54: required from here @@ -4714,8 +4681,7 @@ /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] if(buffer.size()!=maxCol-minCol+1){ 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: + 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] if(m_scale.size()!=nrOfBand()){//initialize @@ -4724,154 +4690,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] 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] - 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/algorithms/ImgRegression.h:25, - from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: -/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:3: 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] - 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:3: 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/apps/pkcrop.cc:26: -/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:3: 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] - 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/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] - for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if(offset_opt.size()>ifile) - ~~~~~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:261:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if(scale_opt.size()>ifile) - ~~~~~~~~~~~~~~~~^~~~~~ -/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] - 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] - for(int bin=0;bin&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - 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/pkstat.cc:427:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(binX::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(binY&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] - 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/pkstat.cc:493:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int binX=0;binX::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] 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/pkstat.cc:937:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int j=0;j&, int, int, int, int) [with T = float]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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/ImgReaderOgr.h:23, - 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, - from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:991:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(binX::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(binY&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] @@ -4879,50 +4704,17 @@ ^~~~~~ /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:3: 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::readDataBlock(std::vector&, int, int, int, int, int) [with T = int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:3: 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] - 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/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] - 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] - 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 = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:3: 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/algorithms/Filter.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -In file included 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/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:109: 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodataRasterIO(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:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:51: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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:3: 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:51: 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] - if(buffer.size()!=maxCol-minCol+1) -/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:3: 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] - 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::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - poBand->RasterIO(GF_Read,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/apps/pkstatascii.cc:25: /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] @@ -5034,49 +4788,6 @@ /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:468:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(icol >&, const std::vector&, double, double, bool, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:42: 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] - 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] - for(int icol=0;icol1) - ~~~~~~~^~ -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 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 string&) const [with T = double; typename std::vector::const_iterator = __gnu_cxx::__normal_iterator >; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:135: 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] - if(output.size()!=nbin){ - ~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::correlation(const std::vector&, const std::vector&, int) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:367:138: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if (j < 0 || j >= y.size()) -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(i>=x.size()){ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(j>=y.size()){ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::rmse(const std::vector&, const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:371:142: required from here -/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] - for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const string&) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:94: 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] - if(output.size()<=binX){ - ~~~~~~~~~~~~~^~~~~~ -/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] - if(output.size()<=binY){ - ~~~~~~~~~~~~~^~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:30: /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] @@ -5135,6 +4846,53 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:342:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(icol >&, const std::vector&, double, double, bool, bool) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:42: 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] + 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] + for(int icol=0;icol1) + ~~~~~~~^~ +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 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 string&) const [with T = double; typename std::vector::const_iterator = __gnu_cxx::__normal_iterator >; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:135: 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] + if(output.size()!=nbin){ + ~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::correlation(const std::vector&, const std::vector&, int) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:367:138: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if (j < 0 || j >= y.size()) +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(i>=x.size()){ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(j>=y.size()){ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'double statfactory::StatFactory::rmse(const std::vector&, const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:371:142: required from here +/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] + for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const string&) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:94: 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] + if(output.size()<=binX){ + ~~~~~~~~~~~~~^~~~~~ +/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] + if(output.size()<=binY){ + ~~~~~~~~~~~~~^~~~~~ +/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 in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:30: /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:58: required from here @@ -5221,6 +4979,10 @@ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:28: /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] for(int irow=0;irowsize();++irow){ +/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 in this function [-Wmaybe-uninitialized] + pfnProgress(dfComplete,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 in this function [-Wmaybe-uninitialized] pfnProgress(dfComplete,pszMessage,pProgressArg); @@ -5230,100 +4992,19 @@ rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:31: warning: 'pProgressData' may be used uninitialized in this function [-Wmaybe-uninitialized] -/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 in this function [-Wmaybe-uninitialized] +/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 in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 in this function [-Wmaybe-uninitialized] - pfnProgress(dfComplete,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 41%] Linking CXX executable pkgetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 [ 42%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = int]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:454:7: warning: 'minValue' may be used uninitialized in this function [-Wmaybe-uninitialized] - if(minValue>*it) - ^~ -/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:512:7: warning: 'maxValue' may be used uninitialized in this function [-Wmaybe-uninitialized] - if(maxValue<*it) - ^~ -/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:454:7: warning: 'minValue' may be used uninitialized in this function [-Wmaybe-uninitialized] - if(minValue>*it) - ^~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:354:24: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gdal/gdal_priv.h:77, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: -/usr/include/gdal/ogr_feature.h:688:38: warning: 'writeFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] - { SetField( GetFieldIndex(pszFName), dfValue ); } - ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:393:23: note: 'writeFeature' was declared here - OGRFeature *writeFeature; - ^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:471:55: warning: 'writeLayer' may be used uninitialized in this function [-Wmaybe-uninitialized] - writeFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn()); - ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 43%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 44%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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' -[ 45%] Linking CXX executable pkdumpogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=1 -[ 45%] Built target pksieve -/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 in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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' -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= -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -Scanning dependencies of target pksetmask -make[4]: Leaving 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[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 46%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc -[ 47%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 48%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 49%] Linking CXX executable pkpolygonize +[ 43%] Linking CXX executable pkpolygonize /usr/bin/cmake -E cmake_link_script CMakeFiles/pkpolygonize.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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 49%] Built target pkstatprofile -make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend -[ 49%] Built target pkegcs -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/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= -[ 50%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -Scanning dependencies of target pkregann -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' -Scanning dependencies of target pkdumpimg /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 in this function [-Wmaybe-uninitialized] rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); @@ -5333,8 +5014,6 @@ rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pProgressData' may be used uninitialized in this function [-Wmaybe-uninitialized] -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 /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pfnProgress' may be used uninitialized in this function [-Wmaybe-uninitialized] rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5344,22 +5023,48 @@ ^ /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:546:49: warning: 'irow' may be used uninitialized in this function [-Wmaybe-uninitialized] for(int irow;irow&) const [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:454:7: warning: 'minValue' may be used uninitialized in this function [-Wmaybe-uninitialized] if(minValue>*it) @@ -5368,8 +5073,50 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:512:7: warning: 'maxValue' may be used uninitialized in this function [-Wmaybe-uninitialized] if(maxValue<*it) ^~ +[ 50%] Linking CXX executable pkstatogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 53%] Built target pkascii2ogr +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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 50%] Built target pkascii2ogr +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= +[ 50%] Built target pkstatprofile +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.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/pkextractimg.dir/DependInfo.cmake --color= +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:354:24: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gdal/gdal_priv.h:77, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: +/usr/include/gdal/ogr_feature.h:688:38: warning: 'writeFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] + { SetField( GetFieldIndex(pszFName), dfValue ); } + ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:393:23: note: 'writeFeature' was declared here + OGRFeature *writeFeature; + ^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:471:55: warning: 'writeLayer' may be used uninitialized in this function [-Wmaybe-uninitialized] + writeFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn()); + ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Scanning dependencies of target pkregann +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' +Scanning dependencies of target pkextractimg +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 +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' +[ 51%] Building CXX object CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc +[ 52%] Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc +[ 52%] Built target pkdumpogr 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= @@ -5377,43 +5124,31 @@ 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' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 54%] Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o +[ 53%] Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkann.dir/src/apps/pkann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkann.cc -[ 54%] Built target pkstatogr +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 53%] Built target pkstatogr 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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 54%] Linking CXX executable pkegcs +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=1 Scanning dependencies of target pkcreatect make[4]: 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[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 54%] Built target pkpolygonize -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= +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo [ 55%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -Scanning dependencies of target pkannogr -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' -[ 55%] Built target pkgetmask -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= -[ 56%] Building CXX object CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc -Scanning dependencies of target pkdsm2shadow -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' -[ 57%] Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc +[ 56%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/pkcomposite.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:726:14: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/pksetmask.cc:22: + 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] if(m_scale.size()!=nrOfBand()){//initialize @@ -5424,103 +5159,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/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:22: + from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.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] 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: + 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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -/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] - for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iv=0;iv >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:57: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:60: 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] - if(buffer.size()!=maxCol-minCol+1){ -[ 58%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/pksetmask.cc:22: -/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:3: 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] - poBand->RasterIO(GF_Read,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/apps/pksetmask.cc:23: -/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:3: 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] - 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/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] - 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/pkextractimg.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] if(m_scale.size()!=nrOfBand()){//initialize @@ -5529,6 +5181,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] 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/apps/pksetmask.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] + 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/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] + 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/pkdumpimg.cc:26: @@ -5540,18 +5206,107 @@ /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] 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] + for(int ipair=0;ipair&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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] + for(int irule=0;irule&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 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/apps/pkextractimg.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] - const gsl_rng_type * T; - ^ +/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] + for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int vband=0;vband >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(readValuesReal.size()==nband); + ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:865:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iextent=0;iextent::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iband=0;iband >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(readValuesReal.size()==nband); + ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1360:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int vband=0;vband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int irule=0;irule::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iperc=0;iperc::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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/pkcreatect.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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -[ 58%] Built target pkinfo -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= -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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -Scanning dependencies of target pkfillnodata -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 +/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] + for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iv=0;iv >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask&, int, int, double, int, RESAMPLE) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:94: 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] if(buffer.size()!=maxCol-minCol+1) -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/apps/pkcreatect.cc:21: -/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] - const gsl_rng_type * T; - ^ -[ 59%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc +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/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:5: 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:94: required from here @@ -5656,6 +5507,110 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index&) [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] + for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:57: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:60: 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] + if(buffer.size()!=maxCol-minCol+1){ +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/apps/pkextractogr.cc:28: +/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:3: 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:105: 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] + 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] + 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] + 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] + 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] + 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] + 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:3: 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:106: 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +Scanning dependencies of target pkdsm2shadow +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/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:3: 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] + poBand->RasterIO(GF_Read,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, from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: @@ -5663,94 +5618,26 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] const gsl_rng_type * T; ^ -/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] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if(fieldname_opt.size()::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:596:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + poBand->RasterIO(GF_Read,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/apps/pksetmask.cc:23: +/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:3: 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] + 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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -/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] - short red=-1; - ^~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] - short green=-1; - ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable 'blue' [-Wunused-variable] - short blue=-1; - ^~~~ 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/pkannogr.cc:24: + 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] if(m_scale.size()!=nrOfBand()){//initialize @@ -5759,6 +5646,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] 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/apps/pkextractimg.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] + const gsl_rng_type * T; + ^ In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': @@ -5773,11 +5667,6 @@ /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] if(index>=m_classes.size()) ~~~~~^~~~~~~~~~~~~~~~~~ -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] - for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int irow=0;irow&) [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] -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: -/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] - for(int irow=0;irow > >&, 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] @@ -5900,13 +5780,267 @@ /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] for(int icon=0;icon&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +/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:253:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(ibag >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + if((mapit->second).size() >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nband==(training_opt.size())?trainingPixels[0][0].size()-2:trainingPixels[0][0].size()); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:428:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + for(int iclass=0;iclass, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + for(int isample=trainingPixels[iclass].size();isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(offset_opt.size()==nband); + ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:452:32: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(scale_opt.size()==nband); + ~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:462:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nctraining<=trainingPixels[iclass].size()); + ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:569:45: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(trainingFeatures[iclass].size()==nctraining); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:557:11: warning: unused variable 'index' [-Wunused-variable] + int index=0; + ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:574:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ilayer=0;ilayer::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample >::iterator mapit=trainingMap.begin(); + ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:689:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + for(int i_connection=0;i_connection::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ipair=0;ipair::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nband==hpixel[0].size()); + ~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:226:26: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if(fieldname_opt.size()&, int, int, int, int, int) [with T = int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:3: 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] + poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); + ^~~~~~ +In file included from /usr/include/c++/8/cassert:44, + from /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:91, + from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:32: +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:936:35: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(hpixel[icol].size()==nband); + ~~~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:364:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(short ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband&, int, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:3: 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/pkann.cc:1045:31: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] + for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iactive=0;iactive >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int inodata=0;inodata >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass&) [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] + 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] +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: +/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] + for(int irow=0;irow::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + 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] + 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] + if(m_offset.size()>band) + ~~~~~~~~~~~~~~~^~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: /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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' @@ -5940,10 +6074,6 @@ /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] for(int irow=0;irow >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ifile=0;ifile&, int, int, int, int) [with T = int]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = int]' @@ -5970,28 +6100,114 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass&, int, int, int, int) [with T = double]': +/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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:887:60: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:963:57: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1121:60: 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] + 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 = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1124:59: 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] +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: +/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] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' +/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:47: 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] + for(int irow=0;irow&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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 = int]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] 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/pkann.cc:364:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(ibag&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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/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] + short red=-1; + ^~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] + short green=-1; + ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable 'blue' [-Wunused-variable] + short blue=-1; + ^~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: /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:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' @@ -6044,8 +6260,6 @@ /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] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:400:34: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - if((mapit->second).size()::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~~^~~~~ @@ -6057,15 +6271,6 @@ /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:228:42: 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] if(buffer.size()!=maxCol-minCol+1){ -In file included from /usr/include/c++/8/cassert:44, - from /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:91, - from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:32: -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:417:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nband==(training_opt.size())?trainingPixels[0][0].size()-2:trainingPixels[0][0].size()); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:428:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int iclass=0;iclass&, int, int, int, int) [with T = short unsigned int]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short unsigned int]' @@ -6079,28 +6284,17 @@ /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] if(m_scale.size()>band) ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:437:66: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - for(int isample=trainingPixels[iclass].size();isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 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] if(buffer.size()!=maxCol-minCol+1) -In file included from /usr/include/c++/8/cassert:44, - from /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:91, - from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:32: -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:450:33: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(offset_opt.size()==nband); - ~~~~~~~~~~~~~~~~~^~~~~~~ /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] 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] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:452:32: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(scale_opt.size()==nband); - ~~~~~~~~~~~~~~~~^~~~~~~ /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] for(int index=0;index::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(buffer.size()!=maxCol-minCol+1){ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:462:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nctraining<=trainingPixels[iclass].size()); - ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:569:45: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(trainingFeatures[iclass].size()==nctraining); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:557:11: warning: unused variable 'index' [-Wunused-variable] - int index=0; - ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:574:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ilayer=0;ilayer::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample >::iterator mapit=trainingMap.begin(); - ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:689:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - for(int i_connection=0;i_connection::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nband==hpixel[0].size()); - ~~~~~^~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:918:29: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] - for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(hpixel[icol].size()==nband); - ~~~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:976:31: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(short ivalue=0;ivalue::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iactive=0;iactive&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + 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:3: 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/apps/pkann.cc:25: +/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:3: 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] + 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:3: 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/apps/pkann.cc:24: +/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:3: 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] + 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/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkannogr.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] + 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] + 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/apps/pkannogr.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] + 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/pkannogr.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: +/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:3: 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] + poBand->RasterIO(GF_Read,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/apps/pkcreatect.cc:22: +/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:3: 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] + 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/apps/pkcreatect.cc:21: +/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:3: 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] + poBand->RasterIO(GF_Read,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/apps/pkcreatect.cc:22: +/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:3: 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] + 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/apps/pkcreatect.cc:21: +/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:3: 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] + poBand->RasterIO(GF_Read,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/apps/pkcreatect.cc:22: +/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:3: 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] + 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/Optionpk.h:26, from /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': @@ -6277,68 +6426,23 @@ /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] for(int ic=0;ic::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 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] - 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] - 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] - if(m_offset.size()>band) - ~~~~~~~~~~~~~~~^~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function 'std::vector 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] for(int iout=0;iout&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - poBand->RasterIO(GF_Read,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/apps/pkcreatect.cc:22: -/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:3: 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] - 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/myfann_cpp.h: In member function 'float FANN::neural_net::cross_validation(std::vector >&, 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] if(nrun>ntraining) ~~~~^~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: -/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:3: 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] - poBand->RasterIO(GF_Read,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/apps/pkcreatect.cc:22: -/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:3: 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] - 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/myfann_cpp.h:1595:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while(nsample&, int, int, int, int) [with T = short unsigned int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - ^~~~~~ In file included from /usr/include/c++/8/cassert:44, from /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:91, from /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:32: /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1613:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(nsample==ntest); ~~~~~~~^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: -/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:3: 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] - 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/apps/pkannogr.cc:32: /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1627:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ipair=0;ipair&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:887:60: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:963:57: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1121:60: 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] - 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 = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1124:59: 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/apps/pkannogr.cc:352:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(ibag&, int, int, int, int) [with T = int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - 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/pkannogr.cc:388:34: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] for(int isample=trainingPixels[iclass].size();isample&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)', declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/c++/8/cassert:44, from /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:91, from /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:32: @@ -6605,15 +6643,12 @@ /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:291:16: warning: unused variable 'nactive' [-Wunused-variable] unsigned int nactive=0; ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' -/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:47: 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] - for(int irow=0;irow&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': @@ -6627,56 +6662,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] 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/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] - const gsl_rng_type * T; - ^ -/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:665:18: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gdal/gdal_priv.h:77, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, - 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: -/usr/include/gdal/ogr_feature.h:688:38: warning: 'writePointFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] - { SetField( GetFieldIndex(pszFName), dfValue ); } - ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1505:31: note: 'writePointFeature' was declared here - OGRFeature *writePointFeature; - ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/gdal/gdal_priv.h:77, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, - 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: -/usr/include/gdal/ogr_feature.h:690:38: warning: 'writePolygonFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] - { SetField( GetFieldIndex(pszFName), pszValue ); } - ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1252:25: note: 'writePolygonFeature' was declared here - OGRFeature *writePolygonFeature; - ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gdal/gdal_priv.h:77, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, - 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: -/usr/include/gdal/ogr_feature.h:688:38: warning: 'writePointFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] - { SetField( GetFieldIndex(pszFName), dfValue ); } - ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:985:31: note: 'writePointFeature' was declared here - OGRFeature *writePointFeature; - ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/gdal/gdal_priv.h:77, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, - 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: -/usr/include/gdal/ogr_feature.h:690:38: warning: 'writePolygonFeature' may be used uninitialized in this function [-Wmaybe-uninitialized] - { SetField( GetFieldIndex(pszFName), pszValue ); } - ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:734:25: note: 'writePolygonFeature' was declared here - OGRFeature *writePolygonFeature; - ^~~~~~~~~~~~~~~~~~~ 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, @@ -6698,25 +6683,6 @@ /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:47: 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] for(int irow=0;irow&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - 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:3: 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/apps/pkann.cc:25: -/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:3: 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] - 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:3: 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/apps/pkann.cc:24: -/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:3: 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] - 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/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, @@ -6725,11 +6691,25 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +[ 59%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 60%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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' +[ 60%] Built target pkcrop +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= +Scanning dependencies of target pkfillnodata +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/pkregann.cc:23: /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] if(verbose>1) ~~~~~~~^~ +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build /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] if(verbose>1) ~~~~~~~^~ @@ -6737,9 +6717,12 @@ /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] if(verbose>1) ~~~~~~~^~ +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /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] if(verbose>1) ~~~~~~~^~ +[ 61%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc 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: @@ -6886,6 +6869,11 @@ /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:137:16: warning: variable 'inputSize' set but not used [-Wunused-but-set-variable] unsigned int inputSize=0; ^~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 61%] Built target pkfilterascii +make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.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/pkreclassogr.dir/DependInfo.cmake --color= In file included from /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:23: /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 = float]': /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:143:72: required from here @@ -6901,29 +6889,36 @@ /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] if(verbose>1) ~~~~~~~^~ -[ 60%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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' -[ 60%] Built target pkfilterascii -make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.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/pkreclassogr.dir/DependInfo.cmake --color= -[ 61%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo Scanning dependencies of target pkreclassogr make[4]: 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[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 62%] Building CXX object CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc +[ 63%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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 in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/apps/pkextractogr.cc:28: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = int]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:454:7: warning: 'minValue' may be used uninitialized in this function [-Wmaybe-uninitialized] + if(minValue>*it) + ^~ +/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:512:7: warning: 'maxValue' may be used uninitialized in this function [-Wmaybe-uninitialized] + if(maxValue<*it) + ^~ +/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:454:7: warning: 'minValue' may be used uninitialized in this function [-Wmaybe-uninitialized] + if(minValue>*it) + ^~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 62%] Built target pkcrop +[ 63%] Built target pkstat 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= @@ -6931,22 +6926,12 @@ 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]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 63%] Linking CXX executable pkstat -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstat.dir/link.txt --verbose=1 [ 64%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c 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' -[ 64%] Built target pkstat -make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.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/pklas2img.dir/DependInfo.cmake --color= -Scanning dependencies of target pklas2img -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 65%] Building CXX object CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc +/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 in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/pkreclassogr.cc:23: @@ -6965,15 +6950,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] 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 in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:23: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +[ 65%] Linking CXX executable pkdiff +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=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] for(int iclass=0;iclassGetLayerDefn(); ^~~~~~~ -[ 66%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 67%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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 in this function [-Wmaybe-uninitialized] - pfnProgress(dfComplete,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 67%] Built target pkdiff -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= -[ 68%] Linking CXX executable pkdumpimg -Scanning dependencies of target pkfilterdem +[ 66%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 67%] Linking CXX executable pkdumpimg /usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 +[ 68%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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 +[ 68%] Built target pkdiff +make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/depend 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 -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -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 && /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/pklas2img.dir/DependInfo.cmake --color= +Scanning dependencies of target pklas2img make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 69%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc -[ 69%] Built target pkcreatect -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend +make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.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/pkoptsvm.dir/DependInfo.cmake --color= -Scanning dependencies of target pkoptsvm +[ 69%] Building CXX object CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc +[ 70%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build +[ 70%] Built target pksetmask +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' -[ 70%] Linking CXX executable pkstatascii -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=1 +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= 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] const gsl_rng_type * T; ^ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 71%] Building CXX object CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc +Scanning dependencies of target pkfilterdem +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' +[ 71%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.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/algorithms/Filter.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, @@ -7037,6 +7017,10 @@ /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] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +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' +[ 71%] Built target pkstatascii +make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend 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, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, @@ -7045,84 +7029,44 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -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/pkoptsvm.dir/DependInfo.cmake --color= [ 71%] Built target pkdumpimg 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= +Scanning dependencies of target pkoptsvm +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' Scanning dependencies of target pkascii2img 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 +[ 72%] Building CXX object CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 72%] Building CXX object CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc +[ 73%] Building CXX object CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc -[ 73%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 73%] Built target pkstatascii +[ 73%] Built target pkcreatect make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.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/pkkalman.dir/DependInfo.cmake --color= -[ 73%] Built target pksetmask -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= Scanning dependencies of target pkkalman make[4]: 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 -[ 74%] Linking CXX executable pkfillnodata make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=1 -[ 75%] Building CXX object CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o +[ 74%] Building CXX object CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc -Scanning dependencies of target pksvm -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 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 76%] Building CXX object CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, - from /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:27: -/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] - const gsl_rng_type * T; - ^ +[ 75%] Linking CXX executable pkextractimg +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractimg.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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] const gsl_rng_type * T; ^ -In file included from /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:27, - from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, - from /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:27: -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:51:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - std::string getClass(int iclass) const {assert(iclass>=0);assert(iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 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::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] - for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int icol=0;icol::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 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/pklas2img.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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 76%] Linking CXX executable pkdsm2shadow +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdsm2shadow.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 -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/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -o pkdsm2shadow -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 -lboost_filesystem -lboost_system -llas -llas_c 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' 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, @@ -7154,63 +7091,58 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -/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] - layers[3]=noutput; - ~~~~~~~~^ -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/pkoptsvm.cc: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] - 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] - 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/apps/pklas2img.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] - const gsl_rng_type * T; - ^ -[ 76%] Built target pkfillnodata -make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend +[ 76%] Built target pkextractimg +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/pksvmogr.dir/DependInfo.cmake --color= -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:32: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -/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] - for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iname=0;iname >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int inodata=0;inodata::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iheight=0;iheight >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - if((mapit->second).size(), short int>::value_type' {aka 'short int'} [-Wsign-compare] while(nchange>minChange_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] while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ -/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] - for(int isample=trainingPixels[iclass].size();isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(offset_opt.size()==nband); - ~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:491:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(scale_opt.size()==nband); - ~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:502:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:545:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if(testPixels.size()>iclass){ - ~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:555:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(trainingPixels[iclass].size()>isample); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:559:54: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(trainingPixels[iclass][isample].size()>iband+startBand); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:560:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(offset.size()>iband); - ~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:561:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(scale.size()>iband); - ~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:567:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(testPixels[iclass].size()>isample); - ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:571:50: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(testPixels[iclass][isample].size()>iband+startBand); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:572:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(offset.size()>iband); - ~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:573:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(scale.size()>iband); - ~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:290:16: warning: variable 'totalTestSamples' set but not used [-Wunused-but-set-variable] - unsigned int totalTestSamples=0; - ^~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:347:22: warning: unused variable 'prob' [-Wunused-variable] - struct svm_problem prob; - ^~~~ -[ 77%] Building CXX object CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -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] - if(m_scale.size()!=nrOfBand()){//initialize - ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/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] - 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/apps/pkascii2img.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] - const gsl_rng_type * T; - ^ +[ 77%] Building CXX object CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/apps/pkfilterdem.cc:25: /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:98: required from here @@ -7423,6 +7272,16 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:217:10: warning: variable 'theOffset' set but not used [-Wunused-but-set-variable] double theOffset=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/algorithms/ConfusionMatrix.h:25, + from /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:27: +/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] + const gsl_rng_type * T; + ^ +/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] + layers[3]=noutput; + ~~~~~~~~^ In file included 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/pkfilterdem.cc:25: @@ -7445,49 +7304,185 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:24: /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.h:842:15: required from '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:98: 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] for(int irow=0;irow >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + std::string getClass(int iclass) const {assert(iclass>=0);assert(iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 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::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] + for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int icol=0;icol::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/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 in this function [-Wmaybe-uninitialized] + pfnProgress(dfComplete,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/apps/pkascii2img.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] + const gsl_rng_type * T; + ^ +[ 77%] Built target pkdsm2shadow +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/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/pkoptsvm.cc: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] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +Scanning dependencies of target pksvmogr +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' +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:32: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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/pkascii2img.cc:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +[ 78%] Building CXX object CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/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] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iname=0;iname::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] assert(data.size()==nrow); ~~~~~~~~~~~^~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:24: -/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:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:40: 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] - if(buffer.size()!=maxCol-minCol+1){ -[ 78%] Linking CXX executable pkextractimg -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractimg.dir/link.txt --verbose=1 -In file included from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, - from /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:27: -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' -/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:423:43: 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] - for(int irow=0;irow >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + for(int isample=trainingPixels[iclass].size();isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(offset_opt.size()==nband); + ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:491:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(scale_opt.size()==nband); + ~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:502:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if(testPixels.size()>iclass){ + ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:555:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(trainingPixels[iclass].size()>isample); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:559:54: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(trainingPixels[iclass][isample].size()>iband+startBand); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:560:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(offset.size()>iband); + ~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:561:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(scale.size()>iband); + ~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:567:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(testPixels[iclass].size()>isample); + ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:571:50: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(testPixels[iclass][isample].size()>iband+startBand); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:572:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(offset.size()>iband); + ~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:573:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(scale.size()>iband); + ~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:290:16: warning: variable 'totalTestSamples' set but not used [-Wunused-but-set-variable] + unsigned int totalTestSamples=0; + ^~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:347:22: warning: unused variable 'prob' [-Wunused-variable] + struct svm_problem prob; + ^~~~ In file included 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/pkfilterdem.cc:25: @@ -7502,10 +7497,18 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:3: 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] 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/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:3: 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] - 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/apps/pkascii2img.cc:24: +/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:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:40: 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] + if(buffer.size()!=maxCol-minCol+1){ +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] + const gsl_rng_type * T; + ^ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::morphology(const Vector2d&, Vector2d&, const 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 in this function [-Wuninitialized] @@ -7531,58 +7534,8 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:265:14: warning: 'pszMessage' is used uninitialized in this function [-Wuninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:768:20: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - 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] - 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] - 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] - if(verbose>1) - ~~~~~~~^~ -/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:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - if(dimZ_opt.size()==1) - ^ -/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] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int itap=0;itap >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isrf=0;isrf >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(output.nrOfBand()==srf.size()); - ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:674:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isrf=0;isrf::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(m_scale.size()!=nrOfBand()){//initialize @@ -7591,100 +7544,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] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:888:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass1=0;iclass1::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass1=0;iclass1::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass2=0;iclass2::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int itap=0;itap&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] + 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: + 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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: -/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 string&, Vector2d&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: 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] - for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample&, const Vector2d&, const Vector2d&, const string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:137: 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] - for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:69: 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] - if(buffer.size()!=maxCol-minCol+1){ -In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, - from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:28: -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:51:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - std::string getClass(int iclass) const {assert(iclass>=0);assert(iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(index>=m_classes.size()) - ~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:768:20: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: + from /build/pktools-2.6.7.6+ds/src/apps/pklas2img.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] if(m_scale.size()!=nrOfBand()){//initialize @@ -7693,65 +7567,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] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::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] - for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int icol=0;icol >&, const std::vector&, double, double, bool, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:890:33: 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] - 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] - for(int icol=0;icol1) - ~~~~~~~^~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: -/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:97: 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] - for(int irow=0;irow&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ -/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:307:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int tindex=0;tindex::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] assert(tmodel_opt.size()>relobsindex[obsindex]); -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:423:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - if(ibag >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iline=0;iline::size_type' {aka 'long unsigned int'} [-Wsign-compare] assert(isample >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - if((mapit->second).size() >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iline=0;iline::size_type' {aka 'long unsigned int'} [-Wsign-compare] assert(isample&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:48: 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] - 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] - 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] - if(m_scale.size()>band) - ~~~~~~~~~~~~~~^~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, - from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:28: -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:475:17: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nclass==classname_opt.size()); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/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] - 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] - if(buffer.size()!=maxCol-minCol+1) -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:479:22: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nclass==trainingPixels.size()); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/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] - 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] - 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] - for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nband==trainingPixels[0][0].size()-2); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:486:33: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] - while(balance_opt.size()::selectCol(int, std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:414:5: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const string&, Vector2d&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:172:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(col<(*this)[0].size()); -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: -/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] - for(int irow=0;irowsize();++irow){ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:904:9: warning: unused variable 'minRow' [-Wunused-variable] int minRow=(irow>down_opt[0]/2) ? irow-down_opt[0]/2 : 0; ^~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:905:9: warning: unused variable 'maxRow' [-Wunused-variable] int maxRow=(irow+down_opt[0]/2&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:418:7: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const string&, Vector2d&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: 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] - for(int index=0;index, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - for(int isample=trainingPixels[iclass].size();isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(offset_opt.size()==nband); - ~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:515:32: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(scale_opt.size()==nband); - ~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1162:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(obsindex::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] assert(tmodel_opt.size()>relobsindex[obsindex]); -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:526:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 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:224:3: 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:83: 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] - 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] - 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] - 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] - if(m_scale.size()>band||m_offset.size()>band){ - ~~~~~~~~~~~~~~^~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1192:28: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare] if(relobsindex.back()::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] - assert(priors_opt.size()==1||priors_opt.size()==nclass); - ~~~~~~~~~~~~~~~~~^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:561:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] - while(bagSize_opt.size()::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 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] - for(int index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iline=0;iline >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nctraining<=trainingPixels[iclass].size()); - ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1491:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(obsindex::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(obsindex >, std::allocator > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(trainingFeatures[iclass].size()==nctraining); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:628:11: warning: unused variable 'index' [-Wunused-variable] - int index=0; - ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:660:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int isample=0;isample&, 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] + 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] + if(verbose>1) + ~~~~~~~^~ /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] for(int iline=0;iline >&, 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] + if(verbose>1) + ~~~~~~~^~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:23, 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: @@ -8030,6 +7728,9 @@ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1891:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(int modindex=0;modindex1) + ~~~~~~~^~ /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1894:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(obsindex::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - assert(nband==hpixel[0].size()); - ~~~~~^~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:946:35: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(hpixel[icol].size()==nband); - ~~~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:986:31: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(short ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int itap=0;itap >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isrf=0;isrf >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(output.nrOfBand()==srf.size()); + ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:674:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isrf=0;isrf::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass1=0;iclass1::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass1=0;iclass1::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass2=0;iclass2::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int itap=0;itap::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' +/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:423:43: 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] + for(int irow=0;irow&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:25: /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:3: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' @@ -8103,47 +7845,63 @@ ~~~~~~~~~~~~~~~^~~~~ /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] for(int index=0;index::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: -/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/pksvm.cc:1164:124: 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] - 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] - 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] - 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] - if(m_offset.size()>band) - ~~~~~~~~~~~~~~~^~~~~ -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/apps/pksvmogr.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] - 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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 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 = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:897:60: required from here +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: +/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 string&, Vector2d&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: 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] + for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int index=0;index::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample&, const Vector2d&, const Vector2d&, const string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:137: 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] + for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:69: 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] + if(buffer.size()!=maxCol-minCol+1){ +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 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:33: 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] + 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] + for(int icol=0;icol1) + ~~~~~~~^~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: +/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:97: 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] + for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + poBand->RasterIO(GF_Read,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/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/pkfilter.cc:29: +/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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:48: 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] if(m_scale.size()>band||m_offset.size()>band){ ~~~~~~~~~~~~~~^~~~~ @@ -8156,7 +7914,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] 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] 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] if(m_scale.size()>band||m_offset.size()>band){ @@ -8164,52 +7922,251 @@ /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] 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] 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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:973:57: 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] - if(m_scale.size()>band||m_offset.size()>band){ +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:27, + 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/base/Vector2d.h: In instantiation of 'void Vector2d::selectCol(int, std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:414:5: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const string&, Vector2d&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:172:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(col<(*this)[0].size()); +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: +/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] + for(int irow=0;irowsize();++irow){ +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 instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:418:7: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const string&, Vector2d&, int, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: 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] + 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:3: 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:83: 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] + if(m_scale.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] - 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] - 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] - 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] - 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] +/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] + 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] + 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] 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] +/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] 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:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int index=0;index&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1144:60: 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] - 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 = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1147:59: 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] +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:26: +/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:3: 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] + 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/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 in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 79%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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] + 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] + 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/apps/pksvm.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] + 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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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:3: 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] poBand->RasterIO(GF_Read,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/apps/pkkalman.cc:26: +In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: /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:3: 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] 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/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/pkfilter.cc:29: +/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:3: 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] + 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/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] + 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] + if(m_offset.size()!=nrOfBand()){ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Optionpk.h:26, + from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:28: +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'std::__cxx11::string confusionmatrix::ConfusionMatrix::getClass(int) const': +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:51:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + std::string getClass(int iclass) const {assert(iclass>=0);assert(iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(index=0;index >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 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::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] + for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iactive=0;iactive::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(short iclass=0;iclass::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ipair=0;ipair >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + if(ibag >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + if((mapit->second).size() >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nclass==classname_opt.size()); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:479:22: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nclass==trainingPixels.size()); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:480:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nband==trainingPixels[0][0].size()-2); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:486:33: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] + while(balance_opt.size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + for(int isample=trainingPixels[iclass].size();isample::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(offset_opt.size()==nband); + ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:515:32: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(scale_opt.size()==nband); + ~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:526:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] + assert(priors_opt.size()==1||priors_opt.size()==nclass); + ~~~~~~~~~~~~~~~~~^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:561:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] + while(bagSize_opt.size() >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nctraining<=trainingPixels[iclass].size()); + ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:641:45: warning: comparison of integer expressions of different signedness: 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(trainingFeatures[iclass].size()==nctraining); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:628:11: warning: unused variable 'index' [-Wunused-variable] + int index=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/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 string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + OGRPoint *poPoint = (OGRPoint *) poGeometry; + ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:660:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int isample=0;isample::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + assert(nband==hpixel[0].size()); + ~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:946:35: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(hpixel[icol].size()==nband); + ~~~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:986:31: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(short ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iactive=0;iactive&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] - poBand->RasterIO(GF_Read,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/algorithms/Filter.h:31, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: -/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:3: 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] - 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/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/pkfilter.cc:29: -/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:3: 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] - 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/apps/pksvmogr.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:295:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ifile=0;ifile::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ipair=0;ipairReadNextPoint());}; - ^ +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/pksvmogr.cc:394:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] assert(scale_opt.size()==nband); ~~~~~~~~~~~~~~~~^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: +/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/pksvm.cc:1164:124: 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] + 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] + 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] + 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] + if(m_offset.size()>band) + ~~~~~~~~~~~~~~~^~~~~ /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:514:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int isample=0;isample::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] @@ -8316,18 +8267,10 @@ /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:549:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] while(bagSize_opt.size()::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' -/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:467:47: 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] - for(int irow=0;irow >, std::allocator > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -8345,6 +8288,8 @@ /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] for(int ifeature=0;ifeature >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ivalidation=0;ivalidation >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iinput=0;iinput >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iinput=0;iinput::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(profile.size()==nband); - ~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:524:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(outputProfile[iband].size()==outputWriter.nrOfCol()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:644:33: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(outputData.size()==outputWriter.nrOfRow()); - ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:645:36: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - assert(outputData[0].size()==outputWriter.nrOfCol()); - ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:166:10: warning: unused variable 'dfComplete' [-Wunused-variable] - double dfComplete=0.0; - ^~~~~~~~~~ +[ 80%] Linking CXX executable pkregann +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkregann.dir/link.txt --verbose=1 +Scanning dependencies of target pkfssvm +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 +/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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:897:60: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:973:57: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1144:60: 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] + 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 -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann -llas -llas_c 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/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1147:59: 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] +[ 81%] Building CXX object CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc 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 instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': @@ -8418,6 +8408,27 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' +/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:467:47: 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] + for(int irow=0;irow::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' +/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:47: 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] + for(int irow=0;irow&, int, int, int, int) [with T = float]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] @@ -8430,6 +8441,7 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] 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/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:3: 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/apps/pksvm.cc:24: @@ -8437,12 +8449,69 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:3: 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] poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); ^~~~~~ +[ 82%] Built target pkregann +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= +In file included from /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:25: +/build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.h: In member function 'const bool& FileReaderLas::readNextPoint()': +/build/pktools-2.6.7.6+ds/src/lasclasses/FileReaderLas.h:58:63: warning: returning reference to temporary [-Wreturn-local-addr] + bool const& readNextPoint(){return(m_reader->ReadNextPoint());}; + ^ +Scanning dependencies of target pkreclass +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' +[ 83%] Building CXX object CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -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/apps/pklas2img.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:207:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iinput=0;iinput >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iinput=0;iinput::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(profile.size()==nband); + ~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:524:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(outputProfile[iband].size()==outputWriter.nrOfCol()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:644:33: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(outputData.size()==outputWriter.nrOfRow()); + ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:645:36: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + assert(outputData[0].size()==outputWriter.nrOfCol()); + ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:166:10: warning: unused variable 'dfComplete' [-Wunused-variable] + double dfComplete=0.0; + ^~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 83%] Built target pkreclassogr +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= In file included from /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:23: /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:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:526:65: 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] if(buffer.size()!=maxCol-minCol+1){ +Scanning dependencies of target pkfsann +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' +[ 84%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o +/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc +[ 85%] Linking CXX executable pkcomposite +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcomposite.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 -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/pkcomposite.dir/src/apps/pkcomposite.cc.o -o pkcomposite -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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:3: 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] + 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/algorithms/ConfusionMatrix.h:25, from /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:26: @@ -8450,15 +8519,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] const gsl_rng_type * T; ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:24: -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' -/usr/include/c++/8/bits/stl_vector.h:1079:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:47: 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] - for(int irow=0;irow::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(m_offset.size()!=nrOfBand()){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/pkfssvm.cc:30: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] @@ -8514,10 +8571,8 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:437:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass >, std::allocator > > >::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] for(int isample=trainingPixels[iclass].size();isample&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:3: 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] - 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/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkreclass.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] - 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/pkreclass.cc:23: -/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] - 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] - if(m_offset.size()!=nrOfBand()){ - ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 85%] Built target pkcomposite 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:95: required from here @@ -8624,11 +8658,6 @@ ~~~~~~~~~~~~~^~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:235:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int iclass=0;iclass&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - OGRPoint *poPoint = (OGRPoint *) poGeometry; - ^~~~~~~ /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:3: 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:116: required from here @@ -8655,31 +8684,6 @@ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:164:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iv=0;iv >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - for(int iband=0;iband::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' /usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' @@ -8687,99 +8691,24 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:514:43: 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] for(int irow=0;irow&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:251:59: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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:3: 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:85: 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] - 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] - 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] - 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] - 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] - 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] - 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] - 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] - for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:327:62: 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] - if(buffer.size()!=maxCol-minCol+1){ -[ 83%] Built target pkreclassogr -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= -Scanning dependencies of target pkfsann -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/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 84%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -[ 84%] Built target pkregann -/usr/bin/c++ -DBOOST_ALL_NO_LIB -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 -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 -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, +/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] + 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/pkreclass.cc:23: -/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:3: 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] - 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:3: 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/ImgWriterOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:24: -/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:3: 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] - 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, - from /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:22: -/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:512:7: warning: 'maxValue' may be used uninitialized in this function [-Wmaybe-uninitialized] - if(maxValue<*it) - ^~ +/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] + 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] + 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/pkfsann.cc:26: @@ -8787,6 +8716,11 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] const gsl_rng_type * T; ^ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:23: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::__cxx11::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 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, from /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:26: @@ -8803,6 +8737,10 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] OGRPoint *poPoint = (OGRPoint *) poGeometry; ^~~~~~~ +/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:149:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iclass=0;iclass >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(index>=m_classes.size()) ~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:172:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int irow=0;irow::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int icol=0;icol >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iv=0;iv >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int imask=0;imask::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int ivalue=0;ivalue >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + for(int iband=0;iband > >&, 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] @@ -9010,6 +8969,65 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:349:16: warning: variable 'totalTestSamples' set but not used [-Wunused-but-set-variable] unsigned int totalTestSamples=0; ^~~~~~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, + from /build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:23: +/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:3: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:251:59: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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:3: 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:85: 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] + 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] + 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] + 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] + 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] + 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] + 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] + 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] + for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:49: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:327:62: 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] + if(buffer.size()!=maxCol-minCol+1){ 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:95: required from here @@ -9059,9 +9077,6 @@ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:164:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' /usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]' @@ -9077,9 +9092,37 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:198:53: 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] for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:3: 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] + 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:3: 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/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:24: +/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:3: 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] + 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, + from /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc:22: +/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:512:7: warning: 'maxValue' may be used uninitialized in this function [-Wmaybe-uninitialized] + if(maxValue<*it) + ^~ +[ 86%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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 in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:611:18: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 86%] Built target pkascii2img /build/pktools-2.6.7.6+ds/src/apps/pklas2img.cc: In function 'int main(int, char**)': @@ -9095,24 +9138,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: note: 'minValue' was declared here T minValue; ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:611:18: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 86%] Built target pkcomposite -/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 in this function [-Wmaybe-uninitialized] - pfnProgress(progress,pszMessage,pProgressArg); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 87%] 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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' -[ 87%] Built target pkextractogr /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 in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); @@ -9120,58 +9145,67 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:668:16: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 88%] Linking CXX executable pkfilterdem +[ 87%] Linking CXX executable pkfilterdem /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterdem.dir/link.txt --verbose=1 +/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 in this function [-Wmaybe-uninitialized] + pfnProgress(progress,pszMessage,pProgressArg); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 89%] Linking CXX executable pkreclass -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclass.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 -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/pkreclass.dir/src/apps/pkreclass.cc.o -o pkreclass -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 90%] Linking CXX executable pkoptsvm -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkoptsvm.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 -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/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -o pkoptsvm -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 -lboost_filesystem -lboost_system -llas -llas_c 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' -[ 90%] Built target pkfilterdem +[ 87%] Built target pkfilterdem /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:740:16: warning: 'pszMessage' may be used uninitialized in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 88%] Linking CXX executable pkoptsvm +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkoptsvm.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 -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/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -o pkoptsvm -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 -lboost_filesystem -lboost_system -llas -llas_c 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' -[ 90%] Built target pkreclass -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 90%] Built target pkoptsvm -[ 91%] Linking CXX executable pklas2img -/usr/bin/cmake -E cmake_link_script CMakeFiles/pklas2img.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 -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/pklas2img.dir/src/apps/pklas2img.cc.o -o pklas2img -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 92%] Linking CXX executable pkannogr +[ 88%] Built target pkoptsvm +[ 89%] 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 -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 90%] Linking CXX executable pkreclass +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclass.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 -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/pkreclass.dir/src/apps/pkreclass.cc.o -o pkreclass -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 -lboost_filesystem -lboost_system -llas -llas_c 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/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 in this function [-Wmaybe-uninitialized] pfnProgress(progress,pszMessage,pProgressArg); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 91%] Linking CXX executable pklas2img +/usr/bin/cmake -E cmake_link_script CMakeFiles/pklas2img.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 -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/pklas2img.dir/src/apps/pklas2img.cc.o -o pklas2img -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -llas -llas_c 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' -[ 92%] Built target pklas2img +[ 91%] Built target pkannogr make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 92%] Built target pkannogr +[ 91%] Built target pkreclass +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +[ 91%] Built target pklas2img +[ 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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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' +[ 92%] Built target pkextractogr [ 93%] 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 -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 94%] 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 -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann -llas -llas_c 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 pkann -[ 94%] Linking CXX executable pkfssvm -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfssvm.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -o pkfssvm -Wl,-rpath,/build/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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 94%] Built target pkann make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 94%] Built target pkfssvm +[ 94%] Built target pkfsann [ 95%] Linking CXX executable pkfilter /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilter.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 -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 -lboost_filesystem -lboost_system -llas -llas_c 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 pkfilter -[ 96%] 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 -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 -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 96%] Linking CXX executable pkfssvm +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfssvm.dir/link.txt --verbose=1 +[ 96%] Built target pkfilter +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -o pkfssvm -Wl,-rpath,/build/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 -lboost_filesystem -lboost_system -llas -llas_c 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 +[ 96%] Built target pkfssvm [ 97%] Linking CXX executable pkkalman /usr/bin/cmake -E cmake_link_script CMakeFiles/pkkalman.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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 -lboost_filesystem -lboost_system -llas -llas_c src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo @@ -9199,46 +9233,46 @@ dh_testroot -O--buildsystem=cmake -O--parallel dh_prep -O--buildsystem=cmake -O--parallel dh_auto_install -O--buildsystem=cmake -O--parallel - cd obj-x86_64-linux-gnu && make -j16 install DESTDIR=/build/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no + cd obj-x86_64-linux-gnu && make -j15 install DESTDIR=/build/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no 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 make -f CMakeFiles/Makefile2 all make[2]: Entering 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/depend make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend +make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend make -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.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/base.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/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/lasClasses.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/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/fileClasses.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/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[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/lasClasses.dir/DependInfo.cmake --color= +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/build make[3]: Leaving 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[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'src/CMakeFiles/lasClasses.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 'src/CMakeFiles/base.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/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/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/build -[ 2%] Built target base -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/lasClasses.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 -[ 5%] Built target lasClasses 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' +[ 3%] Built target lasClasses +[ 5%] Built target base [ 8%] Built target fileClasses [ 16%] Built target imageClasses make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/depend @@ -9251,8 +9285,6 @@ make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 25%] Built target algorithms make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.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/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend @@ -9260,22 +9292,21 @@ make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.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= +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/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend 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/pkascii2ogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.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/pkcomposite.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/pkgetmask.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/pkstatprofile.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/pkfilterascii.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/pkcomposite.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/pkpolygonize.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' @@ -9283,60 +9314,51 @@ 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[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[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[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]: 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[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[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= +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[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= +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[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]: 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= +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[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 make[3]: 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 -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build 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/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.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]: 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 -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build 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 -f CMakeFiles/pkpolygonize.dir/build.make 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/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build 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/pksieve.dir/build.make CMakeFiles/pksieve.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]: 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[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[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -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/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build +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 -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/pkstatascii.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 27%] Built target pkstatascii -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/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/pkinfo.dir/build.make CMakeFiles/pkinfo.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/pkgetmask.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' @@ -9344,92 +9366,96 @@ 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[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]: 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' -[ 29%] Built target pkgetmask -make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend +[ 27%] Built target pkgetmask +make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.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/pkegcs.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' +[ 29%] Built target pkascii2ogr +[ 31%] Built target pkfilterascii +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend +make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.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/pkfilterascii.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/pkextractogr.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/pkdumpimg.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/pksetmask.dir/DependInfo.cmake --color= +[ 33%] Built target pkstatascii +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' +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[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]: 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]: 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/pkinfo.dir/build'. +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[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]: 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[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' -[ 31%] Built target pkascii2ogr -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' -make[3]: Nothing to be done for 'CMakeFiles/pksieve.dir/build'. +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' -[ 33%] Built target pkcomposite -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend -[ 35%] Built target pkfilterascii -make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend -[ 37%] Built target pkegcs -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.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/pkstat.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/pkregann.dir/DependInfo.cmake --color= +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[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]: 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' +[ 35%] Built target pkcomposite +[ 37%] Built target pksieve +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend +make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend [ 39%] Built target pkstatogr -make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.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/pkextractogr.dir/build'. +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 -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.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/pkdiff.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[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= [ 41%] Built target pkdumpogr -[ 43%] Built target pkinfo -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend -[ 45%] Built target pkstatprofile -make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend -[ 47%] Built target pkcrop -make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend -[ 49%] Built target pksieve -make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/depend -[ 51%] Built target pkstat -[ 53%] Built target pkpolygonize -make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend -[ 55%] Built target pkextractogr -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend -[ 57%] Built target pkdiff -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/pkregann.dir/DependInfo.cmake --color= +[ 43%] Built target pkegcs +[ 45%] Built target pkcrop +[ 47%] Built target pkpolygonize +make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.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/pkextractimg.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/pkann.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend +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/pkcreatect.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend +[ 49%] Built target pkstatprofile +[ 51%] Built target pkdiff +make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.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/pkannogr.dir/DependInfo.cmake --color= +make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/depend +[ 53%] Built target pkstat +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/pkdsm2shadow.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/pkfillnodata.dir/DependInfo.cmake --color= +[ 55%] Built target pkinfo 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= +make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.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[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' @@ -9438,151 +9464,159 @@ 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= 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= -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[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[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 +make[3]: 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[3]: Leaving 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[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 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 -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 -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/pkextractimg.dir/build.make CMakeFiles/pkextractimg.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 -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/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build +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/pkann.dir/build.make CMakeFiles/pkann.dir/build +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/pkdsm2shadow.dir/build.make 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/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.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]: 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]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.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 -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.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]: 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' +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' +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]: 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' -[ 59%] Built target pksetmask +[ 58%] Built target pkdumpimg +[ 59%] Built target pkextractogr +make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend +make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend +[ 61%] Built target pksetmask make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.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/pkfillnodata.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' -[ 61%] Built target pkregann -make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend -[ 63%] Built target pkfillnodata -make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend +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[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[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[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]: 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' +[ 63%] Built target pkregann +make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.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/pksvmogr.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/pkfssvm.dir/DependInfo.cmake --color= -[ 65%] Built target pkdumpimg -make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend +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[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' +[ 65%] Built target pkfillnodata +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/pkcreatect.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/pksvmogr.dir/DependInfo.cmake --color= +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' +[ 67%] Built target pkextractimg +make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend +[ 69%] Built target pkcreatect +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' 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[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' +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[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[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' -[ 67%] Built target pkextractimg -[ 69%] Built target pkcreatect +[ 71%] Built target pkann +[ 73%] Built target pkreclassogr 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/pkfsann.dir/build.make CMakeFiles/pkfsann.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/pkkalman.dir/build'. +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' -[ 71%] Built target pkreclassogr 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' +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' -make[3]: Nothing to be done for 'CMakeFiles/pkfilter.dir/build'. +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' -[ 73%] 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/pkannogr.dir/build'. +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]: Entering directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pklas2img.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 75%] Built target pkdsm2shadow [ 77%] Built target pkfilterdem +[ 79%] Built target pkannogr +[ 81%] Built target pkfilter +[ 83%] Built target pklas2img 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' -[ 79%] Built target pkkalman -[ 81%] Built target pkann -[ 83%] Built target pkfilter -[ 85%] Built target pkannogr -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= -[ 87%] Built target pklas2img -[ 89%] Built target pkoptsvm +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 -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build 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 +[ 85%] Built target pkoptsvm 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]: 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[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[3]: 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[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/pkascii2img.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/pkkalman.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/pksvm.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/pksvmogr.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/pkfssvm.dir/build'. +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]: 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]: 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' -[ 91%] Built target pksvm -[ 93%] Built target pksvmogr 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' -[ 95%] Built target pkfssvm -[ 97%] Built target pkreclass -[100%] Built target pkfsann +[ 87%] Built target pkascii2img +[ 89%] Built target pkkalman +[ 91%] Built target pksvm +[ 93%] Built target pksvmogr +[ 95%] Built target pkfsann +[100%] Built target pkreclass +[100%] Built target pkfssvm 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 make -f CMakeFiles/Makefile2 preinstall @@ -9732,7 +9766,7 @@ dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libalgorithms1/DEBIAN/symbols doesn't match completely debian/libalgorithms1.symbols --- debian/libalgorithms1.symbols (libalgorithms1_2.6.7.6_amd64) -+++ dpkg-gensymbolsvpGnJ7 2022-09-17 09:45:19.710770952 -1200 ++++ dpkg-gensymbolsor1HqG 2021-08-16 05:26:17.717795390 +1400 @@ -110,6 +110,7 @@ (optional=templinst)_ZN6filter6Filter12smoothNoDataIdEEvRKSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS5_@Base 2.6.4 _ZN6filter6Filter13getFilterTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 2.6.7.3 @@ -9795,7 +9829,7 @@ (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N8filter2d11FILTER_TYPEEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E@Base 2.6.4 dpkg-gensymbols: warning: debian/libimageclasses1/DEBIAN/symbols doesn't match completely debian/libimageclasses1.symbols --- debian/libimageclasses1.symbols (libimageclasses1_2.6.7.6_amd64) -+++ dpkg-gensymbolsmPBVpW 2022-09-17 09:45:20.522770952 -1200 ++++ dpkg-gensymbolse7YLLn 2021-08-16 05:26:18.437774966 +1400 @@ -144,7 +144,7 @@ (optional=templinst)_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_@Base 2.6.7.3 (optional=templinst)_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_@Base 2.6.7.3 @@ -9808,67 +9842,69 @@ make[1]: Leaving directory '/build/pktools-2.6.7.6+ds' dh_shlibdeps -O--buildsystem=cmake -O--parallel dpkg-shlibdeps: warning: symbol _ZNK6liblas6Header10CompressedEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZNK6liblas5Point18GetNumberOfReturnsEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZNK6liblas6Header7GetMinXEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZN6liblas6ReaderC1ERKS0_ used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZNK6liblas5Point4GetXEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZNK6liblas5Point4GetZEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZN6liblas12ReturnFilterC1ESt6vectorItSaItEEb used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZNK6liblas6Reader9GetHeaderEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZNK6liblas5Point4GetYEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZN6liblas6Reader13ReadNextPointEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZN6liblas6ReaderD1Ev used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZNK6liblas5Point15GetReturnNumberEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries dpkg-shlibdeps: warning: symbol _ZNK6liblas6Header7GetMaxXEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol _ZN6liblas20ClassificationFilterC1ESt6vectorINS_14ClassificationESaIS2_EE used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZNK6liblas6Header7GetMinYEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZNK6liblas6Header7GetMaxYEv used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZN6liblas13ReaderFactory16CreateWithStreamERSi used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol _ZN6liblas6ReaderC1ERKS0_ used by debian/liblasclasses1/usr/lib/x86_64-linux-gnu/liblasClasses.so.1.6.1 found in none of the libraries dpkg-shlibdeps: warning: 13 other similar warnings have been skipped (use -v to see them all) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libimageclasses1/usr/lib/x86_64-linux-gnu/libimageClasses.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libimageclasses1/usr/lib/x86_64-linux-gnu/libimageClasses.so.1.6.1 was not linked against libgslcblas.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libalgorithms1/usr/lib/x86_64-linux-gnu/libalgorithms.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libalgorithms1/usr/lib/x86_64-linux-gnu/libalgorithms.so.1.6.1 was not linked against libgslcblas.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libgsl.so.23 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libgdal.so.20 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libgslcblas.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libgcc_s.so.1 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libgdal.so.20 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libstdc++.so.6 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against libgdal.so.20 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libbase1/usr/lib/x86_64-linux-gnu/libbase.so.1.6.1 was not linked against libgsl.so.23 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libalgorithms1/usr/lib/x86_64-linux-gnu/libalgorithms.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libalgorithms1/usr/lib/x86_64-linux-gnu/libalgorithms.so.1.6.1 was not linked against libgslcblas.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libimageclasses1/usr/lib/x86_64-linux-gnu/libimageClasses.so.1.6.1 was not linked against libgslcblas.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libimageclasses1/usr/lib/x86_64-linux-gnu/libimageClasses.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against liblas_c.so.3 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against libgslcblas.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against libgsl.so.23 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against libarmadillo.so.9 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against libgdal.so.20 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against liblas.so.3 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against liblas_c.so.3 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libfileclasses1/usr/lib/x86_64-linux-gnu/libfileClasses.so.1.6.1 was not linked against libgsl.so.23 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkfilterdem debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkstat were not linked against libboost_system.so.1.67.0 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkfilterdem debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkstat were not linked against libboost_filesystem.so.1.67.0 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkfilterdem debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkstat were not linked against libbase.so.1 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkfilterdem debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkstat were not linked against libgslcblas.so.0 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkfilterdem debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkstat were not linked against liblas_c.so.3 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkfilterdem debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkstat were not linked against libarmadillo.so.9 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkstat debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkfilterdem were not linked against libgslcblas.so.0 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkstat debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkfilterdem were not linked against libboost_system.so.1.67.0 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkstat debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkfilterdem were not linked against liblas_c.so.3 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkstat debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkfilterdem were not linked against libarmadillo.so.9 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkstat debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkfilterdem were not linked against libbase.so.1 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/pktools/usr/bin/pkcrop debian/pktools/usr/bin/pksetmask debian/pktools/usr/bin/pkextractogr debian/pktools/usr/bin/pkfssvm debian/pktools/usr/bin/pkoptsvm debian/pktools/usr/bin/pkdumpimg debian/pktools/usr/bin/pkdumpogr debian/pktools/usr/bin/pkcreatect debian/pktools/usr/bin/pkstatogr debian/pktools/usr/bin/pkregann debian/pktools/usr/bin/pklas2img debian/pktools/usr/bin/pkfilter debian/pktools/usr/bin/pksvmogr debian/pktools/usr/bin/pkpolygonize debian/pktools/usr/bin/pkstatascii debian/pktools/usr/bin/pkdsm2shadow debian/pktools/usr/bin/pkgetmask debian/pktools/usr/bin/pkfilterascii debian/pktools/usr/bin/pkfsann debian/pktools/usr/bin/pkascii2img debian/pktools/usr/bin/pkstat debian/pktools/usr/bin/pkfillnodata debian/pktools/usr/bin/pkannogr debian/pktools/usr/bin/pkcomposite debian/pktools/usr/bin/pkstatprofile debian/pktools/usr/bin/pksvm debian/pktools/usr/bin/pkreclassogr debian/pktools/usr/bin/pkegcs debian/pktools/usr/bin/pkdiff debian/pktools/usr/bin/pkascii2ogr debian/pktools/usr/bin/pkextractimg debian/pktools/usr/bin/pkreclass debian/pktools/usr/bin/pkann debian/pktools/usr/bin/pkkalman debian/pktools/usr/bin/pksieve debian/pktools/usr/bin/pkinfo debian/pktools/usr/bin/pkfilterdem were not linked against libboost_filesystem.so.1.67.0 (they use none of the library's symbols) dh_installdeb -O--buildsystem=cmake -O--parallel dh_gencontrol -O--buildsystem=cmake -O--parallel dh_md5sums -O--buildsystem=cmake -O--parallel dh_builddeb -O--buildsystem=cmake -O--parallel dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'libimageclasses1' in '../libimageclasses1_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'libalgorithms1-dbgsym' in '../libalgorithms1-dbgsym_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'libbase1-dbgsym' in '../libbase1-dbgsym_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'libbase1' in '../libbase1_2.6.7.6+ds-1_amd64.deb'. dpkg-deb: building package 'pktools-dbgsym' in '../pktools-dbgsym_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'libalgorithms1-dbgsym' in '../libalgorithms1-dbgsym_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-1_amd64.deb'. dpkg-deb: building package 'libalgorithms1' in '../libalgorithms1_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'libbase1-dbgsym' in '../libbase1-dbgsym_2.6.7.6+ds-1_amd64.deb'. dpkg-deb: building package 'libfileclasses1-dbgsym' in '../libfileclasses1-dbgsym_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'libfileclasses1' in '../libfileclasses1_2.6.7.6+ds-1_amd64.deb'. -dpkg-deb: building package 'liblasclasses1' in '../liblasclasses1_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'libbase1' in '../libbase1_2.6.7.6+ds-1_amd64.deb'. dpkg-deb: building package 'libimageclasses1-dbgsym' in '../libimageclasses1-dbgsym_2.6.7.6+ds-1_amd64.deb'. dpkg-deb: building package 'liblasclasses1-dbgsym' in '../liblasclasses1-dbgsym_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'libimageclasses1' in '../libimageclasses1_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'libfileclasses1' in '../libfileclasses1_2.6.7.6+ds-1_amd64.deb'. +dpkg-deb: building package 'liblasclasses1' in '../liblasclasses1_2.6.7.6+ds-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pktools_2.6.7.6+ds-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/21524/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21524/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/28753 and its subdirectories -I: Current time: Sat Sep 17 09:46:03 -12 2022 -I: pbuilder-time-stamp: 1663451163 +I: removing directory /srv/workspace/pbuilder/21524 and its subdirectories +I: Current time: Mon Aug 16 05:26:46 +14 2021 +I: pbuilder-time-stamp: 1629041206