Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 09:47:38.152046205 +0000 +++ b2/build.log 2023-04-23 09:51:51.660818144 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 25 04:03:00 -12 2024 -I: pbuilder-time-stamp: 1716652980 +I: Current time: Sun Apr 23 23:47:39 +14 2023 +I: pbuilder-time-stamp: 1682243259 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./pktools_2.6.7.6+ds.orig.tar.gz] I: copying [./pktools_2.6.7.6+ds-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Dec 1 02:24:27 2022 -12 +gpgv: Signature made Fri Dec 2 04:24:27 2022 +14 gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pktools_2.6.7.6+ds-4.dsc: no acceptable signature found @@ -28,137 +28,169 @@ dpkg-source: info: applying no-liblas.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/117585/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12039/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 23 23:47 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/12039/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12039/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='882ea10945354ff6a5f2321316cfccf1' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='117585' - PS1='# ' - PS2='> ' + INVOCATION_ID=91da9269e832477286aca47a6344fa8d + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=12039 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fqRl4qSt/pbuilderrc_05Yx --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fqRl4qSt/b1 --logfile b1/build.log pktools_2.6.7.6+ds-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fqRl4qSt/pbuilderrc_JeeR --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fqRl4qSt/b2 --logfile b2/build.log --extrapackages usrmerge pktools_2.6.7.6+ds-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos16-i386 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Feb 12 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/117585/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Feb 13 10:21 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:21 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 23 23:47 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 13860 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/12039/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -481,7 +513,7 @@ Get: 260 http://deb.debian.org/debian bookworm/main i386 libsvm3 i386 3.24+ds-6 [44.9 kB] Get: 261 http://deb.debian.org/debian bookworm/main i386 libsvm-dev i386 3.24+ds-6 [65.4 kB] Get: 262 http://deb.debian.org/debian bookworm/main i386 pkg-kde-tools all 0.15.38 [97.8 kB] -Fetched 142 MB in 3s (48.7 MB/s) +Fetched 142 MB in 5s (27.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19604 files and directories currently installed.) @@ -1575,8 +1607,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/pktools-2.6.7.6+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pktools_2.6.7.6+ds-4_source.changes +I: user script /srv/workspace/pbuilder/12039/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/12039/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/pktools-2.6.7.6+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pktools_2.6.7.6+ds-4_source.changes dpkg-buildpackage: info: source package pktools dpkg-buildpackage: info: source version 2.6.7.6+ds-4 dpkg-buildpackage: info: source distribution unstable @@ -1696,59 +1739,56 @@ error : xmlAddEntity: invalid redeclaration of predefined entity error : xmlAddEntity: invalid redeclaration of predefined entity dh_auto_build - cd obj-i686-linux-gnu && make -j16 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-i686-linux-gnu && make -j7 "INSTALL=install --strip-program=true" VERBOSE=1 make[2]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' /usr/bin/cmake -S/build/pktools-2.6.7.6+ds -B/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color= make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend +make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/fileClasses.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/base.dir/DependInfo.cmake --color= +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build +make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 1%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build -[ 2%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -[ 3%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 1%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o +[ 2%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o +[ 3%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o +[ 4%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dbase_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/base.dir/base/Vector2d.cc.o -MF CMakeFiles/base.dir/base/Vector2d.cc.o.d -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc -[ 4%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc -[ 5%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -MF CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.d -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -c /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc -[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -[ 7%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dbase_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/base.dir/base/Vector2d.cc.o -MF CMakeFiles/base.dir/base/Vector2d.cc.o.d -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +[ 5%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +[ 6%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o +[ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc -[ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc -[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc -[ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc -[ 11%] Linking CXX shared library libbase.so +[ 8%] Linking CXX shared library libbase.so cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/base.dir/link.txt --verbose=1 +[ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libbase.so.1 -o libbase.so.1.6.1 CMakeFiles/base.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libbase.so.1.6.1 libbase.so.1 libbase.so make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 11%] Built target base +[ 9%] Built target base +[ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -MF CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.d -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -1766,16 +1806,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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | 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:221:12: warning: cast from type 'const char*' to type 'char**' casts away qualifiers [-Wcast-qual] 221 | return (char**)""; @@ -1790,21 +1820,8 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: +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 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -1813,16 +1830,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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:24: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /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 'unsigned int'} [-Wsign-compare] 171 | for(int icol=0;icol&, int) const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:345:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] - 345 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:359:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 359 | for(int iField=0;iField, double>&, std::string, int, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:391:30: warning: comparison of integer expressions of different signedness: 'std::map, double>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 391 | if(pointAttributes.size()+1!=poFeature->GetFieldCount()){ - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable 'fid' [-Wunused-variable] - 398 | int fid=0; - | ^~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addLineString(std::vector&, const std::string&, int, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:420:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 420 | for(int ip=0;ip&, const std::string&, int, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:443:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 443 | for(int ip=0;ip::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addLineString(std::vector&, const std::string&, const std::string&, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:469:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 469 | for(int ip=0;ip::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::ascii2ogr(const std::string&, const std::string&, const std::vector >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable 'skip' [-Wunused-variable] - 538 | bool skip=false; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] - 602 | bool skip=false; - | ^~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -1925,6 +1902,16 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:316:1: warning: control reaches end of non-void function [-Wreturn-type] 316 | } | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:170:13: 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 'unsigned int'} and 'int' [-Wsign-compare] @@ -1955,13 +1942,34 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function 'int ImgReaderOgr::getFields(std::vector&, int) const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:183:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] + 183 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:218:9: warning: unused variable 'iField' [-Wunused-variable] + 218 | int iField=0; + | ^~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:360:13: required from here @@ -1983,24 +1991,79 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::getFields(std::vector&, int) const': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:345:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] + 345 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); + | ^~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int) const': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:183:19: warning: unused variable 'poFieldDefn' [-Wunused-variable] - 183 | OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField); - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function 'std::ostream& operator<<(std::ostream&, ImgReaderOgr&)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:218:9: warning: unused variable 'iField' [-Wunused-variable] - 218 | int iField=0; - | ^~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:359:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 359 | for(int iField=0;iField, Vector2d >&, std::vector >&, const std::vector&, const std::string&, const std::vector >&, int)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:313:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 313 | for(int iband=0;iband, double>&, std::string, int, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:391:30: warning: comparison of integer expressions of different signedness: 'std::map, double>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 391 | if(pointAttributes.size()+1!=poFeature->GetFieldCount()){ + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable 'fid' [-Wunused-variable] + 398 | int fid=0; + | ^~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'void ImgWriterOgr::addLineString(std::vector&, const std::string&, int, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:420:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 420 | for(int ip=0;ip&, const std::string&, int, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:443:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 443 | for(int ip=0;ip&, const std::string&, const std::string&, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:469:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 469 | for(int ip=0;ip&, 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 'unsigned int'} and 'int' [-Wsign-compare] + 329 | while(burnBands.size() >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable 'skip' [-Wunused-variable] + 538 | bool skip=false; + | ^~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:602:12: warning: unused variable 'skip' [-Wunused-variable] + 602 | bool skip=false; + | ^~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::map, Vector2d >&, const OGRFieldType&, std::vector >&, const std::string&, int, bool, bool) [with T = float; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:16: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:313:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 313 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:323:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 323 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:261:9: warning: unused variable 'posOffset' [-Wunused-variable] + 261 | int posOffset=(pos)?2:0; + | ^~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:707:25: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -2015,63 +2078,24 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const ImgReaderGdal&)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:96:10: warning: variable 'papszMetadata' set but not used [-Wunused-but-set-variable] - 96 | char **papszMetadata; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function 'virtual void ImgWriterGdal::setCodec(const std::string&)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:171:10: warning: variable 'papszMetadata' set but not used [-Wunused-but-set-variable] - 171 | char **papszMetadata; - | ^~~~~~~~~~~~~ -/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 'unsigned int'} and 'int' [-Wsign-compare] - 329 | while(burnBands.size()&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::map, Vector2d >&, const OGRFieldType&, std::vector >&, const std::string&, int, bool, bool) [with T = float; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:16: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:313:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 313 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:323:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 323 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:261:9: warning: unused variable 'posOffset' [-Wunused-variable] - 261 | int posOffset=(pos)?2:0; - | ^~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: 'pTransformArg' may be used uninitialized [-Wmaybe-uninitialized] - 354 | if(GDALRasterizeLayers( (GDALDatasetH)m_gds,nrOfBand(),&(bands[0]),layers.size(),&(layers[0]),NULL,pTransformArg,NULL,coptions,pfnProgress,pProgressArg)!=CE_None){ - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here - 345 | void* pTransformArg; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'double ImgReaderGdal::getHistogram(std::vector&, double&, double&, unsigned int&, int, bool)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:278:22: note: 'pfnProgress' was declared here - 278 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:279:11: note: 'pProgressData' was declared here - 279 | void* pProgressData; - | ^~~~~~~~~~~~~ +[ 11%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -MF CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.d -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc In file included from /usr/include/c++/12/iostream:39, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:20: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', @@ -2092,6 +2116,81 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:235:14: note: 'x' was declared here 235 | double x,y; | ^ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc: In member function 'double ImgReaderGdal::getHistogram(std::vector&, double&, double&, unsigned int&, int, bool)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:278:22: note: 'pfnProgress' was declared here + 278 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:279:11: note: 'pProgressData' was declared here + 279 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: 'pTransformArg' may be used uninitialized [-Wmaybe-uninitialized] + 354 | if(GDALRasterizeLayers( (GDALDatasetH)m_gds,nrOfBand(),&(bands[0]),layers.size(),&(layers[0]),NULL,pTransformArg,NULL,coptions,pfnProgress,pProgressArg)!=CE_None){ + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:345:9: note: 'pTransformArg' was declared here + 345 | void* pTransformArg; + | ^~~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 250 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] + 24 | FileReaderAscii::FileReaderAscii(void) + | ^~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] + 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) + | ^~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] + 57 | int m_maxRow; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] + 52 | char m_fs; + | ^~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:33:1: warning: when initialized here [-Wreorder] + 33 | FileReaderAscii::FileReaderAscii(const std::string& filename, const char& fieldseparator) + | ^~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:109:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 109 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:202:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 202 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 230 | if(totalCol!=ncol){ + | ~~~~~~~~^~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function 'int ImgWriterOgr::ascii2ogr(const std::string&, const std::string&, const std::vector >&, const std::vector&, short int, short int, const std::string&, const OGRwkbGeometryType&, char)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:622:37: warning: 'pointFeature' may be used uninitialized [-Wmaybe-uninitialized] 622 | pointFeature->SetField(fieldId,atoi(value.c_str())); @@ -2124,21 +2223,32 @@ 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-i686-linux-gnu' [ 13%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o +[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc -[ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -MF CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc +[ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc [ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc [ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -MF CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc +[ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -MF CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.d -o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -c /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc -[ 20%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o +[ 20%] Linking CXX shared library libfileClasses.so +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=1 +/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libfileClasses.so.1 -o libfileClasses.so.1.6.1 CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libfileClasses.so.1.6.1 libfileClasses.so.1 libfileClasses.so +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 20%] Built target fileClasses +[ 21%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -MF CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.d -o CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -c /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -fPIC -MD -MT src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o -MF CMakeFiles/algorithms.dir/base/Vector2d.cc.o.d -o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -c /build/pktools-2.6.7.6+ds/src/base/Vector2d.cc +/build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc: In member function 'std::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] + 166 | double xcel=static_cast(geoX)/getBaseSize(); + | ^~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc:167:10: warning: unused variable 'ycel' [-Wunused-variable] + 167 | double ycel=static_cast(geoY)/getBaseSize(); + | ^~~~ /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of 'void clone(T*&, S*, int) [with S = svm_node* const; T = const svm_node*]': /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:278:7: required from here /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:28: warning: cast from type 'svm_node* const*' to type 'void*' casts away qualifiers [-Wcast-qual] @@ -2190,78 +2300,15 @@ /build/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2844:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2844 | fscanf(fp,"%d",&model->nSV[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii()': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] - 24 | FileReaderAscii::FileReaderAscii(void) - | ^~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] - 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) - | ^~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor 'FileReaderAscii::FileReaderAscii(const std::string&, const char&)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:57:7: warning: 'FileReaderAscii::m_maxRow' will be initialized after [-Wreorder] - 57 | int m_maxRow; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: 'char FileReaderAscii::m_fs' [-Wreorder] - 52 | char m_fs; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:33:1: warning: when initialized here [-Wreorder] - 33 | FileReaderAscii::FileReaderAscii(const std::string& filename, const char& fieldseparator) - | ^~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfCol(bool, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:109:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 109 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function 'unsigned int FileReaderAscii::nrOfRow(bool, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:202:17: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 202 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 230 | if(totalCol!=ncol){ - | ~~~~~~~~^~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/algorithms/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] 100 | const gsl_rng_type * T; | ^ -/build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc: In member function 'std::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] - 166 | double xcel=static_cast(geoX)/getBaseSize(); - | ^~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc:167:10: warning: unused variable 'ycel' [-Wunused-variable] - 167 | double ycel=static_cast(geoY)/getBaseSize(); - | ^~~~ -In file included from /build/pktools-2.6.7.6+ds/src/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] 100 | const gsl_rng_type * T; @@ -2273,17 +2320,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:53, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: @@ -2336,12 +2372,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:163:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 163 | if(ir>=m_results.size()) | ~~^~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function 'double confusionmatrix::ConfusionMatrix::nReference() const': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:179:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 179 | for(int ir=0;ir::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -2398,18 +2429,22 @@ /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 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ In file included from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, from /build/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:27: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': @@ -2419,6 +2454,7 @@ /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 'unsigned int'} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ +[ 22%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] 159 | for(int icol=0;icol&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/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] + 93 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 136 | for(int isample=0;isample&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h: In constructor 'imgregression::ImgRegression::ImgRegression()': /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:45:12: warning: 'imgregression::ImgRegression::m_threshold' will be initialized after [-Wreorder] 45 | double m_threshold; @@ -2439,11 +2493,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:25:1: warning: when initialized here [-Wreorder] 25 | ImgRegression::ImgRegression(void) | ^~~~~~~~~~~~~ -/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] - 93 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 136 | 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 'unsigned int'} [-Wsign-compare] 43 | for(int itap=0;itap::size_type' {aka 'unsigned int'} [-Wsign-compare] 246 | for(int index=0;index::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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:458:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 458 | for(int imethod=0;imethod::size_type' {aka 'unsigned int'} [-Wsign-compare] 727 | for(int iband=0;iband::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': @@ -2681,12 +2730,6 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/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 std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:25: required from 'void filter::Filter::smoothNoData(const std::vector&, const std::string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:19: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1416:7: warning: unused variable 'nband' [-Wunused-variable] - 1416 | int nband=wavelengthIn.size(); - | ^~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::mrf(ImgReaderGdal&, ImgWriterGdal&, int, int, Vector2d, bool, short int, bool)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:774:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 774 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] 834 | for(int iclass=0;iclass&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:25: required from 'void filter::Filter::smoothNoData(const std::vector&, const std::string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:19: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1416:7: warning: unused variable 'nband' [-Wunused-variable] + 1416 | int nband=wavelengthIn.size(); + | ^~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function 'void filter2d::Filter2d::morphology(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int, int, const std::vector&, bool)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1031:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1031 | for(int imask=0;imask >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1214 | for(int iband=0;iband&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1257:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1257 | if(indexJ<0||indexJ>=input.size()) | ~~~~~~^~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1259:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1259 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:33:5: required from here /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2858,6 +2907,18 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1393:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1393 | for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In static member function 'static const gsl_wavelet_type* filter::Filter::getWaveletType(std::string)': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] + 58 | } + | ^ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:100:23: required from here @@ -2960,18 +3021,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 270 | for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In static member function 'static const gsl_wavelet_type* filter::Filter::getWaveletType(std::string)': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] - 58 | } - | ^ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function 'double confusionmatrix::ConfusionMatrix::ua(const std::string&, double*) const': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: warning: 'dva' may be used uninitialized [-Wmaybe-uninitialized] 237 | double dva=1.0-dva; @@ -2979,27 +3028,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: note: 'dva' was declared here 237 | double dva=1.0-dva; | ^~~ -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]' -/usr/include/c++/12/bits/stl_uninitialized.h:120:21: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]' -/usr/include/c++/12/bits/stl_uninitialized.h:137:32: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*; bool _TrivialValueTypes = false]' -/usr/include/c++/12/bits/stl_uninitialized.h:185:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]' -/usr/include/c++/12/bits/stl_uninitialized.h:372:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*; _Tp = Vector2d]' -/usr/include/c++/12/bits/stl_uninitialized.h:397:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = Vector2d*; _ForwardIterator = Vector2d*; _Allocator = allocator >]' -/usr/include/c++/12/bits/vector.tcc:674:48: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = Vector2d; _Alloc = std::allocator >; size_type = unsigned int]' -/usr/include/c++/12/bits/stl_vector.h:1011:4: required from 'void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = Vector2d; _Alloc = std::allocator >; size_type = unsigned int]' -/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1213:16: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function 'void filter::Filter::dwtForward(ImgReaderGdal&, ImgWriterGdal&, const std::string&, int)': /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:70:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 70 | pfnProgress(progress,pszMessage,pProgressArg); @@ -3028,6 +3056,27 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:159:15: note: 'pszMessage' was declared here 159 | const char* pszMessage; | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]' +/usr/include/c++/12/bits/stl_uninitialized.h:120:21: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]' +/usr/include/c++/12/bits/stl_uninitialized.h:137:32: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*; bool _TrivialValueTypes = false]' +/usr/include/c++/12/bits/stl_uninitialized.h:185:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]' +/usr/include/c++/12/bits/stl_uninitialized.h:372:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*; _Tp = Vector2d]' +/usr/include/c++/12/bits/stl_uninitialized.h:397:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = Vector2d*; _ForwardIterator = Vector2d*; _Allocator = allocator >]' +/usr/include/c++/12/bits/vector.tcc:674:48: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = Vector2d; _Alloc = std::allocator >; size_type = unsigned int]' +/usr/include/c++/12/bits/stl_vector.h:1011:4: required from 'void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = Vector2d; _Alloc = std::allocator >; size_type = unsigned int]' +/build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1213:16: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); @@ -3200,12 +3249,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1047:24: note: 'theta' was declared here 1047 | double theta; | ^~~~~ -[ 22%] Linking CXX shared library libfileClasses.so -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=1 -/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libfileClasses.so.1 -o libfileClasses.so.1.6.1 CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libfileClasses.so.1.6.1 libfileClasses.so.1 libfileClasses.so -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 22%] Built target fileClasses [ 23%] Linking CXX shared library libalgorithms.so cd /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/algorithms.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libalgorithms.so.1 -o libalgorithms.so.1.6.1 CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o CMakeFiles/algorithms.dir/algorithms/svm.cpp.o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src: -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo @@ -3216,132 +3259,70 @@ make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcrop.dir/DependInfo.cmake --color= +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend +make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkinfo.dir/DependInfo.cmake --color= -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcrop.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksetmask.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-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake --color= -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdumpimg.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend -make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.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-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatascii.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake --color= make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color= -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 24%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 25%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -[ 26%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -MF CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.d -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc +make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build +[ 24%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -MF CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.d -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -MF CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.d -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build -[ 28%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -[ 28%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -[ 29%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -MF CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.d -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build +[ 25%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -MF CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.d -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc +[ 26%] Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -MF CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.d -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc +make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 27%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -MF CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.d -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build +[ 28%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -MF CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.d -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc +[ 29%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -MF CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.d -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc [ 30%] Building CXX object CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -MF CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.d -o CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build -[ 31%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -MF CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.d -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc -[ 32%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -MF CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.d -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend -make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend -[ 34%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -MF CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.d -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 35%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -MF CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.d -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc -[ 36%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -MF CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.d -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= -[ 37%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -MF CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.d -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 38%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -MF CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.d -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc -[ 39%] Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -MF CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.d -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc -[ 40%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -MF CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.d -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:23: + 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 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, + from /build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3351,19 +3332,21 @@ 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:26: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:24: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ 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/imageclasses/ImgReaderOgr.h:32: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -3382,28 +3365,75 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:169:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 169 | for(int inodata=0;inodata >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 194 | for(int iextent=0;iextent::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:285:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 285 | for(int iband=0;iband::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:161:16: warning: unused variable 'theType' [-Wunused-variable] + 161 | GDALDataType theType; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:174:7: warning: unused variable 'nband' [-Wunused-variable] + 174 | int nband=imgReader.nrOfBand(); + | ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:176:7: warning: unused variable 'nrow' [-Wunused-variable] + 176 | int nrow=imgReader.nrOfRow(); + | ^~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:177:7: warning: unused variable 'ncol' [-Wunused-variable] + 177 | int ncol=imgReader.nrOfCol(); + | ^~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:247:10: warning: variable 'dcropcol' set but not used [-Wunused-but-set-variable] + 247 | double dcropcol=0; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:248:10: warning: variable 'dcroprow' set but not used [-Wunused-but-set-variable] + 248 | double dcroprow=0; + | ^~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/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 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:23: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': @@ -3416,16 +3446,68 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} [-Wsign-compare] + 264 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 281 | for(int iimg=0;iimg >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 340 | for(int iextent=0;iextent >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 487 | for(int iimg=0;iimg::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; + | ~~~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:711:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 711 | if(scale_opt.size()>iband) + | ~~~~~~~~~~~~~~~~^~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:717:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 717 | if(offset_opt.size()>iband) + | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:798:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 798 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 801 | if(nodata_opt.size()>ivalue) + | ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:839:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 839 | if(writeBuffer.size()!=imgWriter.nrOfCol()) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:586:12: warning: variable 'dcropcol' set but not used [-Wunused-but-set-variable] + 586 | double dcropcol=0; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:587:12: warning: variable 'dcroprow' set but not used [-Wunused-but-set-variable] + 587 | double dcroprow=0; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:683:9: warning: unused variable 'readncol' [-Wunused-variable] + 683 | int readncol=endCol-startCol+1; + | ^~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} [-Wsign-compare] 130 | for(int imask=0;imask&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:191:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 191 | for(int imask=0;imask >::size_type' {aka 'unsigned int'} [-Wsign-compare] 371 | 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:29: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 169 | 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/imageclasses/ImgWriterOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:29: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/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 'unsigned int'} [-Wsign-compare] - 270 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 453 | for(int irule=0;irule >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 625 | for(int irule=0;irule::size_type' {aka 'unsigned int'} [-Wsign-compare] - 636 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:110:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 110 | for(int inodata=0;inodata&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:644:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 644 | for(int iperc=0;iperc&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:29: required from here -/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 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:31: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 148 | if(buffer.size()!=maxCol-minCol+1){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:739:24: warning: unused variable 'gt' [-Wunused-variable] - 739 | double gt[6];// { 444720, 30, 0, 3751320, 0, -30 }; - | ^~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:799:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 799 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 178 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 865 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 209 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 226 | if(fieldname_opt.size()::size_type' {aka 'unsigned int'} [-Wsign-compare] - 923 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 960 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1036 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 364 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1097 | for(int irule=0;irule::size_type' {aka 'unsigned int'} [-Wsign-compare] - 391 | for(int inodata=0;inodata >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 400 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1114 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1150 | for(int iperc=0;iperc::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1177 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1288 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1360 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1444 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1477 | for(int vband=0;vband >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 506 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 510 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 539 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1557 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 596 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1617 | for(int irule=0;irule::size_type' {aka 'unsigned int'} [-Wsign-compare] - 624 | for(int inodata=0;inodata >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 631 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1634 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1671 | for(int iperc=0;iperc >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 736 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1698 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} [-Wsign-compare] - 738 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 756 | 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 'unsigned int'} [-Wsign-compare] - 194 | 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 'unsigned int'} [-Wsign-compare] - 194 | for(int index=0;index&) [with T1 = std::__cxx11::basic_string; std::ostream = std::basic_ostream]': -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:239:18: required from here -/build/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 98 | for(int irow=0;irow >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3838,13 +3561,28 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:128:12: warning: variable 'doa' set but not used [-Wunused-but-set-variable] 128 | double doa=0; | ^~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 169 | 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 'unsigned int'} [-Wsign-compare] 186 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:337:29: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -3869,90 +3607,53 @@ /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 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index::Vector2d(const Vector2d&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow&, int, int, int, int) [with T = int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = int]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:566:29: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] 242 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] + 181 | for(int iband=0;iband >::size_type' {aka 'unsigned int'} [-Wsign-compare] 255 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] 262 | for(int rc=0;rc::size_type' {aka 'unsigned int'} [-Wsign-compare] + 217 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 224 | for(int ivalid=0;ivalid >::size_type' {aka 'unsigned int'} [-Wsign-compare] 310 | for(int iinput=0;iinput >::size_type' {aka 'unsigned int'} [-Wsign-compare] 315 | for(int iref=0;iref::size_type' {aka 'unsigned int'} [-Wsign-compare] + 236 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] + 248 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] 447 | for(int iflag=0;iflag&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:480:37: warning: variable 'panit' set but not used [-Wunused-but-set-variable] 480 | vector::iterator panit=panMap.begin(); | ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:75:9: warning: unused variable 'red' [-Wunused-variable] + 75 | short red=-1; + | ^~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] + 76 | short green=-1; + | ^~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable 'blue' [-Wunused-variable] + 77 | short blue=-1; + | ^~~~ /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:513:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 513 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] 746 | for(int rc=0;rc::size_type' {aka 'unsigned int'} [-Wsign-compare] - 800 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] - 813 | for(int ivalue=0;ivalue&, int, int, int, int) [with T = int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = int]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:584:36: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 247 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 249 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 270 | for(int index=0;index&, int, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:588:36: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 247 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 249 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 270 | for(int index=0;index&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} [-Wsign-compare] - 211 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] - 213 | for(int inodata=0;inodata::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, - from /build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:26: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:158:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 158 | for(int ifield=0;ifield::size_type' {aka 'unsigned int'} [-Wsign-compare] - 172 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 174 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 180 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 405 | for(int iy=0;iy::size_type' {aka 'unsigned int'} [-Wsign-compare] - 182 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 190 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 192 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 198 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 200 | if(isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 207 | for(int ifield=0;ifield >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 210 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 212 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 220 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 222 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 231 | for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 238 | if(ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 250 | if(ifield::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, - from /build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:169:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 169 | for(int inodata=0;inodata >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 194 | for(int iextent=0;iextent::size_type' {aka 'unsigned int'} [-Wsign-compare] - 285 | for(int iband=0;iband&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -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: -/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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, std::vector&, int, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] - 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:506:37: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 106 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 108 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 105 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 106 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 108 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:24: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -/build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} [-Wsign-compare] - 264 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 281 | for(int iimg=0;iimg >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 340 | for(int iextent=0;iextent >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 487 | for(int iimg=0;iimg::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; - | ~~~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:711:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 711 | if(scale_opt.size()>iband) - | ~~~~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:717:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 717 | if(offset_opt.size()>iband) - | ~~~~~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:798:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 798 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 801 | if(nodata_opt.size()>ivalue) - | ~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:839:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 839 | if(writeBuffer.size()!=imgWriter.nrOfCol()) - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:586:12: warning: variable 'dcropcol' set but not used [-Wunused-but-set-variable] - 586 | double dcropcol=0; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:587:12: warning: variable 'dcroprow' set but not used [-Wunused-but-set-variable] - 587 | double dcroprow=0; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:683:9: warning: unused variable 'readncol' [-Wunused-variable] - 683 | int readncol=endCol-startCol+1; - | ^~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:29: required from here +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4346,9 +3708,9 @@ /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 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4361,7 +3723,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 'unsigned int'} and 'int' [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka '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 'unsigned int'} and 'int' [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -4370,49 +3732,24 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka '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 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 148 | 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/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] - 100 | const gsl_rng_type * T; - | ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:75:9: warning: unused variable 'red' [-Wunused-variable] - 75 | short red=-1; - | ^~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable 'green' [-Wunused-variable] - 76 | short green=-1; - | ^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable 'blue' [-Wunused-variable] - 77 | short blue=-1; - | ^~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 169 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:800:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 800 | for(int iflag=0;iflag::size_type' {aka 'unsigned int'} [-Wsign-compare] + 813 | for(int ivalue=0;ivalue&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:33: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:29: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ @@ -4437,149 +3774,62 @@ /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 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:44: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:30: required from here +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:31: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:29: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/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 'unsigned int'} [-Wsign-compare] - 149 | for(int iclass=0;iclass&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:181:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 181 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 217 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 224 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] - 236 | for(int ivalid=0;ivalid::size_type' {aka 'unsigned int'} [-Wsign-compare] - 248 | for(int ivalid=0;ivalid&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, - from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:506:37: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 106 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 108 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:38: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 105 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 106 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 108 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/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 'unsigned int'} [-Wsign-compare] + 211 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] + 213 | for(int inodata=0;inodata&, int, int, int, int) [with T = char]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:31: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = char]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = char]' /build/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:218:27: required from here @@ -4673,19 +3923,6 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/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 'unsigned int'} [-Wsign-compare] - 162 | for(int ifield=0;ifield&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' /build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:25: required from here @@ -4719,6 +3956,308 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/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 'unsigned int'} [-Wsign-compare] + 405 | for(int iy=0;iy&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:27: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:34: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 169 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:31: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short unsigned int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short unsigned int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:31: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:222:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 222 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:217:15: note: 'pszMessage' was declared here + 217 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:126:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 126 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:122:15: note: 'pszMessage' was declared here + 122 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:324:26: note: 'pfnProgress' was declared here + 324 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here + 325 | void* pProgressData; + | ^~~~~~~~~~~~~ +[ 31%] Linking CXX executable pkdumpimg +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 +[ 32%] Linking CXX executable pkgetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -o pkdumpimg -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -o pkgetmask -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 34%] Linking CXX executable pksetmask +/usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -o pksetmask -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 34%] Built target pkdumpimg +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 35%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -MF CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.d -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 35%] Built target pkgetmask +make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend +[ 36%] Linking CXX executable pkcreatect +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=1 +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake --color= +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -o pkcreatect -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 37%] Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -MF CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.d -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc +/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 [-Wmaybe-uninitialized] + 354 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:304:15: note: 'pszMessage' was declared here + 304 | const char* pszMessage; + | ^~~~~~~~~~ +In file included from /usr/include/gdal/gdal_priv.h:81, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31: +In member function 'int OGRFeature::GetFieldIndex(const char*) const', + inlined from 'void OGRFeature::SetField(const char*, int)' at /usr/include/gdal/ogr_feature.h:983:17, + inlined from 'int main(int, char**)' at /build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:555:41: +/usr/include/gdal/ogr_feature.h:835:16: warning: 'writeFeature' may be used uninitialized [-Wmaybe-uninitialized] + 835 | return poDefn->GetFieldIndex(pszName); + | ^~~~~~ +/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:393:23: note: 'writeFeature' was declared here + 393 | OGRFeature *writeFeature; + | ^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:653:45: warning: 'writeLayer' may be used uninitialized [-Wmaybe-uninitialized] + 653 | if(writeLayer->CreateFeature( writeFeature ) != OGRERR_NONE ){ + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:359:21: note: 'writeLayer' was declared here + 359 | OGRLayer *writeLayer; + | ^~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 37%] Built target pksetmask +make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +[ 38%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -MF CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.d -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 38%] Built target pkcreatect +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatascii.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 39%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -MF CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.d -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:244:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 244 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:240:15: note: 'pszMessage' was declared here + 240 | const char* pszMessage; + | ^~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:24: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +[ 40%] Linking CXX executable pkinfo +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -o pkinfo -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, + from /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:24: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ /build/pktools-2.6.7.6+ds/src/apps/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 'unsigned int'} [-Wsign-compare] 235 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:427:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 427 | for(int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] 838 | for(int inodata=0;inodata&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:935:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 935 | for(int i=0;i&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] - 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:21: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 916 | if(output.size()!=nbin){ - | ~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:158:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 158 | for(int ifield=0;ifield::size_type' {aka 'unsigned int'} [-Wsign-compare] + 172 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 174 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 180 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 182 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 190 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 192 | if(isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 198 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 200 | if(isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 207 | for(int ifield=0;ifield >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 210 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 212 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 220 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 222 | if(isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 231 | for(int isample=0;isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 238 | if(ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 250 | if(ifield&, int, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:32: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -4842,43 +4435,11 @@ /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 'unsigned int'} [-Wsign-compare] 270 | for(int index=0;index&, int, int, int, int, int) [with T = int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/apps/pksieve.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:117:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 117 | pfnProgress(dfComplete,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:114:15: note: 'pszMessage' was declared here - 114 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short unsigned int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short unsigned int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readXY(std::vector&, std::vector&, int, bool) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:20: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable 'poFDefn' [-Wunused-variable] + 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:27: required from here @@ -4912,13 +4473,16 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:222:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 222 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:217:15: note: 'pszMessage' was declared here - 217 | const char* pszMessage; - | ^~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 40%] Built target pkinfo +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 41%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -MF CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.d -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); @@ -4927,94 +4491,800 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 41%] Linking CXX executable pkstatprofile -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -o pkstatprofile -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:324:26: note: 'pfnProgress' was declared here - 324 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:325:15: note: 'pProgressData' was declared here - 325 | void* pProgressData; - | ^~~~~~~~~~~~~ -[ 42%] Linking CXX executable pksieve +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] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:162:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 162 | for(int ifield=0;ifield&, const OGRFieldType&, const std::string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:27: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable 'poPoint' [-Wunused-variable] + 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:21: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 916 | if(output.size()!=nbin){ + | ~~~~~~~~~~~~~^~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 42%] Built target pkcrop +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 43%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -MF CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.d -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc +/build/pktools-2.6.7.6+ds/src/apps/pksieve.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:117:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 117 | pfnProgress(dfComplete,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksieve.cc:114:15: note: 'pszMessage' was declared here + 114 | const char* pszMessage; + | ^~~~~~~~~~ +In file included from /build/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] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 250 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:260:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 260 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 391 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:399:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 399 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 404 | if(icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 455 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 456 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:458:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 458 | if(irowsize()-1) + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:465:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 465 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:466:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 466 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 468 | if(icol >&, const std::vector&, double, double, bool, bool) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:23: required from here +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 210 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 272 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 916 | 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:110: 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 'unsigned int'} [-Wsign-compare] + 1303 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1305 | if (j < 0 || j >= y.size()) + | ~~^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1316 | if(i>=x.size()){ + | ~^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1326 | if(j>=y.size()){ + | ~^~~~~~~~~~ +/build/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:114: 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 'unsigned int'} [-Wsign-compare] + 1218 | for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:24: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1027:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1027 | 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 'unsigned int'} and 'int' [-Wsign-compare] + 1037 | if(output.size()<=binY){ + | ~~~~~~~~~~~~~^~~~~~ +[ 45%] Linking CXX executable pksieve /usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -o pksieve -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -[ 43%] Linking CXX executable pkdumpogr +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: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 45%] Built target pkdiff +make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkegcs.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +[ 46%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -MF CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.d -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:29: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 46%] Built target pksieve +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +/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 'unsigned int'} [-Wsign-compare] + 149 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +/build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:110:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 110 | for(int inodata=0;inodata::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/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 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:29: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:287:26: note: 'pfnProgress' was declared here + 287 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:288:15: note: 'pProgressData' was declared here + 288 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:384:26: note: 'pfnProgress' was declared here + 384 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:385:15: note: 'pProgressData' was declared here + 385 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] + 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:886:24: note: 'pfnProgress' was declared here + 886 | GDALProgressFunc pfnProgress; + | ^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] + 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:887:13: note: 'pProgressData' was declared here + 887 | void* pProgressData; + | ^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:549:17: warning: 'icol' may be used uninitialized [-Wmaybe-uninitialized] + 549 | for(int icol;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 178 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 209 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 226 | if(fieldname_opt.size()::size_type' {aka 'unsigned int'} [-Wsign-compare] + 364 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 391 | for(int inodata=0;inodata >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 400 | for(int iband=0;iband >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 506 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 510 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 539 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 596 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 624 | for(int inodata=0;inodata >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 631 | for(int iband=0;iband >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 736 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 738 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 756 | for(int iclass=0;iclass&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ +[ 50%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -MF CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.d -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ +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 'unsigned int'} [-Wsign-compare] + 194 | for(int index=0;index&) [with T1 = std::__cxx11::basic_string; std::ostream = std::basic_ostream]': +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:239:18: required from here +/build/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 98 | for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:337:29: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index::Vector2d(const Vector2d&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from 'Vector2d Vector2d::operator=(const Vector2d&) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow&, int, int, int, int) [with T = int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = int]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:566:29: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, int, int, int, int) [with T = int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, + from /build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:29: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/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 'unsigned int'} [-Wsign-compare] + 270 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 453 | for(int irule=0;irule >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 625 | for(int irule=0;irule::size_type' {aka 'unsigned int'} [-Wsign-compare] + 636 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 644 | for(int iperc=0;iperc::size_type' {aka 'unsigned int'} [-Wsign-compare] + 799 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 865 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 923 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 960 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1036 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1097 | for(int irule=0;irule::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1114 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1150 | for(int iperc=0;iperc::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1177 | for(int ivalue=0;ivalue::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1288 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1360 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1444 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1477 | for(int vband=0;vband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1557 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1617 | for(int irule=0;irule::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1634 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1671 | for(int iperc=0;iperc::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1698 | for(int ivalue=0;ivalue&) [with T1 = int; std::ostream = std::basic_ostream]': +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:231:18: required from here +/build/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 194 | for(int index=0;index&, int, int, int, int, int) [with T = int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = int]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:584:36: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 247 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 249 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 270 | for(int index=0;index&, int, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:588:36: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 247 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 249 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 270 | for(int index=0;index&, int, int, int, int, int) [with T = int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 51%] Built target pkstatprofile make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 45%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o +[ 52%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -MF CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.d -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc +[ 53%] Linking CXX executable pkstatogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -o pkstatogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 45%] Built target pkstatprofile +[ 53%] Built target pkstatogr make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfilter.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 46%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o +[ 54%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -MF CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.d -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc +[ 55%] Linking CXX executable pkegcs +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -o pkegcs -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 56%] Linking CXX executable pkstat +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstat.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -o pkstat -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 46%] Built target pkegcs +[ 56%] Built target pkegcs make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfilterdem.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 47%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o +[ 57%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -MF CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.d -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 47%] Built target pkdumpogr +[ 57%] Built target pkstat +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfilterascii.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 48%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o +[ 58%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -MF CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.d -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc -[ 50%] Linking CXX executable pksetmask -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -o pksetmask -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 50%] Built target pksetmask -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 51%] Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -MF CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.d -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.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/apps/pkfilterdem.cc:24: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: + from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.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 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -5023,6 +5293,33 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:24: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:155:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 155 | pfnProgress(dfComplete,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:152:17: note: 'pszMessage' was declared here + 152 | const char* pszMessage; + | ^~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function 'int main(int, char**)': /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:333:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 333 | pfnProgress(progress,pszMessage,pProgressArg); @@ -5030,6 +5327,18 @@ /build/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:288:15: note: 'pszMessage' was declared here 288 | const char* pszMessage; | ^~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, + from /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.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 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': @@ -5043,16 +5352,16 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:233:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 233 | for(int iheight=0;iheight, short int>::value_type' {aka 'short int'} [-Wsign-compare] - 358 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:374:18: warning: comparison of integer expressions of different signedness: 'long unsigned int' and '__gnu_cxx::__alloc_traits, short int>::value_type' {aka 'short int'} [-Wsign-compare] - 374 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ In file included from /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: + from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:358: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] + 358 | 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] + 374 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of 'long unsigned int filter2d::Filter2d::dsm2dtm_nwse(const Vector2d&, Vector2d&, double, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:336:29: required from here /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:854:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -5144,6 +5453,17 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:217:10: warning: variable 'theOffset' set but not used [-Wunused-but-set-variable] 217 | double theOffset=0; | ^~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, + from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:191:22: required from here @@ -5171,59 +5491,6 @@ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/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 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:126:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 126 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:122:15: note: 'pszMessage' was declared here - 122 | const char* pszMessage; - | ^~~~~~~~~~ -[ 52%] Linking CXX executable pkinfo -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -o pkinfo -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-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/pkfilter.cc:28: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, - from /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, - from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': @@ -5238,14 +5505,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | poBand->RasterIO(GF_Write,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 52%] Built target pkinfo -make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcomposite.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'long unsigned int filter2d::Filter2d::dsm2dtm_nwse(const Vector2d&, Vector2d&, double, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:840:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 840 | pfnProgress(progress,pszMessage,pProgressArg); @@ -5281,7 +5540,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:695:15: note: 'pszMessage' was declared here 695 | const char* pszMessage; | ^~~~~~~~~~ -[ 53%] Building CXX object CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function 'void filter2d::Filter2d::doit(const Vector2d&, Vector2d&, const std::string&, int, int, short int, bool) [with T1 = double; T2 = double]': /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:265:14: warning: 'pszMessage' is used uninitialized [-Wuninitialized] 265 | pfnProgress(progress,pszMessage,pProgressArg); @@ -5289,19 +5547,352 @@ /build/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:261:15: note: 'pszMessage' was declared here 261 | const char* pszMessage; | ^~~~~~~~~~ +[ 59%] Linking CXX executable pkfillnodata +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -o pkfillnodata -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 59%] Built target pkfillnodata +make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +[ 60%] Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o +In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:31: +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -MF CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.d -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 250 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:486:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 486 | if(dimZ_opt.size()==1) + | ^ +/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 'unsigned int'} [-Wsign-compare] + 536 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 551 | for(int imask=0;imask::size_type' {aka 'unsigned int'} [-Wsign-compare] + 594 | for(int itap=0;itap >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 638 | for(int isrf=0;isrf >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 674 | for(int isrf=0;isrf::size_type' {aka 'unsigned int'} [-Wsign-compare] + 888 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 893 | for(int iclass1=0;iclass1::size_type' {aka 'unsigned int'} [-Wsign-compare] + 896 | for(int iclass1=0;iclass1::size_type' {aka 'unsigned int'} [-Wsign-compare] + 898 | for(int iclass2=0;iclass2::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1130 | for(int itap=0;itap&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:375:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 375 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] + 385 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] + 410 | for(int isample=0;isample&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:44: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 287 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 300 | for(int iband=0;iband&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:27: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:890:23: required from here +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 210 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 272 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:903:16: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:23: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index::selectCol(int, std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:414:20: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 174 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:418:25: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1477 | for(int index=0;index&, int, int, int, int, int) [with T = short unsigned int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = short unsigned int]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:830:28: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 247 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 249 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 269 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 270 | for(int index=0;index&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = short unsigned int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 63%] Built target pkextractimg +make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +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] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 250 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 286 | if(verbose>1) + | ~~~~~~~^~ +[ 64%] Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -MF CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.d -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:171:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 171 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 185 | for(int isrf=0;isrf::size_type' {aka 'unsigned int'} [-Wsign-compare] + 208 | for(int iw=0;iw::size_type' {aka 'unsigned int'} [-Wsign-compare] + 213 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 216 | for(int isrf=0;isrf::size_type' {aka 'unsigned int'} [-Wsign-compare] + 231 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 237 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 275 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 276 | for(int iband=0;iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 279 | if(iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 286 | if(iband::size_type' {aka 'unsigned int'} [-Wsign-compare] + 332 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 335 | if(icol::size_type' {aka 'unsigned int'} [-Wsign-compare] + 342 | if(icol&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] + 507 | T maxValue; + | ^~~~~~~~ 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: + from /build/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:28: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] + 449 | T minValue; + | ^~~~~~~~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:153:25: required from here +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 127 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 157 | if(verbose>1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In 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/pkfilterascii.cc:155:23: required from here +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 210 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 272 | for(int icol=0;icol1) + | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::applyFwhm(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:328:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 328 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] + 340 | for(int index=0;index&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:219:49: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 287 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] + 300 | for(int iband=0;iband&, std::vector&) [with T = double]': +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:251:19: 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 'unsigned int'} [-Wsign-compare] + 452 | for(i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 455 | 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 'unsigned int'} [-Wsign-compare] + 479 | for(i=m_taps.size()/2;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 484 | for(int t=0;t::size_type' {aka 'unsigned int'} [-Wsign-compare] + 488 | for(i=input.size()-m_taps.size()/2;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 492 | 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 'unsigned int'} [-Wsign-compare] + 494 | if(i+t::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -5316,6 +5907,18 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:345:21: required from 'void filter::Filter::applyFwhm(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:33: required from here +/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 'unsigned int'} [-Wsign-compare] + 1477 | for(int index=0;index::selectCol(int, std::vector&) const [with T = double]': +/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:294:22: required from 'double filter::Filter::applySrf(const std::vector&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]' +/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:219:49: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 174 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~ 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)': @@ -5332,24 +5935,12 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:155:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 155 | pfnProgress(dfComplete,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:152:17: note: 'pszMessage' was declared here - 152 | const char* pszMessage; - | ^~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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/apps/pkcomposite.cc:26: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -[ 54%] Built target pkdumpimg -make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color= /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 'unsigned int'} [-Wsign-compare] 346 | for(int iextent=0;iextent::size_type' {aka 'unsigned int'} [-Wsign-compare] 484 | for(int iband=0;ibandGetFieldIndex(pszName); - | ^~~~~~ -/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:393:23: note: 'writeFeature' was declared here - 393 | OGRFeature *writeFeature; - | ^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:653:45: warning: 'writeLayer' may be used uninitialized [-Wmaybe-uninitialized] - 653 | if(writeLayer->CreateFeature( writeFeature ) != OGRERR_NONE ){ - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:359:21: note: 'writeLayer' was declared here - 359 | OGRLayer *writeLayer; - | ^~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:707:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 707 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -[ 55%] Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -[ 56%] Linking CXX executable pkgetmask -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -MF CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.d -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=1 /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:188:13: required from 'void ImgReaderGdal::readData(std::vector&, int, int, double, int, RESAMPLE) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:36: required from here @@ -5523,100 +6082,10 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -o pkgetmask -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-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 = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:1241:30: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -[ 57%] Linking CXX executable pkfillnodata -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -o pkfillnodata -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 57%] Built target pkgetmask -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkascii2img.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 58%] Building CXX object CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -MF CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.d -o CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc -[ 59%] Linking CXX executable pkstatogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -o pkstatogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:287:26: note: 'pfnProgress' was declared here - 287 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:288:15: note: 'pProgressData' was declared here - 288 | void* pProgressData; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:384:26: note: 'pfnProgress' was declared here - 384 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:385:15: note: 'pProgressData' was declared here - 385 | void* pProgressData; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pfnProgress' may be used uninitialized [-Wmaybe-uninitialized] - 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:886:24: note: 'pfnProgress' was declared here - 886 | GDALProgressFunc pfnProgress; - | ^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: 'pProgressData' may be used uninitialized [-Wmaybe-uninitialized] - 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:887:13: note: 'pProgressData' was declared here - 887 | void* pProgressData; - | ^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstat.cc:549:17: warning: 'icol' may be used uninitialized [-Wmaybe-uninitialized] - 549 | for(int icol;icol&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/apps/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 [-Wmaybe-uninitialized] + 665 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:324:15: note: 'pszMessage' was declared here + 324 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1582:52: warning: 'writePointFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1582 | writePointFeature->SetField(fieldname.c_str(),value); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1505:31: note: 'writePointFeature' was declared here + 1505 | OGRFeature *writePointFeature; + | ^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1724:43: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1724 | if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){ + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1252:25: note: 'writePolygonFeature' was declared here + 1252 | OGRFeature *writePolygonFeature; + | ^~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1061:54: warning: 'writePointFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1061 | writePointFeature->SetField(fieldname.c_str(),value); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:985:31: note: 'writePointFeature' was declared here + 985 | OGRFeature *writePointFeature; + | ^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1180:54: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] + 1180 | writePolygonFeature->SetField(fieldname[ivalue].c_str(),static_cast(theValue[ivalue])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:734:25: note: 'writePolygonFeature' was declared here + 734 | OGRFeature *writePolygonFeature; + | ^~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] 449 | T minValue; @@ -5680,36 +6159,55 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] 507 | T maxValue; | ^~~~~~~~ -[ 64%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -o pkextractimg -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -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] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ +/build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:125:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 125 | pfnProgress(dfComplete,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:122:15: note: 'pszMessage' was declared here + 122 | const char* pszMessage; + | ^~~~~~~~~~ [ 65%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -o pkdsm2shadow -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:260:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 260 | for(int icol=0;icol::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:391:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 391 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:399:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 399 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 404 | if(icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 455 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 456 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:458:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 458 | if(irowsize()-1) - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:465:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 465 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:466:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 466 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 468 | if(icol&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] @@ -5786,54 +6235,27 @@ 145 | for(int icol=0;icol&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, - from /build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:26: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -[ 65%] Built target pkdsm2shadow -[ 67%] Linking CXX executable pkcrop -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkcrop.dir/link.txt --verbose=1 -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 67%] Built target pkextractimg -make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend +[ 70%] Built target pkfilterdem +make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color= +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' +/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:24: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build +make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 68%] Building CXX object CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -MF CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.d -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 58 | if(index>=m_classes.size()) - | ~~~~~^~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] - 159 | for(int icol=0;icol&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, - from /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:24: + 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 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -5842,18 +6264,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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:24: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 148 | if(buffer.size()!=maxCol-minCol+1){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -o pkcrop -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 69%] Building CXX object CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -MF CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.d -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': @@ -5861,15 +6271,11 @@ 100 | const gsl_rng_type * T; | ^ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:25: + from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:30: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -5885,141 +6291,9 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:159:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 159 | for(int icol=0;icol::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:128:12: warning: variable 'doa' set but not used [-Wunused-but-set-variable] 128 | double doa=0; | ^~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:378:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 378 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] - 417 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 437 | for(int iclass=0;iclass >, std::allocator > > >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - 509 | if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 565 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 592 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 627 | for(int iname=0;iname >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 649 | if(testPixels.size()>iclass){ - | ~~~~~~~~~~~~~~~~~^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:659:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 659 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 670 | for(int isample=0;isample >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:709:32: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:117:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 117 | while(subset.size() >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:712:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:135:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 135 | for(int iFeature=0;iFeature::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(subset.size()==minFeatures) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:140:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | while(subset.size()>minFeatures){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::bruteForce(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:716:35: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:229:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 229 | if(subset.size()>=maxLevels) - | ~~~~~~~~~~~~~^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:235:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 235 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element - | ^~~~ -In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:31: -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::addFeature(std::vector >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:163:28: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:277:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 277 | if(subset.size()>=maxLevels) - | ~~~~~~~~~~~~~^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:283:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 283 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element - | ^~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::removeFeature(std::vector >&, CostFactory&, std::__cxx11::list&, int&, short int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:185:34: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:324:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 324 | if(subset.size()>maxLevels||subset.empty()){ - | ~~~~~~~~~~~~~^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:331:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 331 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element - | ^~~~ -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'void Vector2d::selectCols(const std::__cxx11::list&, Vector2d&) const [with T = float]': -/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:236:27: required from 'double FeatureSelector::bruteForce(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:716:35: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:161:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 161 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~ -/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 'unsigned int'} [-Wsign-compare] - 164 | for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:514:29: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow >::size_type' {aka 'unsigned int'} [-Wsign-compare] 307 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] 348 | for(int iactive=0;iactive >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 58 | if(index>=m_classes.size()) - | ~~~~~^~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': -/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] - 159 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] 367 | for(short iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] 384 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 295 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] - 336 | for(int iactive=0;iactive::size_type' {aka 'unsigned int'} [-Wsign-compare] - 355 | for(short iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 360 | for(short iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 372 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 394 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 411 | if(ibag >, std::allocator > > >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] - 451 | if((mapit->second).size()::size_type' {aka 'unsigned int'} and 'short int' [-Wsign-compare] - 474 | while(balance_opt.size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] - 488 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 514 | for(int isample=0;isample::size_type' {aka 'unsigned int'} and 'short int' [-Wsign-compare] - 549 | while(bagSize_opt.size() >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 648 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 754 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:822:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 822 | for(int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 844 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); - | ~~~~~~~~~~~~~~~~~~~ - | | - | GIntBig {aka long long int} -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:870:17: warning: unused variable 'normBag' [-Wunused-variable] - 870 | float normBag=0; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:304:14: warning: variable 'readLayer' set but not used [-Wunused-but-set-variable] - 304 | OGRLayer *readLayer; - | ^~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:311:8: warning: variable 'maskIsVector' set but not used [-Wunused-but-set-variable] - 311 | bool maskIsVector=false; - | ^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:343:16: warning: unused variable 'nactive' [-Wunused-variable] - 343 | unsigned int nactive=0; - | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:125:14: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 125 | pfnProgress(dfComplete,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:122:15: note: 'pszMessage' was declared here - 122 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:806:25: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 471 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:481:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 481 | if(fields.size()GetFieldCount()){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] - 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:406:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 406 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1014 | for(int iband=0;iband::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:33: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] - 536 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 551 | for(int imask=0;imask::size_type' {aka 'unsigned int'} [-Wsign-compare] 1160 | for(int iactive=0;iactive::size_type' {aka 'unsigned int'} [-Wsign-compare] - 594 | for(int itap=0;itap >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 638 | for(int isrf=0;isrf >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 674 | for(int isrf=0;isrf::size_type' {aka 'unsigned int'} [-Wsign-compare] - 888 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 893 | for(int iclass1=0;iclass1::size_type' {aka 'unsigned int'} [-Wsign-compare] - 896 | for(int iclass1=0;iclass1::size_type' {aka 'unsigned int'} [-Wsign-compare] - 898 | for(int iclass2=0;iclass2::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1130 | for(int itap=0;itap::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1164:22: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -6275,6 +6386,12 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:25: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' /build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:897:31: required from here @@ -6347,9 +6464,196 @@ /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 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 58 | if(index>=m_classes.size()) + | ~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] + 159 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 295 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] + 336 | for(int iactive=0;iactive::size_type' {aka 'unsigned int'} [-Wsign-compare] + 355 | for(short iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 360 | for(short iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] + 372 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 394 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 411 | if(ibag >, std::allocator > > >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + 451 | if((mapit->second).size()::size_type' {aka 'unsigned int'} and 'short int' [-Wsign-compare] + 474 | while(balance_opt.size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 488 | for(int isample=trainingPixels[iclass].size();isample&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:514:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 514 | for(int isample=0;isample&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:549:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'short int' [-Wsign-compare] + 549 | while(bagSize_opt.size() >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 648 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 754 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:822:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 822 | for(int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 844 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); + | ~~~~~~~~~~~~~~~~~~~ + | | + | GIntBig {aka long long int} +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:870:17: warning: unused variable 'normBag' [-Wunused-variable] + 870 | float normBag=0; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:304:14: warning: variable 'readLayer' set but not used [-Wunused-but-set-variable] + 304 | OGRLayer *readLayer; + | ^~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:311:8: warning: variable 'maskIsVector' set but not used [-Wunused-but-set-variable] + 311 | bool maskIsVector=false; + | ^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:343:16: warning: unused variable 'nactive' [-Wunused-variable] + 343 | unsigned int nactive=0; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:806:25: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 471 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:481:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 481 | if(fields.size()GetFieldCount()){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] + 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/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 [-Wmaybe-uninitialized] + 726 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:722:15: note: 'pszMessage' was declared here + 722 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:33: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize @@ -6382,25 +6693,124 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:129:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 129 | for(int ifield=0;ifield::size_type' {aka 'unsigned int'} [-Wsign-compare] - 143 | for(int ifield=0;ifield >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 54 | for(index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 58 | if(index>=m_classes.size()) + | ~~~~~^~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': +/build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 157 | for(int irow=0;irow::size_type' {aka 'unsigned int'} [-Wsign-compare] + 159 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 378 | for(int ifile=0;ifile::size_type' {aka 'unsigned int'} [-Wsign-compare] + 417 | for(int ipair=0;ipair >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 437 | for(int iclass=0;iclass >, std::allocator > > >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] + 509 | if((mapit->second).size(), unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 565 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 592 | for(int isample=0;isample >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 627 | for(int iname=0;iname >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 649 | if(testPixels.size()>iclass){ + | ~~~~~~~~~~~~~~~~~^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:659:30: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 659 | for(int isample=0;isample, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] + 670 | for(int isample=0;isample >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:709:32: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:117:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 117 | while(subset.size() >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:712:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:135:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 135 | for(int iFeature=0;iFeature::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(subset.size()==minFeatures) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:140:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | while(subset.size()>minFeatures){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::bruteForce(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:716:35: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:229:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 229 | if(subset.size()>=maxLevels) + | ~~~~~~~~~~~~~^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:235:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 235 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element + | ^~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::addFeature(std::vector >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:163:28: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:277:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 277 | if(subset.size()>=maxLevels) + | ~~~~~~~~~~~~~^~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:283:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 283 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element + | ^~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::removeFeature(std::vector >&, CostFactory&, std::__cxx11::list&, int&, short int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:185:34: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:33: required from here +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:324:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 324 | if(subset.size()>maxLevels||subset.empty()){ + | ~~~~~~~~~~~~~^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:331:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 331 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element + | ^~~~ +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'void Vector2d::selectCols(const std::__cxx11::list&, Vector2d&) const [with T = float]': +/build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:236:27: required from 'double FeatureSelector::bruteForce(std::vector >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:716:35: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:161:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 161 | for(int irow=0;irowsize();++irow){ + | ~~~~^~~~~~~~~~~~~ +/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 'unsigned int'} [-Wsign-compare] + 164 | for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:514:29: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/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 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': +/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] + 100 | const gsl_rng_type * T; + | ^ +In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, + from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31: +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function 'int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:129:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 129 | for(int ifield=0;ifield::size_type' {aka 'unsigned int'} [-Wsign-compare] + 143 | for(int ifield=0;ifield::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' /usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' @@ -6477,28 +6925,6 @@ /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >, std::allocator > > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow&, int, double, double, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In member function 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool)': -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:250:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 250 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 286 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:171:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 171 | for(int icol=0;icol >::size_type' {aka 'unsigned int'} [-Wsign-compare] 314 | for(int iband=0;iband >&, const std::vector&, double, double, bool, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:23: required from here -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 210 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 272 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:185:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 185 | for(int isrf=0;isrf&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const std::string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:24: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 916 | 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:110: 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 'unsigned int'} [-Wsign-compare] - 1303 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1305 | if (j < 0 || j >= y.size()) - | ~~^~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1316 | if(i>=x.size()){ - | ~^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1326 | if(j>=y.size()){ - | ~^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:208:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 208 | for(int iw=0;iw&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:251:31: required from here @@ -6629,26 +7016,15 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/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:114: 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 'unsigned int'} [-Wsign-compare] - 1218 | for(int isample=0;isample::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:213:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 213 | for(int icol=0;icol::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 216 | for(int isrf=0;isrf&, int, int, int, int) [with T = double]': @@ -6657,54 +7033,29 @@ /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 'unsigned int'} and 'int' [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:231:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 231 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 237 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 275 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 276 | for(int iband=0;iband&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const std::string&) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:24: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1027:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1027 | 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 'unsigned int'} and 'int' [-Wsign-compare] - 1037 | if(output.size()<=binY){ - | ~~~~~~~~~~~~~^~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:279:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 279 | if(iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 286 | if(iband::size_type' {aka 'unsigned int'} [-Wsign-compare] - 332 | for(int icol=0;icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 335 | if(icol::size_type' {aka 'unsigned int'} [-Wsign-compare] - 342 | if(icol&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 74%] Built target pkascii2img -make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend +[ 80%] Built target pkcomposite +make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkkalman.dir/DependInfo.cmake --color= +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkreclassogr.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build +make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 75%] Building CXX object CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -MF CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.d -o CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc +[ 81%] Building CXX object CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -MF CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.d -o CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.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/imageclasses/ImgReaderOgr.h:31, from /build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:23: @@ -6712,16 +7063,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -6743,38 +7084,45 @@ /build/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:154:21: warning: unused variable 'poFDefn' [-Wunused-variable] 154 | OGRFeatureDefn *poFDefn = ogrWriter.getLayer()->GetLayerDefn(); | ^~~~~~~ +[ 82%] Linking CXX executable pkascii2ogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkascii2ogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -o pkascii2ogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-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 [-Wmaybe-uninitialized] + 752 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:747:15: note: 'pszMessage' was declared here + 747 | const char* pszMessage; + | ^~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:740:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 740 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:735:15: note: 'pszMessage' was declared here + 735 | const char* pszMessage; + | ^~~~~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 75%] Built target pkstat -make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend +[ 82%] Built target pkascii2ogr +make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkann.dir/DependInfo.cmake --color= +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkkalman.dir/DependInfo.cmake --color= make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build +make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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 = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 76%] Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkann.dir/src/apps/pkann.cc.o -MF CMakeFiles/pkann.dir/src/apps/pkann.cc.o.d -o CMakeFiles/pkann.dir/src/apps/pkann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkann.cc -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 84%] Building CXX object CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -MF CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.d -o CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkkalman.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/apps/pkkalman.cc:24: /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:244:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 244 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:240:17: note: 'pszMessage' was declared here + 240 | const char* pszMessage; + | ^~~~~~~~~~ In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:25: /build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setScale(double, int)': @@ -6791,13 +7139,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/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 [-Wmaybe-uninitialized] - 726 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:722:15: note: 'pszMessage' was declared here - 722 | const char* pszMessage; - | ^~~~~~~~~~ /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:369:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 369 | for(int tindex=0;tindex&, int, int, double, int, RESAMPLE) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:293:11: required from 'void ImgReaderGdal::readData(std::vector&, double, int, RESAMPLE) [with T = double]' /build/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:483:33: required from here @@ -6937,9 +7284,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 'unsigned int'} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); @@ -6948,30 +7292,45 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:375:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 375 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] - 385 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] - 410 | for(int isample=0;isample&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:44: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 287 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 300 | for(int iband=0;iband&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:27: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 148 | if(buffer.size()!=maxCol-minCol+1){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +[ 85%] Linking CXX executable pkreclassogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclassogr.dir/link.txt --verbose=1 +[ 86%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -o pkreclassogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o -o pkreclass -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 86%] Built target pkreclassogr +make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkann.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +[ 87%] Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkann.dir/src/apps/pkann.cc.o -MF CMakeFiles/pkann.dir/src/apps/pkann.cc.o.d -o CMakeFiles/pkann.dir/src/apps/pkann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkann.cc +[ 87%] Built target pkreclass +make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkannogr.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +[ 88%] Building CXX object CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -MF CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.d -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc +[ 89%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -o pkoptsvm -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 89%] Built target pkoptsvm +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend +make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +[ 90%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o +/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -MF CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.d -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc 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)': @@ -7036,14 +7395,19 @@ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:810:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 810 | for(int iband=0;iband::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 76 | if(m_scale.size()!=nrOfBand()){//initialize + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:816:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 816 | for(int ic=0;ic >&, const std::vector&, double, double, bool, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:890:23: required from here -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 210 | for(int icol=0;icol::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 85 | if(m_offset.size()!=nrOfBand()){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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] 1245 | for(int iout=0;iout1) - | ~~~~~~~^~ /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 'unsigned int'} [-Wsign-compare] 1627 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] - 272 | for(int icol=0;icol1) - | ~~~~~~~^~ /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function 'void FANN::neural_net::get_layer_array(std::vector)': /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2781 | for(int ilayer=0;ilayer::Vector2d(const Vector2d&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:903:16: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow >::size_type' {aka 'unsigned int'} [-Wsign-compare] 253 | for(int ifile=0;ifile >::size_type' {aka 'unsigned int'} [-Wsign-compare] 352 | for(int iclass=0;iclass >::size_type' {aka 'unsigned int'} [-Wsign-compare] 364 | if(ibag::size_type' {aka 'unsigned int'} [-Wsign-compare] 1137 | for(int iactive=0;iactive&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] + 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; + | ^~~~~~~ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': /build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1141:22: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -7271,174 +7613,6 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:887:31: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:963:22: 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 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1121:34: 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 'unsigned int'} and 'int' [-Wsign-compare] - 148 | if(buffer.size()!=maxCol-minCol+1){ - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1124:30: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:33: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 80%] Linking CXX executable pkascii2ogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkascii2ogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -o pkascii2ogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 81%] Linking CXX executable pkfilterdem -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterdem.dir/link.txt --verbose=1 -[ 81%] Built target pkreclassogr -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -o pkfilterdem -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 82%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -MF CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.d -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 82%] 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-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkregann.dir/DependInfo.cmake --color= -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 84%] Building CXX object CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -/usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/base -I/usr/include/gdal -I/build/pktools-2.6.7.6+ds/src -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -MD -MT CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -MF CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.d -o CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -c /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc -/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 [-Wmaybe-uninitialized] - 665 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:324:15: note: 'pszMessage' was declared here - 324 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1582:52: warning: 'writePointFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1582 | writePointFeature->SetField(fieldname.c_str(),value); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1505:31: note: 'writePointFeature' was declared here - 1505 | OGRFeature *writePointFeature; - | ^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1724:43: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1724 | if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){ - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1252:25: note: 'writePolygonFeature' was declared here - 1252 | OGRFeature *writePolygonFeature; - | ^~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1061:54: warning: 'writePointFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1061 | writePointFeature->SetField(fieldname.c_str(),value); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:985:31: note: 'writePointFeature' was declared here - 985 | OGRFeature *writePointFeature; - | ^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1180:54: warning: 'writePolygonFeature' may be used uninitialized [-Wmaybe-uninitialized] - 1180 | writePolygonFeature->SetField(fieldname[ivalue].c_str(),static_cast(theValue[ivalue])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:734:25: note: 'writePolygonFeature' was declared here - 734 | OGRFeature *writePolygonFeature; - | ^~~~~~~~~~~~~~~~~~~ -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 'unsigned int'} and 'int' [-Wsign-compare] - 76 | if(m_scale.size()!=nrOfBand()){//initialize - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function 'void ImgRasterGdal::setOffset(double, int)': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 85 | if(m_offset.size()!=nrOfBand()){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /build/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, - from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29: -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In static member function 'static gsl_rng* statfactory::StatFactory::getRandomGenerator(long unsigned int)': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable 'T' [-Wunused-variable] - 100 | const gsl_rng_type * T; - | ^ -In file included from /build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, - from /build/pktools-2.6.7.6+ds/src/apps/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 std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] - 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; - | ^~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' In file included from /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:30: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -7447,7 +7621,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 'unsigned int'} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ -[ 84%] Built target pkfilterdem /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function 'std::ostream& confusionmatrix::operator<<(std::ostream&, const ConfusionMatrix&)': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 157 | for(int irow=0;irow >::size_type' {aka 'unsigned int'} [-Wsign-compare] 241 | for(int ifile=0;ifile&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:887:31: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:284:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 284 | for(int iactive=0;iactive::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] 301 | for(int iclass=0;iclass::size_type' {aka 'unsigned int'} [-Wsign-compare] 318 | for(int ipair=0;ipair&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = short int]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:963:22: 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 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 137 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 138 | if(m_scale.size()>band) + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 140 | if(m_offset.size()>band) + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 146 | if(buffer.size()!=maxCol-minCol+1) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 149 | if(m_scale.size()>band||m_offset.size()>band){ + | ~~~~~~~~~~~~~~~^~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 150 | for(int index=0;index&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = char]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1121:34: 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 'unsigned int'} and 'int' [-Wsign-compare] + 148 | if(buffer.size()!=maxCol-minCol+1){ + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from 'bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = float]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1124:30: required from here +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:340:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 340 | for(int iclass=0;iclass::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:33: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]': /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:791:32: required from here /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] @@ -7677,87 +7922,22 @@ /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable 'poPoint' [-Wunused-variable] 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector&, int, double, double, bool) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:153:25: required from here -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:127:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 127 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:157:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 157 | if(verbose>1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In 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/pkfilterascii.cc:155:23: required from here -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 210 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 272 | for(int icol=0;icol1) - | ~~~~~~~^~ -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of 'void filter::Filter::applyFwhm(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:328:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 328 | for(int index=0;index::size_type' {aka 'unsigned int'} [-Wsign-compare] - 340 | for(int index=0;index&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:219:49: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 287 | for(int isample=0;isample::size_type' {aka 'unsigned int'} [-Wsign-compare] - 300 | for(int iband=0;iband&, std::vector&) [with T = double]': -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:251:19: 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 'unsigned int'} [-Wsign-compare] - 452 | for(i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 455 | 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 'unsigned int'} [-Wsign-compare] - 479 | for(i=m_taps.size()/2;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 484 | for(int t=0;t::size_type' {aka 'unsigned int'} [-Wsign-compare] - 488 | for(i=input.size()-m_taps.size()/2;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 492 | 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 'unsigned int'} [-Wsign-compare] - 494 | if(i+t::Vector2d(const Vector2d&) [with T = float]': -/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' -/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' -/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' -/build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 88 | for(int irow=0;irow&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short int]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = float]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(T&, int, int, int) [with T = double]': +/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:114:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | poBand->RasterIO(GF_Read,col,row,1,1,&value,1,1,getGDALDataType(),0,0); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: @@ -7775,10 +7955,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 'unsigned int'} and 'int' [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of 'Vector2d::Vector2d(const Vector2d&) [with T = float]': +/usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' +/usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' +/usr/include/c++/12/bits/stl_vector.h:1281:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; value_type = Vector2d]' +/build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:33: required from here +/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 88 | for(int irow=0;irow&, const OGRFieldType&, const std::string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]': /build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable 'poPoint' [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ +[ 91%] Linking CXX executable pkfssvm +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfssvm.dir/link.txt --verbose=1 In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:27: /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function 'int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const': /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -7797,6 +7987,7 @@ /build/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:128:12: warning: variable 'doa' set but not used [-Wunused-but-set-variable] 128 | double doa=0; | ^~~ +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -o pkfssvm -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo In file included from /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:31: /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function 'void FANN::training_data::set_train_data(const std::vector > >&, unsigned int)': /build/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] @@ -7924,8 +8115,6 @@ /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:349:16: warning: variable 'totalTestSamples' set but not used [-Wunused-but-set-variable] 349 | unsigned int totalTestSamples=0; | ^~~~~~~~~~~~~~~~ -[ 85%] Linking CXX executable pkreclass -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclass.dir/link.txt --verbose=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:32: required from here @@ -7954,7 +8143,6 @@ /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:262:30: warning: variable 'lit2' set but not used [-Wunused-but-set-variable] 262 | std::list::iterator lit2=lit;//start searching from next element | ^~~~ -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o -o pkreclass -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h: In instantiation of 'double FeatureSelector::addFeature(std::vector >&, CostFactory&, std::__cxx11::list&, short int) [with T = float]': /build/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:163:28: required from 'double FeatureSelector::floating(std::vector >&, CostFactory&, std::__cxx11::list&, int, double, short int) [with T = float]' /build/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:668:33: required from here @@ -7988,6 +8176,11 @@ /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 'unsigned int'} [-Wsign-compare] 164 | for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]' /usr/include/c++/12/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; allocator_type = std::allocator >]' @@ -7996,6 +8189,11 @@ /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 'unsigned int'} [-Wsign-compare] 88 | for(int irow=0;irow Vector2d::operator=(const Vector2d&) [with T = float]': /usr/include/c++/12/bits/stl_algobase.h:910:11: required from 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = Vector2d*; _Tp = Vector2d; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]' /usr/include/c++/12/bits/stl_algobase.h:968:21: required from 'void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = Vector2d*; _Tp = Vector2d]' @@ -8006,8 +8204,12 @@ /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 'unsigned int'} [-Wsign-compare] 98 | for(int irow=0;irow&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from 'void ImgReaderGdal::readData(std::vector&, int, int) [with T = double]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:23: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 137 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 138 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 140 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 146 | if(buffer.size()!=maxCol-minCol+1) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 149 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 150 | for(int index=0;index::selectCol(int, std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:414:20: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 174 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of 'void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:418:25: required from 'void filter::Filter::applyFwhm(const std::vector&, const Vector2d&, const std::vector&, const std::vector&, const std::string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:33: required from here -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1477 | for(int index=0;index&, int, int, int, int, int) [with T = short unsigned int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:224:16: required from 'void ImgReaderGdal::readDataBlock(Vector2d&, int, int, int, int, int) [with T = short unsigned int]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:830:28: required from here -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 247 | if(m_scale.size()>band) - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 249 | if(m_offset.size()>band) - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 269 | if(m_scale.size()>band||m_offset.size()>band){ - | ~~~~~~~~~~~~~~~^~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 270 | for(int index=0;index&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:345:21: required from 'void filter::Filter::applyFwhm(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:33: required from here -/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 'unsigned int'} [-Wsign-compare] - 1477 | for(int index=0;index::selectCol(int, std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/Filter.h:294:22: required from 'double filter::Filter::applySrf(const std::vector&, const Vector2d&, const Vector2d&, const std::string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]' -/build/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:219:49: required from here -/build/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 174 | for(int irow=0;irowsize();++irow){ - | ~~~~^~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymin(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:449:5: warning: 'minValue' may be used uninitialized [-Wmaybe-uninitialized] - 449 | T minValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In member function 'T statfactory::StatFactory::mymax(const std::vector&) const [with T = double]': -/build/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:507:5: warning: 'maxValue' may be used uninitialized [-Wmaybe-uninitialized] - 507 | T maxValue; - | ^~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:611:18: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 611 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:606:17: note: 'pszMessage' was declared here - 606 | const char* pszMessage; - | ^~~~~~~~~~ +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 94%] Built target pksvmogr +make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 94%] Built target pksvm 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] @@ -8116,9 +8236,6 @@ /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 286 | if(verbose>1) | ~~~~~~~^~ -[ 86%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o -o pkcomposite -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-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/algorithms/myfann_cpp.h:92, from /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:25: @@ -8246,11 +8363,6 @@ /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:137:16: warning: variable 'inputSize' set but not used [-Wunused-but-set-variable] 137 | unsigned int inputSize=0; | ^~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 86%] Built target pkcomposite -[ 87%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -o pkfssvm -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In instantiation of 'unsigned int FileReaderAscii::readData(std::vector >&, const std::vector&, double, double, bool, bool) [with T = float]': /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:143:23: required from here /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -8265,119 +8377,50 @@ /build/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:286:19: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 286 | if(verbose>1) | ~~~~~~~^~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 87%] Built target pkfssvm -[ 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -o pkoptsvm -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 88%] Built target pkoptsvm -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1132:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 1132 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:734:17: note: 'pszMessage' was declared here - 734 | const char* pszMessage; - | ^~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:768:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] 768 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:722:15: note: 'pszMessage' was declared here 722 | const char* pszMessage; | ^~~~~~~~~~ -[ 89%] Linking CXX executable pksvmogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksvmogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -o pksvmogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 89%] Built target pksvmogr -[ 90%] Linking CXX executable pkextractogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -o pkextractogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function 'bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = double]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | poBand->RasterIO(GF_Write,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In member function 'void ImgReaderGdal::readDataBlock(std::vector&, int, int, int, int, int) [with T = short unsigned int]': -/build/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of 'CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 90%] Built target pkextractogr -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:752:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 752 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pksvm.cc:747:15: note: 'pszMessage' was declared here - 747 | const char* pszMessage; - | ^~~~~~~~~~ -[ 91%] Linking CXX executable pkkalman +[ 95%] Linking CXX executable pkkalman /usr/bin/cmake -E cmake_link_script CMakeFiles/pkkalman.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -o pkkalman -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc: In function 'int main(int, char**)': +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:1132:20: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] + 1132 | pfnProgress(progress,pszMessage,pProgressArg); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/pktools-2.6.7.6+ds/src/apps/pkann.cc:734:17: note: 'pszMessage' was declared here + 734 | const char* pszMessage; + | ^~~~~~~~~~ make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 91%] Built target pkkalman -[ 92%] Linking CXX executable pkfsann -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -o pkfsann -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 92%] Built target pkfsann +[ 95%] Built target pkkalman /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:258:15: warning: array subscript 3 is above array bounds of 'unsigned int [3]' [-Warray-bounds] 258 | layers[3]=noutput; | ~~~~~~~~^ /build/pktools-2.6.7.6+ds/src/apps/pkregann.cc:254:20: note: while referencing 'layers' 254 | unsigned int layers[3]; | ^~~~~~ -[ 93%] Linking CXX executable pkannogr -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkannogr.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -o pkannogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 93%] Built target pkannogr -[ 94%] Linking CXX executable pkregann +[ 96%] Linking CXX executable pkregann /usr/bin/cmake -E cmake_link_script CMakeFiles/pkregann.dir/link.txt --verbose=1 +[ 97%] Linking CXX executable pkfsann +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -o pkregann -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -o pkfsann -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 94%] Built target pkregann -[ 95%] Linking CXX executable pkann -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkann.dir/src/apps/pkann.cc.o -o pkann -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 95%] Built target pkann -[ 96%] Linking CXX executable pkstatascii -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -o pkstatascii -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo -make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 96%] Built target pkstatascii -[ 97%] Linking CXX executable pksvm -/usr/bin/cmake -E cmake_link_script CMakeFiles/pksvm.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -o pksvm -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 97%] Built target pkregann make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 97%] Built target pksvm -[ 98%] Linking CXX executable pkfilterascii -/usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterascii.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -o pkfilterascii -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 97%] Built target pkfsann +[ 98%] Linking CXX executable pkannogr +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkannogr.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -o pkannogr -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 98%] Built target pkfilterascii -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc: In function 'int main(int, char**)': -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:613:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 613 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:609:17: note: 'pszMessage' was declared here - 609 | const char* pszMessage; - | ^~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:668:16: warning: 'pszMessage' may be used uninitialized [-Wmaybe-uninitialized] - 668 | pfnProgress(progress,pszMessage,pProgressArg); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:664:17: note: 'pszMessage' was declared here - 664 | const char* pszMessage; - | ^~~~~~~~~~ -[100%] 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 -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -o pkfilter -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo +[ 98%] Built target pkannogr +[100%] Linking CXX executable pkann +/usr/bin/cmake -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkann.dir/src/apps/pkann.cc.o -o pkann -Wl,-rpath,/build/pktools-2.6.7.6+ds/obj-i686-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/i386-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/i386-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[100%] Built target pkfilter +[100%] Built target pkann make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles 0 make[2]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' @@ -8387,34 +8430,34 @@ dh_testroot -O--buildsystem=cmake dh_prep -O--buildsystem=cmake dh_auto_install -O--buildsystem=cmake - cd obj-i686-linux-gnu && make -j16 install DESTDIR=/build/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-i686-linux-gnu && make -j7 install DESTDIR=/build/pktools-2.6.7.6\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' /usr/bin/cmake -S/build/pktools-2.6.7.6+ds -B/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -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[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color= +make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend +make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/fileClasses.dir/DependInfo.cmake --color= -make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/base.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-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-i686-linux-gnu' +[ 2%] Built target base make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build -[ 2%] Built target base make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-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-i686-linux-gnu' @@ -8432,323 +8475,323 @@ make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend +make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend +make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkinfo.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcrop.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake --color= -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksetmask.dir/DependInfo.cmake --color= make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.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-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdumpimg.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build +make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkinfo.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pksetmask.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build -make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkdiff.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' make -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build -make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkinfo.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkcreatect.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-i686-linux-gnu' +make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pksetmask.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkcrop.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkdumpogr.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkcreatect.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pksieve.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 25%] Built target pkinfo -[ 27%] Built target pkdiff -[ 29%] Built target pkcreatect -[ 31%] Built target pkcrop -[ 35%] Built target pkgetmask -[ 36%] Built target pksetmask -[ 38%] Built target pkdumpogr +[ 25%] Built target pksetmask +[ 27%] Built target pkinfo +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend +[ 29%] Built target pkdiff +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= +make -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend +[ 31%] Built target pkgetmask +[ 34%] Built target pkcreatect +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksieve.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend -[ 40%] Built target pksieve +[ 36%] Built target pkcrop +[ 38%] Built target pkdumpimg make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake --color= make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend +make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatascii.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend -[ 42%] Built target pkdumpimg -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkegcs.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= +make[3]: Nothing to be done for 'CMakeFiles/pkdumpogr.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend +make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.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-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.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-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkstat.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkstatascii.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pkstatprofile.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkegcs.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build -[ 44%] Built target pkstat -[ 46%] Built target pkstatogr -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 40%] Built target pkdumpogr +[ 42%] Built target pksieve +[ 46%] Built target pkstat +[ 46%] Built target pkstatascii +[ 48%] Built target pkstatogr +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.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-i686-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-i686-linux-gnu' -make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build -make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build -[ 48%] Built target pkstatascii +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend -[ 51%] Built target pkegcs +[ 51%] Built target pkstatprofile +[ 53%] Built target pkegcs make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfilter.dir/DependInfo.cmake --color= make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend -[ 55%] Built target pkextractimg -[ 55%] Built target pkstatprofile -make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfilterdem.dir/DependInfo.cmake --color= +make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfilterascii.dir/DependInfo.cmake --color= make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 57%] Built target pkextractogr +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build +make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build -make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkfilter.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build +[ 55%] Built target pkextractimg +[ 57%] Built target pkextractogr +[ 59%] Built target pkfillnodata +make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Nothing to be done for 'CMakeFiles/pkfilterascii.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkcomposite.dir/DependInfo.cmake --color= make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend +[ 61%] Built target pkfilterdem make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color= make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend +[ 63%] Built target pkfilter +[ 65%] Built target pkdsm2shadow +make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkascii2img.dir/DependInfo.cmake --color= -make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksvm.dir/DependInfo.cmake --color= make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 68%] Built target pkfilterascii +make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build -[ 59%] Built target pkfillnodata -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfssvm.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-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-i686-linux-gnu' -make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build -make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build -make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfilterdem.dir/build'. +make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend +make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfilterascii.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-i686-linux-gnu' -make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-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-i686-linux-gnu' +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkfilter.dir/build'. +make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkpolygonize.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build +make[3]: Nothing to be done for 'CMakeFiles/pkascii2img.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkascii2img.dir/build'. +make[3]: Nothing to be done for 'CMakeFiles/pksvm.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 61%] Built target pkfilterdem -[ 63%] Built target pkfilter -[ 65%] Built target pkdsm2shadow -[ 68%] Built target pkcomposite -[ 70%] Built target pkfilterascii -make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend +[ 70%] Built target pkcomposite +make -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/build +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build +[ 72%] Built target pkpolygonize make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfssvm.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend +make[3]: Nothing to be done for 'CMakeFiles/pkfssvm.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 74%] Built target pkascii2img make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= +make[3]: Nothing to be done for 'CMakeFiles/pkoptsvm.dir/build'. +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +[ 76%] Built target pksvm make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend -[ 72%] Built target pkpolygonize make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend -[ 74%] Built target pkascii2img -[ 76%] Built target pksvmogr make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkreclass.dir/DependInfo.cmake --color= -[ 78%] Built target pksvm +[ 78%] Built target pksvmogr make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend +[ 80%] Built target pkfssvm make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkreclassogr.dir/DependInfo.cmake --color= make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend +[ 82%] Built target pkoptsvm make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkkalman.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkann.dir/DependInfo.cmake --color= make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkannogr.dir/DependInfo.cmake --color= -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build +make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= +make[3]: Nothing to be done for 'CMakeFiles/pkascii2ogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkoptsvm.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-i686-linux-gnu' -make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkascii2ogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' +make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build -make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Nothing to be done for 'CMakeFiles/pkreclass.dir/build'. -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make[3]: Nothing to be done for 'CMakeFiles/pkannogr.dir/build'. make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' -[ 80%] Built target pkfssvm -make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build -[ 82%] Built target pkoptsvm [ 85%] Built target pkascii2ogr -[ 87%] Built target pkreclassogr -[ 89%] Built target pkkalman +[ 87%] Built target pkreclass +make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' -[ 91%] Built target pkreclass +cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/depend +[ 89%] Built target pkreclassogr +[ 91%] Built target pkkalman +[ 93%] Built target pkann make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' cd /build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu /build/pktools-2.6.7.6+ds/obj-i686-linux-gnu/CMakeFiles/pkregann.dir/DependInfo.cmake --color= -[ 93%] Built target pkann -[ 97%] Built target pkannogr -[ 97%] Built target pkfsann +[ 95%] Built target pkannogr +make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-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-i686-linux-gnu' make[3]: Leaving directory '/build/pktools-2.6.7.6+ds/obj-i686-linux-gnu' make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build +[ 97%] Built target pkfsann make[3]: Entering directory '/build/pktools-2.6.7.6+ds/obj-i686-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-i686-linux-gnu' @@ -8895,7 +8938,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_i386) -+++ dpkg-gensymbolsENzrI9 2024-05-25 04:10:11.515064773 -1200 ++++ dpkg-gensymbolsuHOOA_ 2023-04-23 23:51:27.933006146 +1400 @@ -1,7 +1,7 @@ libalgorithms.so.1 #PACKAGE# #MINVER# * Build-Depends-Package: pktools-dev @@ -9154,7 +9197,7 @@ _ZTI11ONE_CLASS_Q@Base 2.5.2 dpkg-gensymbols: warning: debian/libfileclasses1/DEBIAN/symbols doesn't match completely debian/libfileclasses1.symbols --- debian/libfileclasses1.symbols (libfileclasses1_2.6.7.6_i386) -+++ dpkg-gensymbolsJ_b1g5 2024-05-25 04:10:11.727064773 -1200 ++++ dpkg-gensymbolshvXyUB 2023-04-23 23:51:28.304992779 +1400 @@ -17,7 +17,7 @@ _ZN4arma5DatumIdE3nanE@Base 2.6.7.3 (subst|arch=!amd64)_ZN4arma5DatumI{qptrdiff}E3nanE@Base 2.6.7.6 @@ -9166,7 +9209,7 @@ (optional=templinst)_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED2Ev@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_i386) -+++ dpkg-gensymbolsV6Xst1 2024-05-25 04:10:11.875064773 -1200 ++++ dpkg-gensymbolsMGb3K9 2023-04-23 23:51:28.536984443 +1400 @@ -130,38 +130,38 @@ _ZNK13ImgRasterGdal9geo2imageEddRdS0_@Base 2.6.6 _ZNK13ImgRasterGdal9image2geoEddRdS0_@Base 2.6.6 @@ -9231,17 +9274,17 @@ dpkg-gencontrol: warning: Depends field of package libbase1: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -O--buildsystem=cmake dh_builddeb -O--buildsystem=cmake -dpkg-deb: building package 'libalgorithms1-dbgsym' in '../libalgorithms1-dbgsym_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'libbase1-dbgsym' in '../libbase1-dbgsym_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-4_i386.deb'. dpkg-deb: building package 'pktools-dev' in '../pktools-dev_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'libimageclasses1-dbgsym' in '../libimageclasses1-dbgsym_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'libfileclasses1-dbgsym' in '../libfileclasses1-dbgsym_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'libalgorithms1-dbgsym' in '../libalgorithms1-dbgsym_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'libfileclasses1' in '../libfileclasses1_2.6.7.6+ds-4_i386.deb'. +dpkg-deb: building package 'libimageclasses1' in '../libimageclasses1_2.6.7.6+ds-4_i386.deb'. dpkg-deb: building package 'libalgorithms1' in '../libalgorithms1_2.6.7.6+ds-4_i386.deb'. -dpkg-deb: building package 'pktools' in '../pktools_2.6.7.6+ds-4_i386.deb'. dpkg-deb: building package 'libbase1' in '../libbase1_2.6.7.6+ds-4_i386.deb'. -dpkg-deb: building package 'libbase1-dbgsym' in '../libbase1-dbgsym_2.6.7.6+ds-4_i386.deb'. dpkg-deb: building package 'pktools-dbgsym' in '../pktools-dbgsym_2.6.7.6+ds-4_i386.deb'. -dpkg-deb: building package 'libfileclasses1-dbgsym' in '../libfileclasses1-dbgsym_2.6.7.6+ds-4_i386.deb'. -dpkg-deb: building package 'libimageclasses1' in '../libimageclasses1_2.6.7.6+ds-4_i386.deb'. -dpkg-deb: building package 'libimageclasses1-dbgsym' in '../libimageclasses1-dbgsym_2.6.7.6+ds-4_i386.deb'. -dpkg-deb: building package 'libfileclasses1' in '../libfileclasses1_2.6.7.6+ds-4_i386.deb'. dpkg-genbuildinfo --build=binary -O../pktools_2.6.7.6+ds-4_i386.buildinfo dpkg-genchanges --build=binary -O../pktools_2.6.7.6+ds-4_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -9249,12 +9292,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/12039/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12039/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/117585 and its subdirectories -I: Current time: Sat May 25 04:10:36 -12 2024 -I: pbuilder-time-stamp: 1716653436 +I: removing directory /srv/workspace/pbuilder/12039 and its subdirectories +I: Current time: Sun Apr 23 23:51:51 +14 2023 +I: pbuilder-time-stamp: 1682243511