Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/pktools/pktools_2.6.7.6+ds-3+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/pktools-2.6.7.6+ds-3+b1jubin9hh/pktools_2.6.7.6+ds-3+b1_amd64.buildinfo Get source package info: pktools=2.6.7.6+ds-3 Source URL: http://snapshot.notset.fr/mr/package/pktools/2.6.7.6+ds-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.3-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc3-1 binutils=2.35.1-3 binutils-common=2.35.1-3 binutils-x86-64-linux-gnu=2.35.1-3 bsdextrautils=2.36.1-2 bsdutils=1:2.36.1-2 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 cmake=3.18.4-1 cmake-data=3.18.4-1 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-23 dash=0.5.11+git20200708+dd9ef66-2 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 default-libmysqlclient-dev=1.0.6 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 docbook-xml=4.5-9 docbook-xsl=1.79.2+dfsg-1 docbook2x=0.8.8-17+b1 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13+20201015-2 file=1:5.39-3 findutils=4.7.0+git20201010-2 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 g++=4:10.2.0-1 g++-10=10.2.0-23 gcc=4:10.2.0-1 gcc-10=10.2.0-23 gcc-10-base=10.2.0-23 gdal-data=3.2.0+dfsg-1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hdf5-helpers=1.10.6+repack-2 hostname=3.23 icu-devtools=67.1-4 init-system-helpers=1.59 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libaec-dev=1.0.4-1 libaec0=1.0.4-1 libaom0=1.0.0.errata1-3 libarchive-zip-perl=1.68-1 libarchive13=3.4.3-2 libarmadillo-dev=1:10.1.2+dfsg-1 libarmadillo10=1:10.1.2+dfsg-1 libarpack2=3.7.0-3 libarpack2-dev=3.7.0-3 libasan6=10.2.0-23 libatomic1=10.2.0-23 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libbinutils=2.35.1-3 libblas-dev=3.9.0-3 libblas3=3.9.0-3 libblkid1=2.36.1-2 libboost-dev=1.71.0.3 libboost1.71-dev=1.71.0-7+b1 libbrotli1=1.0.9-2+b1 libbz2-1.0=1.0.8-4 libc-bin=2.31-5 libc-dev-bin=2.31-5 libc6=2.31-5 libc6-dev=2.31-5 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.0-23 libcfitsio-dev=3.490-3 libcfitsio9=3.490-3 libcharls-dev=2.1.0+dfsg-8 libcharls2=2.1.0+dfsg-8 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-3 libctf0=2.35.1-3 libcurl3-gnutls=7.72.0-1 libcurl4=7.72.0-1 libcurl4-gnutls-dev=7.72.0-1 libdap-dev=3.20.6-3 libdap25=3.20.6-3 libdapclient6v5=3.20.6-3 libdapserver7v5=3.20.6-3 libdav1d4=0.7.1-3 libdb5.3=5.3.28+dfsg1-0.6 libde265-0=1.0.7-1 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdeflate-dev=1.6-1 libdeflate0=1.6-1 libdpkg-perl=1.20.5 libelf1=0.182-1 libencode-locale-perl=1.05-1 libepsilon-dev=0.9.2+dfsg-5 libepsilon1=0.9.2+dfsg-5 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libfann-dev=2.2.0+ds-6 libfann2=2.2.0+ds-6 libffi7=3.3-5 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.9.0-1 libfontconfig1=2.13.1-4.2 libfreetype6=2.10.2+dfsg-4 libfreexl-dev=1.0.6-1 libfreexl1=1.0.6-1 libfyba-dev=4.1.1-7 libfyba0=4.1.1-7 libgcc-10-dev=10.2.0-23 libgcc-s1=10.2.0-23 libgcrypt20=1.8.7-2 libgdal-dev=3.2.0+dfsg-1 libgdal28=3.2.0+dfsg-1 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgeos-3.8.1=3.8.1-1 libgeos-c1v5=3.8.1-1 libgeos-dev=3.8.1-1 libgeotiff-dev=1.6.0-1 libgeotiff5=1.6.0-1 libgfortran5=10.2.0-23 libgif-dev=5.1.9-1 libgif7=5.1.9-1 libglib2.0-0=2.66.3-2 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.6.15-4 libgomp1=10.2.0-23 libgpg-error0=1.38-2 libgsl-dev=2.6+dfsg-2 libgsl25=2.6+dfsg-2 libgslcblas0=2.6+dfsg-2 libgssapi-krb5-2=1.18.3-4 libhdf4-0-alt=4.2.15-3 libhdf4-alt-dev=4.2.15-3 libhdf5-103-1=1.10.6+repack-2 libhdf5-cpp-103-1=1.10.6+repack-2 libhdf5-dev=1.10.6+repack-2 libhdf5-fortran-102=1.10.6+repack-2 libhdf5-hl-100=1.10.6+repack-2 libhdf5-hl-cpp-100=1.10.6+repack-2 libhdf5-hl-fortran-100=1.10.6+repack-2 libheif-dev=1.9.1-1 libheif1=1.9.1-1 libhogweed6=3.6-2 libhtml-parser-perl=3.75-1+b1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.09-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.26-1 libhttp-negotiate-perl=6.01-1 libicu-dev=67.1-4 libicu67=67.1-4 libidn2-0=2.3.0-4 libio-html-perl=1.001-1 libio-socket-ssl-perl=2.068-1 libisl23=0.23-1 libitm1=10.2.0-23 libjbig-dev=2.1-3.1+b2 libjbig0=2.1-3.1+b2 libjpeg-dev=1:2.0.5-1.1 libjpeg62-turbo=1:2.0.5-1.1 libjpeg62-turbo-dev=1:2.0.5-1.1 libjson-c-dev=0.15-1 libjson-c5=0.15-1 libjsoncpp1=1.7.4-3.1 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkml-dev=1.3.0-9 libkmlbase1=1.3.0-9 libkmlconvenience1=1.3.0-9 libkmldom1=1.3.0-9 libkmlengine1=1.3.0-9 libkmlregionator1=1.3.0-9 libkmlxsd1=1.3.0-9 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblapack-dev=3.9.0-3 liblapack3=3.9.0-3 liblcms2-2=2.9-4+b1 libldap-2.4-2=2.4.56+dfsg-1 liblsan0=10.2.0-23 libltdl-dev=2.4.6-14 libltdl7=2.4.6-14 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.09-1 liblz4-1=1.9.2-2 liblzma-dev=5.2.4-1+b1 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmariadb-dev=1:10.5.8-3 libmariadb-dev-compat=1:10.5.8-3 libmariadb3=1:10.5.8-3 libminizip-dev=1.1-8+b1 libminizip1=1.1-8+b1 libmount1=2.36.1-2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses6=6.2+20201114-1 libncursesw6=6.2+20201114-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3+b1 libnetcdf-dev=1:4.7.4-1 libnetcdf18=1:4.7.4-1 libnettle8=3.6-2 libnghttp2-14=1.42.0-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnspr4=2:4.29-1 libnss3=2:3.59-1 libnuma1=2.0.12-1+b1 libodbc1=2.3.6-0.1+b1 libogdi-dev=4.1.0+ds-3 libogdi4.1=4.1.0+ds-3 libopenjp2-7=2.3.1-1 libopenjp2-7-dev=2.3.1-1 libosp5=1.5.2-13+b1 libp11-kit0=0.23.21-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre16-3=2:8.39-13 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libpcre3-dev=2:8.39-13 libpcre32-3=2:8.39-13 libpcrecpp0v5=2:8.39-13 libperl5.32=5.32.0-5 libpipeline1=1.5.3-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpoppler-dev=20.09.0-3 libpoppler-private-dev=20.09.0-3 libpoppler102=20.09.0-3 libpq-dev=13.1-1+b1 libpq5=13.1-1+b1 libprocps8=2:3.3.16-5 libproj-dev=7.2.0-1 libproj19=7.2.0-1 libpsl5=0.21.0-1.1 libpython3-stdlib=3.9.0-4 libpython3.9-minimal=3.9.1~rc1-2 libpython3.9-stdlib=3.9.1~rc1-2 libqhull-dev=2020.2-3 libqhull-r8.0=2020.2-3 libqhull8.0=2020.2-3 libqhullcpp8.0=2020.2-3 libquadmath0=10.2.0-23 libreadline8=8.1~rc3-1 librhash0=1.4.0-1 librtmp1=2.4+20151223.gitfa8646d.1-2+b2 librttopo-dev=1.1.0-2 librttopo1=1.1.0-2 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.5.0-3 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36.1-2 libspatialite-dev=5.0.0-1 libspatialite7=5.0.0-1 libsqlite3-0=3.34.0-1 libsqlite3-dev=3.34.0-1 libssh2-1=1.8.0-2.1 libssl-dev=1.1.1h-1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-23 libstdc++6=10.2.0-23 libsub-override-perl=0.09-2 libsuperlu-dev=5.2.2+dfsg1-2 libsuperlu5=5.2.2+dfsg1-2 libsvm-dev=3.24+ds-6 libsvm3=3.24+ds-6 libsystemd0=246.6-5 libsz2=1.0.4-1 libtasn1-6=4.16.0-2 libtext-charwidth-perl=0.04-10+b1 libtext-unidecode-perl=1.30-1 libtext-wrapi18n-perl=0.06-9 libtiff-dev=4.1.0+git191117-2 libtiff5=4.1.0+git191117-2 libtiffxx5=4.1.0+git191117-2 libtimedate-perl=2.3300-1 libtinfo6=6.2+20201114-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.2.0-23 libubsan1=10.2.0-23 libuchardet0=0.0.7-1 libudev1=246.6-5 libunistring2=0.9.10-4 liburi-perl=5.05-1 liburiparser-dev=0.9.4+dfsg-1 liburiparser1=0.9.4+dfsg-1 libuuid1=2.36.1-2 libuv1=1.40.0-1 libwebp-dev=0.6.1-2+b1 libwebp6=0.6.1-2+b1 libwebpdemux2=0.6.1-2+b1 libwebpmux3=0.6.1-2+b1 libwww-perl=6.49-1 libwww-robotrules-perl=6.02-1 libx265-192=3.4-2 libxerces-c-dev=3.2.3+debian-1+b1 libxerces-c3.2=3.2.3+debian-1+b1 libxml-libxml-perl=2.0134+dfsg-2+b1 libxml-namespacesupport-perl=1.12-1 libxml-parser-perl=2.46-2 libxml-sax-base-perl=1.09-1 libxml-sax-expat-perl=0.51-1 libxml-sax-perl=1.02+dfsg-1 libxml2=2.9.10+dfsg-6.3 libxml2-dev=2.9.10+dfsg-6.3 libxslt1.1=1.1.34-4 libzstd-dev=1.4.5+dfsg-4 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.11-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 mailcap=3.67 make=4.3-4 man-db=2.9.3-2 mariadb-common=1:10.5.8-3 mawk=1.3.4.20200120-2 media-types=1.0.1 mime-support=3.66 mysql-common=5.8+1.0.6 ncurses-base=6.2+20201114-1 ncurses-bin=6.2+20201114-1 netbase=6.2 odbcinst=2.3.6-0.1+b1 odbcinst1debian2=2.3.6-0.1+b1 opensp=1.5.2-13+b1 openssl=1.1.1h-1 patch=2.7.6-6 perl=5.32.0-5 perl-base=5.32.0-5 perl-modules-5.32=5.32.0-5 perl-openssl-defaults=5 pkg-config=0.29.2-1 pkg-kde-tools=0.15.32 po-debconf=1.0.21 procps=2:3.3.16-5 proj-data=7.2.0-1 python3=3.9.0-4 python3-minimal=3.9.0-4 python3.9=3.9.1~rc1-2 python3.9-minimal=3.9.1~rc1-2 readline-common=8.1~rc3-1 sed=4.7-1 sensible-utils=0.0.12+nmu1 sgml-base=1.30 sgml-data=2.0.11 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 tex-common=6.15 texinfo=6.7.0.dfsg.2-5+b1 tzdata=2020d-1 ucf=3.0043 unixodbc-dev=2.3.6-0.1+b1 util-linux=2.36.1-2 uuid-dev=2.36.1-2 xml-core=0.18+nmu1 xsltproc=1.1.34-4 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201208T030340Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201202T205335Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d pktools=2.6.7.6+ds-3 && mkdir -p /build/pktools-8P3tfh && dpkg-source --no-check -x /*.dsc /build/pktools-8P3tfh/pktools-2.6.7.6+ds && cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds && { printf '%s' 'pktools (2.6.7.6+ds-3+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libgdal28 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 06 Dec 2020 17:40:00 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/pktools-8P3tfh" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1607276400" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/pktools-8P3tfh /tmp/pktools-2.6.7.6+ds-3+b1jubin9hh bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.fE9KuS0q4i as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.fE9KuS0q4i Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (865 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4614 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-5) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201208T030340Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201202T205335Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.fE9KuS0q4i Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201208T030340Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20201208T030340Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201208T030340Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201208T030340Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201208T030340Z unstable/main amd64 Packages [11.6 MB] Fetched 34.3 MB in 30s (1143 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.fE9KuS0q4i I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d pktools=2.6.7.6+ds-3 && mkdir -p /build/pktools-8P3tfh && dpkg-source --no-check -x /*.dsc /build/pktools-8P3tfh/pktools-2.6.7.6+ds && cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds && { printf '%s' 'pktools (2.6.7.6+ds-3+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libgdal28 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 06 Dec 2020 17:40:00 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/pktools-8P3tfh"' exec /tmp/mmdebstrap.fE9KuS0q4i Reading package lists... NOTICE: 'pktools' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian-gis-team/pktools.git Please use: git clone https://salsa.debian.org/debian-gis-team/pktools.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 3187 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pktools 2.6.7.6+ds-3 (dsc) [2449 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pktools 2.6.7.6+ds-3 (tar) [3140 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pktools 2.6.7.6+ds-3 (diff) [44.6 kB] Fetched 3187 kB in 3s (1211 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'pktools_2.6.7.6+ds-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting pktools in /build/pktools-8P3tfh/pktools-2.6.7.6+ds dpkg-source: info: unpacking pktools_2.6.7.6+ds.orig.tar.gz dpkg-source: info: unpacking pktools_2.6.7.6+ds-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying no-liblas.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1607276400" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.fE9KuS0q4i dpkg-buildpackage: info: source package pktools dpkg-buildpackage: info: source version 2.6.7.6+ds-3+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --buildsystem cmake \ --with pkgkde_symbolshelper dh_auto_clean -O--buildsystem=cmake dh_autoreconf_clean -O--buildsystem=cmake debian/rules override_dh_clean make[1]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds' dh_clean debian/man/*.1 find /build/pktools-8P3tfh/pktools-2.6.7.6+ds -name '*.o' -delete find /build/pktools-8P3tfh/pktools-2.6.7.6+ds -name '*.so*' -delete find /build/pktools-8P3tfh/pktools-2.6.7.6+ds -name '*.a' -delete make[1]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds' debian/rules build-arch dh build-arch --buildsystem cmake \ --with pkgkde_symbolshelper dh_update_autotools_config -a -O--buildsystem=cmake dh_autoreconf -a -O--buildsystem=cmake debian/rules override_dh_auto_configure make[1]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds' dh_auto_configure -- -DBUILD_WITH_FANN=ON \ -DBUILD_SHARED_LIBS=ON \ -DINSTALL_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DBUILD_WITH_FANN=ON -DBUILD_SHARED_LIBS=ON -DINSTALL_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu .. -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found GDAL: /usr/lib/libgdal.so (found suitable version "3.2.0", minimum required is "1.10") -- Using GSL from /usr -- Found Armadillo: /usr/include (found version "10.1.2") -- Found FANN: /usr/lib/x86_64-linux-gnu/libfloatfann.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LOCALSTATEDIR CMAKE_INSTALL_SYSCONFDIR -- Build files have been written to: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu make[1]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds' debian/rules override_dh_auto_build make[1]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds' # Create man pages from DocBook XML for x in debian/man/pkann.1.xml debian/man/pkannogr.1.xml debian/man/pkascii2img.1.xml debian/man/pkascii2ogr.1.xml debian/man/pkcomposite.1.xml debian/man/pkcreatect.1.xml debian/man/pkcrop.1.xml debian/man/pkdiff.1.xml debian/man/pkdsm2shadow.1.xml debian/man/pkdumpimg.1.xml debian/man/pkdumpogr.1.xml debian/man/pkegcs.1.xml debian/man/pkextractimg.1.xml debian/man/pkextractogr.1.xml debian/man/pkfillnodata.1.xml debian/man/pkfilter.1.xml debian/man/pkfilterascii.1.xml debian/man/pkfilterdem.1.xml debian/man/pkfsann.1.xml debian/man/pkfssvm.1.xml debian/man/pkgetmask.1.xml debian/man/pkinfo.1.xml debian/man/pkkalman.1.xml debian/man/pklas2img.1.xml debian/man/pkoptsvm.1.xml debian/man/pkpolygonize.1.xml debian/man/pkreclass.1.xml debian/man/pkreclassogr.1.xml debian/man/pkregann.1.xml debian/man/pksetmask.1.xml debian/man/pksieve.1.xml debian/man/pkstat.1.xml debian/man/pkstatascii.1.xml debian/man/pkstatogr.1.xml debian/man/pkstatprofile.1.xml debian/man/pksvm.1.xml debian/man/pksvmogr.1.xml debian/man/pktools-config.1.xml ; do \ docbook2x-man --string-param header-3="06 December 2020" $x ; \ mv `basename $x | sed 's/.xml$//'` `dirname $x` ; \ done docbook2man://refsect3[@id='pkfilter_functions_1_1']: element not matched by any template docbook2man://refsect3[@id='pkfilter_functions_1_2']: element not matched by any template docbook2man://refsect3[@id='pkfilter_functions_2_1']: element not matched by any template docbook2man://refsect3[@id='pkfilter_functions_2_2']: element not matched by any template dh_auto_build cd obj-x86_64-linux-gnu && make -j4 make[2]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/pktools-8P3tfh/pktools-2.6.7.6+ds -B/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[3]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' 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 -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/base.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/fileClasses.dir/DependInfo.cmake --color= Scanning dependencies of target base make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build Scanning dependencies of target fileClasses make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build Scanning dependencies of target imageClasses make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 1%] Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o [ 2%] Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.cc [ 3%] Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dbase_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.cc cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc [ 4%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc [ 5%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc [ 6%] Linking CXX shared library libbase.so cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/base.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libbase.so.1.6.1 libbase.so.1 libbase.so make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 6%] Built target base [ 7%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function ‘char** ImgRasterGdal::getMetadata()’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:221:12: warning: cast from type ‘const char*’ to type ‘char**’ casts away qualifiers [-Wcast-qual] 221 | return (char**)""; | ^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc: In member function ‘char** ImgRasterGdal::getMetadata() const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.cc:234:12: warning: cast from type ‘const char*’ to type ‘char**’ casts away qualifiers [-Wcast-qual] 234 | return (char**)""; | ^~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:171:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 171 | for(int icol=0;icol&, double&, double&, unsigned int&, int, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:287:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 287 | if(m_scale.size()>theBand){ | ~~~~~~~~~~~~~~^~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:304:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 304 | for(int i=0;i::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:25: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:170:50: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:360:34: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int) const’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In function ‘std::ostream& operator<<(std::ostream&, ImgReaderOgr&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:218:9: warning: unused variable ‘iField’ [-Wunused-variable] 218 | int iField=0; | ^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc: In member function ‘unsigned int ImgReaderOgr::readDataImageOgr(std::map, Vector2d >&, std::vector >&, const std::vector&, const string&, const std::vector >&, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:313:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 313 | for(int iband=0;iband&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In instantiation of ‘int ImgReaderOgr::readData(std::map, Vector2d >&, const OGRFieldType&, std::vector >&, const string&, int, bool, bool) [with T = float; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.cc:342:70: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:313:29: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 313 | if(fields.size()GetFieldCount()){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:323:29: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 323 | if(fields.size()GetFieldCount()){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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] [ 8%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: ‘pfnProgress’ may be used uninitialized in this function [-Wmaybe-uninitialized] 282 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.cc:282:34: warning: ‘pProgressData’ may be used uninitialized in this function [-Wmaybe-uninitialized] [ 9%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 10%] Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:27: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function ‘virtual void ImgWriterGdal::setCodec(const ImgReaderGdal&)’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc: In member function ‘virtual void ImgWriterGdal::setCodec(const string&)’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:329:27: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 329 | while(burnBands.size()&, int, double, double, bool)’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor ‘FileReaderAscii::FileReaderAscii()’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: ‘char FileReaderAscii::m_fs’ [-Wreorder] 52 | char m_fs; | ^~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:24:1: warning: when initialized here [-Wreorder] 24 | FileReaderAscii::FileReaderAscii(void) | ^~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor ‘FileReaderAscii::FileReaderAscii(const string&)’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: ‘char FileReaderAscii::m_fs’ [-Wreorder] 52 | char m_fs; | ^~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:28:1: warning: when initialized here [-Wreorder] 28 | FileReaderAscii::FileReaderAscii(const std::string& filename) | ^~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h: In constructor ‘FileReaderAscii::FileReaderAscii(const string&, const char&)’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:52:8: warning: ‘char FileReaderAscii::m_fs’ [-Wreorder] 52 | char m_fs; | ^~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function ‘unsigned int FileReaderAscii::nrOfCol(bool, bool)’: /build/pktools-8P3tfh/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) | ~~~~~~~^~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.cc: In member function ‘unsigned int FileReaderAscii::nrOfRow(bool, bool)’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function ‘int ImgWriterOgr::getFields(std::vector&, int) const’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function ‘void ImgWriterOgr::copyFields(const ImgReaderOgr&, int, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:359:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 359 | for(int iField=0;iField, double>&, std::string, int, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:391:30: warning: comparison of integer expressions of different signedness: ‘std::map, double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 391 | if(pointAttributes.size()+1!=poFeature->GetFieldCount()){ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:398:7: warning: unused variable ‘fid’ [-Wunused-variable] 398 | int fid=0; | ^~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function ‘void ImgWriterOgr::addLineString(std::vector&, const string&, int, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:420:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int ip=0;ip&, const string&, int, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:443:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 443 | for(int ip=0;ip&, const string&, const string&, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:469:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 469 | for(int ip=0;ip >&, const std::vector&, short int, short int, const string&, const OGRwkbGeometryType&, char)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:538:12: warning: unused variable ‘skip’ [-Wunused-variable] 538 | bool skip=false; | ^~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:23: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:707:43: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 106 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.cc:354:27: warning: ‘pTransformArg’ may be used uninitialized in this function [-Wmaybe-uninitialized] 354 | if(GDALRasterizeLayers( (GDALDatasetH)m_gds,nrOfBand(),&(bands[0]),layers.size(),&(layers[0]),NULL,pTransformArg,NULL,coptions,pfnProgress,pProgressArg)!=CE_None){ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgUpdaterGdal.cc:21: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:625:15: warning: unused variable ‘poPoint’ [-Wunused-variable] 625 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ [ 11%] Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.cc [ 12%] Linking CXX shared library libfileClasses.so cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libfileClasses.so.1 -o libfileClasses.so.1.6.1 CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libfileClasses.so.1.6.1 libfileClasses.so.1 libfileClasses.so make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 12%] Built target fileClasses /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc: In member function ‘int ImgWriterOgr::ascii2ogr(const string&, const string&, const std::vector >&, const std::vector&, short int, short int, const string&, const OGRwkbGeometryType&, char)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:622:37: warning: ‘pointFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 622 | pointFeature->SetField(fieldId,atoi(value.c_str())); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:558:37: warning: ‘pointFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 558 | pointFeature->SetField(fieldId,atoi(value.c_str())); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.cc:560:36: warning: ‘polyFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 560 | polyFeature->SetField(fieldId,atoi(value.c_str())); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Linking CXX shared library libimageClasses.so cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/imageClasses.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libimageClasses.so.1 -o libimageClasses.so.1.6.1 CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libimageClasses.so.1.6.1 libimageClasses.so.1 libimageClasses.so make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 13%] Built target imageClasses make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src/CMakeFiles/algorithms.dir/DependInfo.cmake --color= Scanning dependencies of target algorithms make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 14%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o [ 15%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o [ 17%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc [ 18%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Egcs.cc: In member function ‘std::string Egcs::geo2cell(double, double) const’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:26, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:20: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:20: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable ‘T’ [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ [ 19%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactory.h:26, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.h:27, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc: In member function ‘virtual double CostFactorySVM::getCost(const std::vector >&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/CostFactorySVM.cc:93:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__gnu_cxx::__alloc_traits, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 93 | for(int isample=0;isample, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 136 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 78 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 92 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 163 | if(ir>=m_results.size()) | ~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function ‘double confusionmatrix::ConfusionMatrix::nReference() const’: /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 179 | for(int ir=0;ir >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | for(int iref=0;iref >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 204 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 232 | for(int iref=0;iref >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 254 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 276 | for(int iclass=0;iclass&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d Vector2d::operator=(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for(int irow=0;irow::sum() const [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:251:31: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:302:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 302 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:303:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 303 | for(int icol=0;icoloperator[](irow).size();++icol) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::setTaps(const std::vector&, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:43:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 43 | for(int itap=0;itap::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 46 | for(int itap=0;itap&, const string&, int, double)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:246:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 246 | for(int index=0;index >&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:458:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 458 | for(int imethod=0;imethod::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 486 | double threshold=(ithreshold >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 502 | for(int imethod=0;imethod::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 526 | for(int iband=0;iband&, int, int, int, int, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:594:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 594 | for(k=1;k<=tapz.size()/2;++k) | ~^~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:597:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 597 | for(k=1;k<=tapz.size()/2;++k) | ~^~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from ‘Vector2d Vector2d::operator=(const Vector2d&) [with T = double]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:137:13: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow&, const Vector2d&, const string&, double, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:727:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 727 | for(int iband=0;iband Vector2d::selectCol(int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:78:39: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:184:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 184 | for(int irow=0;irowsize();++irow) | ~~~~^~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h: In instantiation of ‘void filter::Filter::filter(const std::vector&, std::vector&, const string&, int) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:277:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:532:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 532 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 545 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 576 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 629 | for(i=dim/2;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 632 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 679 | for(i=input.size()-dim/2;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 681 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 694 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 704 | if(i+t::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 723 | for(int iclass=0;iclass&, const string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:60: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:441:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 441 | for(int i=0;i&, std::vector&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:353:36: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:452:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 452 | for(i=0;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 455 | for(int t=1;t<=m_taps.size()/2;++t){ | ~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:479:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 479 | for(i=m_taps.size()/2;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 484 | for(int t=0;t::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 488 | for(i=input.size()-m_taps.size()/2;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int t=1;t<=m_taps.size()/2;++t){ | ~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:494:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 494 | if(i+t&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:716:86: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1477 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:75:46: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:85:51: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of ‘void statfactory::StatFactory::interpolateNoData(const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:443:25: required from ‘void filter::Filter::smoothNoData(const std::vector&, const string&, std::vector&) [with T = double; std::string = std::__cxx11::basic_string]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:311:60: required from here /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc: In member function ‘double confusionmatrix::ConfusionMatrix::ua(const string&, double*) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.cc:237:10: warning: ‘dva’ is used uninitialized in this function [-Wuninitialized] 237 | double dva=1.0-dva; | ^~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:20: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::dwtForward(ImgReaderGdal&, ImgWriterGdal&, const string&, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:70:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 70 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::dwtInverse(ImgReaderGdal&, ImgWriterGdal&, const string&, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:101:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 101 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::dwtCut(ImgReaderGdal&, ImgWriterGdal&, const string&, int, double)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:132:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 132 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::dwtCutFrom(ImgReaderGdal&, ImgWriterGdal&, const string&, int, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:163:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 163 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::filter(ImgReaderGdal&, ImgWriterGdal&, bool, bool, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:138:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 138 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 165 | for(int imask=0;imask&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:213:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 213 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 436 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 630 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 642 | if(randomIndex>=windowBuffer.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::mrf(ImgReaderGdal&, ImgWriterGdal&, int, int, double, bool, short int, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:707:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 707 | for(int iclass1=0;iclass1::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 708 | for(int iclass2=0;iclass2, bool, short int, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:774:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 774 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 799 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 806 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 814 | for(int iclass1=0;iclass1::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 817 | for(int iclass2=0;iclass2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 825 | for(int iclass1=0;iclass1::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 834 | for(int iclass=0;iclass&, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1031:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1031 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1072 | for(int iangle=0;iangle::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1097 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1105 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1197 | for(int iband=0;iband&, std::vector >&, float, float, float, float, bool, bool, bool, bool, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1214:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1214 | for(int iband=0;iband >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1257 | if(indexJ<0||indexJ>=input.size()) | ~~~~~~^~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1259:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1259 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:53, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:33:16: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow Vector2d::operator=(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:46:10: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for(int irow=0;irow&, int, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:862:86: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:218:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 218 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:220:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 220 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:222:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 222 | if(buffer2d.size()!=maxRow-minRow+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:216:10: warning: variable ‘theScale’ set but not used [-Wunused-but-set-variable] 216 | double theScale=1; | ^~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of ‘void filter2d::Filter2d::shadowDsm(const Vector2d&, Vector2d&, double, double, double, short int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1156:71: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1228:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1228 | if(indexJ<0||indexJ>=input.size()) | ~~~~~~^~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1230:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1230 | if(indexI<0||indexI>=input[indexJ].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of ‘bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1157:81: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:218:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 218 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:220:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 220 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:222:21: warning: comparison of integer expressions of different signedness: ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 222 | if(buffer2d.size()!=maxRow-minRow+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:216:10: warning: variable ‘theScale’ set but not used [-Wunused-but-set-variable] 216 | double theScale=1; | ^~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of ‘void filter2d::Filter2d::dwtForward(Vector2d&, const string&, int) [with T = float; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1165:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1257:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1257 | for(int irow=0;irow >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1262 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1263 | for(int icol=0;icol >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1276 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1278 | for(int icol=0;icol&, const string&, int) [with T = float; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1175:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1304:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1304 | for(int irow=0;irow >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1310 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1311 | for(int icol=0;icol >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1324 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1326 | for(int icol=0;icol&, const string&, int, double) [with T = float; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1185:48: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1352:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1352 | for(int irow=0;irow >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1358 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1359 | for(int icol=0;icol >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1373 | for(int icol=0;icol >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1383 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1384 | for(int icol=0;icol >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1393 | for(int irow=0;irow&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:100:53: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:184:43: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:736:45: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:860:81: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index&, int, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1155:82: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/bits/stl_construct.h:109:7: required from ‘void std::_Construct(_Tp*, _Args&& ...) [with _Tp = Vector2d; _Args = {const Vector2d&}]’ /usr/include/c++/10/bits/stl_uninitialized.h:91:18: 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++/10/bits/stl_uninitialized.h:150:15: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*]’ /usr/include/c++/10/bits/stl_uninitialized.h:325:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = const Vector2d*; _ForwardIterator = Vector2d*; _Tp = Vector2d]’ /usr/include/c++/10/bits/stl_uninitialized.h:347:2: required from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = Vector2d*; _ForwardIterator = Vector2d*; _Allocator = std::allocator >]’ /usr/include/c++/10/bits/vector.tcc:659:48: required from ‘void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ /usr/include/c++/10/bits/stl_vector.h:940:4: required from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1213:22: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function ‘bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 260 | poBand->RasterIO(GF_Write,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function ‘bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 260 | poBand->RasterIO(GF_Write,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:58:3: warning: control reaches end of non-void function [-Wreturn-type] 58 | } | ^ [ 21%] Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘void filter2d::Filter2d::shift(const Vector2d&, Vector2d&, double, double, double, filter2d::RESAMPLE, bool) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:623:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 623 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::shift(ImgReaderGdal&, ImgWriterGdal&, double, double, double, filter2d::RESAMPLE, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:855:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 855 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘void filter2d::Filter2d::shadowDsm(const Vector2d&, Vector2d&, double, double, double, short int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1217:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1217 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::filter(ImgReaderGdal&, ImgWriterGdal&, bool, bool, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:91:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 91 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::doit(ImgReaderGdal&, ImgWriterGdal&, const string&, int, int, short int, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:363:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 363 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::morphology(ImgReaderGdal&, ImgWriterGdal&, const string&, int, int, const std::vector&, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:979:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 979 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:720:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 720 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘void filter2d::Filter2d::dwtForward(Vector2d&, const string&, int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1248:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1248 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘void filter2d::Filter2d::dwtInverse(Vector2d&, const string&, int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1295:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1295 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘void filter2d::Filter2d::dwtCut(Vector2d&, const string&, int, double) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1343:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1343 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::linearFeature(const Vector2d&, std::vector >&, float, float, float, float, bool, bool, bool, bool, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1224:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1224 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::majorVoting(const string&, const string&, int, const std::vector&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:204:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 204 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:278:14: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:21: warning: cast from type ‘svm_node* const*’ to type ‘void*’ casts away qualifiers [-Wcast-qual] 26 | memcpy((void *)dst,(void *)src,sizeof(T)*n); | ^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of ‘void clone(T*&, S*, int) [with S = const double; T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:514:15: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:21: warning: cast from type ‘const double*’ to type ‘void*’ casts away qualifiers [-Wcast-qual] /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In instantiation of ‘void clone(T*&, S*, int) [with S = const signed char; T = signed char]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:515:15: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:26:21: warning: cast from type ‘const signed char*’ to type ‘void*’ casts away qualifiers [-Wcast-qual] /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp: In function ‘svm_model* svm_load_model(const char*)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2749:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2749 | fscanf(fp,"%80s",cmd); | ~~~~~~^~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2753:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2753 | fscanf(fp,"%80s",cmd); | ~~~~~~^~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2778:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2778 | fscanf(fp,"%80s",cmd); | ~~~~~~^~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2802:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2802 | fscanf(fp,"%d",¶m.degree); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2804:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2804 | fscanf(fp,"%lf",¶m.gamma); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2806:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2806 | fscanf(fp,"%lf",¶m.coef0); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2808:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2808 | fscanf(fp,"%d",&model->nr_class); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2810:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2810 | fscanf(fp,"%d",&model->l); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2816:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2816 | fscanf(fp,"%lf",&model->rho[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2823:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2823 | fscanf(fp,"%d",&model->label[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2830:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2830 | fscanf(fp,"%lf",&model->probA[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2837:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2837 | fscanf(fp,"%lf",&model->probB[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/svm.cpp:2844:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2844 | fscanf(fp,"%d",&model->nSV[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::smoothNoData(ImgReaderGdal&, const string&, ImgWriterGdal&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:303:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 303 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h: In constructor ‘imgregression::ImgRegression::ImgRegression()’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:45:12: warning: ‘imgregression::ImgRegression::m_threshold’ will be initialized after [-Wreorder] 45 | double m_threshold; | ^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:44:9: warning: ‘int imgregression::ImgRegression::m_down’ [-Wreorder] 44 | int m_down; | ^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:25:1: warning: when initialized here [-Wreorder] 25 | ImgRegression::ImgRegression(void) | ^~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::filter(ImgReaderGdal&, ImgWriterGdal&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:345:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 345 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:48:59: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, const std::vector&, int) const [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:208:39: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1303 | for (int i=0;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1305 | if (j < 0 || j >= y.size()) | ~~^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:6: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1316 | if(i>=x.size()){ | ~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:6: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1326 | if(j>=y.size()){ | ~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::stat(ImgReaderGdal&, ImgWriterGdal&, const string&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:381:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 381 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::stats(ImgReaderGdal&, ImgWriterGdal&, const std::vector >&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:443:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 443 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.cc:20: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::morphology(ImgReaderGdal&, ImgWriterGdal&, const string&, int, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:269:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 269 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc: In member function ‘void filter::Filter::filter(ImgReaderGdal&, ImgWriterGdal&, const string&, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.cc:517:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 517 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 22%] Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc: In member function ‘void filter2d::Filter2d::morphology(ImgReaderGdal&, ImgWriterGdal&, const string&, int, int, const std::vector&, bool)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.cc:1066:19: warning: ‘theta’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1066 | theta=360-(theta/PI*180)+90; [ 23%] Linking CXX shared library libalgorithms.so cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/algorithms.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libalgorithms.so.1.6.1 libalgorithms.so.1 libalgorithms.so make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 23%] Built target algorithms make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/depend make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkregann.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkannogr.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkann.dir/DependInfo.cmake --color= make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstat.dir/DependInfo.cmake --color= Scanning dependencies of target pkstat make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' Scanning dependencies of target pkregann make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' Scanning dependencies of target pkann make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 24%] Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc Scanning dependencies of target pkannogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 25%] Building CXX object CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkregann.cc [ 26%] Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkann.dir/src/apps/pkann.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc [ 27%] Building CXX object CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:25, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:30: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol > >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 757 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 758 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 761 | for(int iband=0;iband >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:806:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 806 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 807 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 810 | for(int iband=0;iband >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 235 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 247 | for(int inodata=0;inodata::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 254 | for(int inodata=0;inodata::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 259 | if(offset_opt.size()>ifile) | ~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:261:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 261 | if(scale_opt.size()>ifile) | ~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h: In member function ‘std::vector FANN::neural_net::run(std::vector)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1245:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1245 | for(int iout=0;iout >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 336 | if(ifile==input_opt.size()-1){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:338:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 338 | for(int bin=0;bin >&, unsigned int, short unsigned int, unsigned int, float, std::vector&, std::vector&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1571:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1571 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:427:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 427 | for(int i=0;i >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1627 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 678 | for(int inodata=0;inodata >&, std::vector >&, short unsigned int, unsigned int, float, std::vector >&, std::vector >&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1684:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1684 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:719:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 719 | for(int inodata=0;inodata::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 760 | for(int inodata=0;inodata >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1736 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 801 | for(int inodata=0;inodata::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 838 | for(int inodata=0;inodata >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1837:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1837 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1838 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1841 | for(int iband=0;iband)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2834 | for(int icon=0;icon >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 241 | for(int ifile=0;ifile&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 284 | for(int iactive=0;iactive::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 301 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 306 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 340 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 352 | if(ibag >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 388 | if((mapit->second).size(), unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 425 | for(int isample=trainingPixels[iclass].size();isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 451 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 528 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 571 | for(int ilayer=0;ilayer::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 654 | for(int isample=0;isample >::iterator mapit=trainingMap.begin(); | ^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:677:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 677 | for(int i_connection=0;i_connection >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 739 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); | ~~~~~~~~~~~~~~~~~~~ | | | GIntBig {aka long long int} /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:794:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 794 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 808 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); | ~~~~~~~~~~~~~~~~~~~ | | | GIntBig {aka long long int} /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:832:17: warning: unused variable ‘normBag’ [-Wunused-variable] 832 | float normBag=0; | ^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:253:14: warning: variable ‘readLayer’ set but not used [-Wunused-but-set-variable] 253 | OGRLayer *readLayer; | ^~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:260:8: warning: variable ‘maskIsVector’ set but not used [-Wunused-but-set-variable] 260 | bool maskIsVector=false; | ^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:291:16: warning: unused variable ‘nactive’ [-Wunused-variable] 291 | unsigned int nactive=0; | ^~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:30: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ImgRegression.h:24, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:25: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:268:109: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol > >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 757 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 758 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 761 | for(int iband=0;iband >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:806:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 806 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 807 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 810 | for(int iband=0;iband FANN::neural_net::run(std::vector)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1245:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1245 | for(int iout=0;iout >&, unsigned int, short unsigned int, unsigned int, float, std::vector&, std::vector&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1571:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1571 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1595:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1595 | while(nsample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1627 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int isample=0;isample >&, std::vector >&, short unsigned int, unsigned int, float, std::vector >&, std::vector >&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1684:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1684 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1711:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1711 | while(nsample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1736 | for(int isample=0;isample >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1837:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1837 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1838 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1841 | for(int iband=0;iband)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2834 | for(int icon=0;icon&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:440:51: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:958:51: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:253:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 253 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 296 | for(int iactive=0;iactive::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 313 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 330 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 352 | for(int iclass=0;iclass&, const OGRFieldType&, std::vector >&, OGRFeature*, int, bool, bool) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:791:80: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 471 | if(fields.size()GetFieldCount()){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:481:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 481 | if(fields.size()GetFieldCount()){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:364:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 364 | if(ibag >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 400 | if((mapit->second).size(), unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 437 | for(int isample=trainingPixels[iclass].size();isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 463 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 540 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 583 | for(int ilayer=0;ilayer::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 666 | for(int isample=0;isample >::iterator mapit=trainingMap.begin(); | ^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:689:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 689 | for(int i_connection=0;i_connection::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 882 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 976 | for(short ivalue=0;ivalue::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1004 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1137 | for(int iactive=0;iactive&, int, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkannogr.cc:392:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 106 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:887:60: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:963:57: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = char]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:1121:60: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:1124:59: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:404:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow&, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkann.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkregann.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:92, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkregann.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkregann.cc:25: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 757 | for(int iclass=0;iclass > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 758 | for(int csample=0;csample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 761 | for(int iband=0;iband >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:806:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 806 | for(int iclass=0;iclass > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 807 | for(int csample=0;csample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 810 | for(int iband=0;iband > FANN::neural_net::run(std::vector >)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1245:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1245 | for(int iout=0;iout >&, unsigned int, short unsigned int, unsigned int, float, std::vector >&, std::vector >&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1571:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1571 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1595:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1595 | while(nsample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1627 | for(int iclass=0;iclass > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int isample=0;isample > >&, std::vector > >&, short unsigned int, unsigned int, float, std::vector > >&, std::vector > >&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1684:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1684 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1711:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1711 | while(nsample > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1736 | for(int isample=0;isample >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1837:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1837 | for(int iclass=0;iclass > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1838 | for(int csample=0;csample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1841 | for(int iband=0;iband)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2834 | for(int icon=0;icon > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 192 | for(int isample=0;isample > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 214 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 238 | for(int ilayer=0;ilayer > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for(int isample=0;isample >&, const std::vector&, double, double, bool, bool) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkregann.cc:143:72: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int icol=0;icol1) | ~~~~~~~^~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 272 | for(int icol=0;icol1) | ~~~~~~~^~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: ‘pfnProgress’ may be used uninitialized in this function [-Wmaybe-uninitialized] 291 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:291:38: warning: ‘pProgressData’ may be used uninitialized in this function [-Wmaybe-uninitialized] /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: ‘pfnProgress’ may be used uninitialized in this function [-Wmaybe-uninitialized] 390 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:390:38: warning: ‘pProgressData’ may be used uninitialized in this function [-Wmaybe-uninitialized] /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: ‘pfnProgress’ may be used uninitialized in this function [-Wmaybe-uninitialized] 892 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev1,pfnProgress,pProgressData); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:892:36: warning: ‘pProgressData’ may be used uninitialized in this function [-Wmaybe-uninitialized] /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:550:37: warning: ‘icol’ may be used uninitialized in this function [-Wmaybe-uninitialized] 550 | double xValue=xBuffer[icol]; | ^ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstat.cc:546:49: warning: ‘irow’ may be used uninitialized in this function [-Wmaybe-uninitialized] 546 | for(int irow;irow::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:169:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | for(int inodata=0;inodata >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 194 | for(int iextent=0;iextent::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 285 | for(int iband=0;iband&, int, int, double, int, RESAMPLE) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:94: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpimg.cc:307:94: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:181:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 217 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 224 | for(int ivalid=0;ivalid::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 236 | for(int ivalid=0;ivalid::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 248 | for(int ivalid=0;ivalid&, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:218:64: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = char]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:264:41: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:22: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 32%] Linking CXX executable pkannogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkannogr.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 32%] Built target pkannogr make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkkalman.dir/DependInfo.cmake --color= Scanning dependencies of target pkkalman make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 34%] Building CXX object CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkgetmask.cc:126:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 126 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:24: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable ‘T’ [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ [ 35%] Linking CXX executable pkdumpimg /usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 369 | for(int tindex=0;tindex >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 377 | if(observation_opt.size()>tindex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:381:26: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 381 | if(model_opt.size()>relpos) | ~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:431:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 431 | if(obsindex >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 692 | for(int iline=0;ilinedown_opt[0]/2) ? irow-down_opt[0]/2 : 0; | ^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:690:11: warning: unused variable ‘maxRow’ [-Wunused-variable] 690 | int maxRow=(irow+down_opt[0]/2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 761 | if(obsindex::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 784 | if(obsindex >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | for(int iline=0;iline >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 915 | for(int iline=0;ilinedown_opt[0]/2) ? irow-down_opt[0]/2 : 0; | ^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:905:9: warning: unused variable ‘maxRow’ [-Wunused-variable] 905 | int maxRow=(irow+down_opt[0]/2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1162 | if(obsindex, int>::value_type’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 1192 | if(relobsindex.back() >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1421 | for(int iline=0;ilinedown_opt[0]/2) ? irow-down_opt[0]/2 : 0; | ^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1419:11: warning: unused variable ‘maxRow’ [-Wunused-variable] 1419 | int maxRow=(irow+down_opt[0]/2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1491 | if(obsindex::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1514 | if(obsindex >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1636 | for(int iline=0;iline >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1644 | for(int iline=0;ilinedown_opt[0]/2) ? irow-down_opt[0]/2 : 0; | ^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:1634:9: warning: unused variable ‘maxRow’ [-Wunused-variable] 1634 | int maxRow=(irow+down_opt[0]/2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1894 | if(obsindex::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1909 | if(obsindex&, int, int, double, int, RESAMPLE) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:483:80: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:547:53: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:596:77: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 37%] Built target pkgetmask make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksetmask.dir/DependInfo.cmake --color= Scanning dependencies of target pksetmask make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 38%] Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc [ 39%] Linking CXX executable pkann /usr/bin/cmake -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksieve.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 39%] Built target pkann make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkinfo.dir/DependInfo.cmake --color= Scanning dependencies of target pkinfo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 40%] Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksieve.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksieve.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:130:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | for(int imask=0;imask >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 191 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 198 | for(int iv=0;iv >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int imask=0;imask >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 225 | for(int imask=0;imask >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 322 | for(int ivalue=0;ivalue >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 353 | for(int iband=0;iband >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 371 | for(int imask=0;imask&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:231:57: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:359:60: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:22: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:211:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 211 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 213 | for(int inodata=0;inodata::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int iy=0;iy&, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:418:76: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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 pksieve /usr/bin/cmake -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 41%] Built target pksieve make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkreclass.dir/DependInfo.cmake --color= Scanning dependencies of target pkreclass make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 42%] Building CXX object CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkkalman.cc:781:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 781 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksetmask.cc:222:16: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 222 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:31: warning: ‘pfnProgress’ may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkinfo.cc:328:31: warning: ‘pProgressData’ may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:23: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:100:26: warning: unused variable ‘T’ [-Wunused-variable] 100 | const gsl_rng_type * T; | ^ [ 43%] Linking CXX executable pksetmask /usr/bin/cmake -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=1 In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:149:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 172 | for(int imask=0;imask >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 217 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 227 | for(int iv=0;iv >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 235 | for(int imask=0;imask >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 263 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 304 | for(int ivalue=0;ivalue >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 314 | for(int iband=0;iband&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:251:59: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:269:85: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:327:62: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ Scanning dependencies of target pkstatascii make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 44%] Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45%] Linking CXX executable pkinfo /usr/bin/cmake -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 45%] Built target pkinfo make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color= Scanning dependencies of target pkfillnodata make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 46%] Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclass.cc:244:16: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 244 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:260:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 260 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 391 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 399 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 404 | if(icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 455 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 456 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 458 | if(irowsize()-1) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 465 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 466 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 468 | if(icol >&, const std::vector&, double, double, bool, bool) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:217:42: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int icol=0;icol1) | ~~~~~~~^~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 272 | for(int icol=0;icol1) | ~~~~~~~^~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of ‘void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:360:135: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 916 | if(output.size()!=nbin){ | ~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:367:138: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1303:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1303 | for (int i=0;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1305 | if (j < 0 || j >= y.size()) | ~~^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1316:6: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1316 | if(i>=x.size()){ | ~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1326:6: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1326 | if(j>=y.size()){ | ~^~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:371:142: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1218:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1218 | for(int isample=0;isample&, const std::vector&, std::vector >&, int, T&, T&, T&, T&, double, const string&) const [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatascii.cc:431:94: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1027:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1027 | if(output.size()<=binX){ | ~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1037:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1037 | if(output.size()<=binY){ | ~~~~~~~~~~~~~^~~~~~ [ 47%] Linking CXX executable pkkalman /usr/bin/cmake -E cmake_link_script CMakeFiles/pkkalman.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo [ 48%] Linking CXX executable pkreclass /usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclass.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 48%] Built target pkkalman make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcreatect.dir/DependInfo.cmake --color= Scanning dependencies of target pkcreatect make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 50%] Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 50%] Built target pkreclass make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color= Scanning dependencies of target pkascii2ogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 51%] Building CXX object CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfillnodata.cc:155:16: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 155 | pfnProgress(dfComplete,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 52%] Linking CXX executable pkfillnodata /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 52%] Built target pkfillnodata make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcrop.dir/DependInfo.cmake --color= Scanning dependencies of target pkcrop make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:75:9: warning: unused variable ‘red’ [-Wunused-variable] 75 | short red=-1; | ^~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:76:9: warning: unused variable ‘green’ [-Wunused-variable] 76 | short green=-1; | ^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:77:9: warning: unused variable ‘blue’ [-Wunused-variable] 77 | short blue=-1; | ^~~~ [ 53%] Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of ‘bool ImgWriterGdal::writeData(std::vector&, int, int, int, int) [with T = char]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:184:68: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:218:39: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:227:41: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from ‘bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = short int]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:228:42: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h: In instantiation of ‘void ImgReaderGdal::readData(std::vector&, int, int, int, int) [with T = short unsigned int]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:282:11: required from ‘void ImgReaderGdal::readData(std::vector&, int, int) [with T = short unsigned int]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:235:41: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short unsigned int]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from ‘bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = short unsigned int]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:236:42: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2ogr.cc:129:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 129 | for(int ifield=0;ifield::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 143 | for(int ifield=0;ifield&, int, int, int, int) [with T = char]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:21: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcreatect.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:264:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 264 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 281 | for(int iimg=0;iimg >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 340 | for(int iextent=0;iextent >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 487 | for(int iimg=0;iimg::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 688 | int readBand=(band_opt.size()>iband)?band_opt[iband]:iband; | ~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:711:30: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 711 | if(scale_opt.size()>iband) | ~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:717:31: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 717 | if(offset_opt.size()>iband) | ~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:798:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 798 | for(int ivalue=0;ivalue::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 801 | if(nodata_opt.size()>ivalue) | ~~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:839:30: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 839 | if(writeBuffer.size()!=imgWriter.nrOfCol()) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:683:9: warning: unused variable ‘readncol’ [-Wunused-variable] 683 | int readncol=endCol-startCol+1; | ^~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:91: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:748:91: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:786:94: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:843:57: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54%] Linking CXX executable pkcreatect /usr/bin/cmake -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo [ 55%] Linking CXX executable pkascii2ogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkascii2ogr.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 55%] Built target pkcreatect make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color= Scanning dependencies of target pkextractogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 56%] Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 56%] Built target pkascii2ogr make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfsann.dir/DependInfo.cmake --color= Scanning dependencies of target pkfsann make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 57%] Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc [ 58%] Linking CXX executable pkstatascii /usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 58%] Built target pkstatascii make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color= Scanning dependencies of target pkdumpogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 59%] Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcrop.cc:244:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 244 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:28: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:270:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 453 | for(int irule=0;irule >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 625 | for(int irule=0;irule::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 636 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 644 | for(int iperc=0;iperc::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 799 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 865 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 923 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 960 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1036 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1097 | for(int irule=0;irule::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1114 | for(int index=0;index::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1150 | for(int iperc=0;iperc::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1177 | for(int ivalue=0;ivalue::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1288 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1360 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1444 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1477 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1557 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1617 | for(int irule=0;irule::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1634 | for(int index=0;index::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1671 | for(int iperc=0;iperc::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1698 | for(int ivalue=0;ivalue::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:233:21: warning: unused variable ‘nsample’ [-Wunused-variable] 233 | unsigned long int nsample=0; | ^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:234:21: warning: unused variable ‘ntotalvalid’ [-Wunused-variable] 234 | unsigned long int ntotalvalid=0; | ^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:235:21: warning: unused variable ‘ntotalinvalid’ [-Wunused-variable] 235 | unsigned long int ntotalinvalid=0; | ^~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:331:8: warning: variable ‘sampleIsVirtual’ set but not used [-Wunused-but-set-variable] 331 | bool sampleIsVirtual=false; | ^~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:27: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol > >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:757:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 757 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 758 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 761 | for(int iband=0;iband >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:806:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 806 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 807 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 810 | for(int iband=0;iband FANN::neural_net::run(std::vector)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1245:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1245 | for(int iout=0;iout >&, unsigned int, short unsigned int, unsigned int, float, std::vector&, std::vector&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1571:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1571 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1595:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1595 | while(nsample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1627 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int isample=0;isample >&, std::vector >&, short unsigned int, unsigned int, float, std::vector >&, std::vector >&, short int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1684:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1684 | if(nrun>ntraining) | ~~~~^~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1711:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1711 | while(nsample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1736 | for(int isample=0;isample >&, unsigned int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:1837:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1837 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1838 | for(int csample=0;csample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1841 | for(int iband=0;iband)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2781:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2781 | for(int ilayer=0;ilayer&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/myfann_cpp.h:2834:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2834 | for(int icon=0;icon&) [with T1 = int; std::ostream = std::basic_ostream]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:231:18: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 194 | for(int index=0;index >&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:125:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 125 | for(int ilayer=0;ilayer::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 180 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 330 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 375 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 396 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 477 | if((mapit->second).size(), unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 520 | for(int isample=trainingPixels[iclass].size();isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 547 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 582 | for(int iname=0;iname >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 611 | if(testPixels.size()>iclass){ | ~~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:621:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__gnu_cxx::__alloc_traits, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 621 | for(int isample=0;isample, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 632 | for(int isample=0;isample&, int, int, int, int, int) [with T = int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:584:105: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index&, int, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:588:106: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:671:95: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 117 | while(subset.size() >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:674:96: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 135 | for(int iFeature=0;iFeature::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(subset.size()==minFeatures) | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | while(subset.size()>minFeatures){ | ~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:678:98: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 229 | if(subset.size()>=maxLevels) | ~~~~~~~~~~~~~^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:235:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 235 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element | ^~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:668:116: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 277 | if(subset.size()>=maxLevels) | ~~~~~~~~~~~~~^~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 283 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element | ^~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:668:116: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 324 | if(subset.size()>maxLevels||subset.empty()){ | ~~~~~~~~~~~~~^~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 331 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element | ^~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:678:98: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:161:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 161 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:164:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::list::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 164 | for(int icol=0;icol&, int, int, int, int, int) [with T = int]’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:481:43: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow Vector2d::operator=(const Vector2d&) [with T = float]’: /usr/include/c++/10/bits/stl_algobase.h:861: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<(! std::__is_scalar<_Tp>::__value), void>::__type = void]’ /usr/include/c++/10/bits/stl_algobase.h:914:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = Vector2d*; _Tp = Vector2d]’ /usr/include/c++/10/bits/stl_algobase.h:944:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = Vector2d*; _Tp = Vector2d]’ /usr/include/c++/10/bits/vector.tcc:536:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::iterator = std::vector >::iterator; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /usr/include/c++/10/bits/stl_vector.h:960:4: required from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfsann.cc:198:53: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:158:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 158 | for(int ifield=0;ifield::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 172 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 174 | if(isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 180 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 182 | if(isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 190 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 192 | if(isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 198 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 200 | if(isample >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 207 | for(int ifield=0;ifield >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 212 | if(isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 220 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 222 | if(isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int isample=0;isample >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 236 | for(int ifield=0;ifield >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 238 | if(ifield >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 248 | for(int ifield=0;ifield >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 250 | if(ifield&, std::vector&, int, bool) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdumpogr.cc:156:36: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:380:19: warning: unused variable ‘poFDefn’ [-Wunused-variable] 380 | OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn(); | ^~~~~~~ [ 60%] Linking CXX executable pkcrop /usr/bin/cmake -E cmake_link_script CMakeFiles/pkcrop.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 60%] Built target pkcrop make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkegcs.dir/DependInfo.cmake --color= Scanning dependencies of target pkegcs make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 61%] Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkegcs.cc [ 62%] Linking CXX executable pkdumpogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -o pkdumpogr -Wl,-rpath,/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 62%] Built target pkdumpogr make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkreclassogr.dir/DependInfo.cmake --color= Scanning dependencies of target pkreclassogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 63%] Building CXX object CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:21: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:21: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkegcs.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkegcs.cc:110:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 110 | for(int inodata=0;inodataSetField(fieldname.c_str(),value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1724:43: warning: ‘writePolygonFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1724 | if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){ | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1061:54: warning: ‘writePointFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1061 | writePointFeature->SetField(fieldname.c_str(),value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractogr.cc:1180:54: warning: ‘writePolygonFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1180 | writePolygonFeature->SetField(fieldname[ivalue].c_str(),static_cast(theValue[ivalue])); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:32, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkreclassogr.cc:123:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 123 | for(int iclass=0;iclassGetLayerDefn(); | ^~~~~~~ [ 64%] Linking CXX executable pkegcs /usr/bin/cmake -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 64%] Built target pkegcs make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkascii2img.dir/DependInfo.cmake --color= Scanning dependencies of target pkascii2img make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 65%] Building CXX object CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc [ 67%] Linking CXX executable pkreclassogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkreclassogr.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 67%] Built target pkreclassogr make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color= Scanning dependencies of target pkpolygonize make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 68%] Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc [ 69%] Linking CXX executable pkfsann /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -lfloatfann src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 69%] Built target pkfsann make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color= Scanning dependencies of target pkextractimg make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 70%] Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:28, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:145:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 145 | for(int icol=0;icol&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkascii2img.cc:212:40: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:23: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:23: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:178:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 178 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 209 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 226 | if(fieldname_opt.size()::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 364 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 391 | for(int inodata=0;inodata >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 400 | for(int iband=0;iband >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 506 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 510 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 539 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 596 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 624 | for(int inodata=0;inodata >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 631 | for(int iband=0;iband >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 736 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 738 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 756 | for(int iclass=0;iclass&) [with T1 = int; std::ostream = std::basic_ostream]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:156:18: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 194 | for(int index=0;index&) [with T1 = std::__cxx11::basic_string; std::ostream = std::basic_ostream]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:239:18: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:28: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d Vector2d::operator=(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for(int irow=0;irow&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:337:46: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index::Vector2d(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:95:14: required from ‘Vector2d Vector2d::operator=(const Vector2d&) [with T = double]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:487:23: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow&, int, int, int, int) [with T = int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:566:46: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = int]’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkpolygonize.cc:125:14: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 125 | pfnProgress(dfComplete,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 71%] Linking CXX executable pkascii2img /usr/bin/cmake -E cmake_link_script CMakeFiles/pkascii2img.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -o pkascii2img -Wl,-rpath,/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 71%] Built target pkascii2img make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdiff.dir/DependInfo.cmake --color= Scanning dependencies of target pkdiff make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 72%] Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc [ 73%] Linking CXX executable pkpolygonize /usr/bin/cmake -E cmake_link_script CMakeFiles/pkpolygonize.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -o pkpolygonize -Wl,-rpath,/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo [ 74%] Linking CXX executable pkextractogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkextractogr.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 74%] Built target pkpolygonize make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color= Scanning dependencies of target pkdsm2shadow make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 75%] Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 75%] Built target pkextractogr make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterascii.dir/DependInfo.cmake --color= Scanning dependencies of target pkfilterascii make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 76%] Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int iflag=0;iflag::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for(int iflag=0;iflag >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 255 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 262 | for(int rc=0;rc >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 310 | for(int iinput=0;iinput >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 315 | for(int iref=0;iref::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 447 | for(int iflag=0;iflag::iterator panit=panMap.begin(); | ^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:513:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 513 | for(int iflag=0;iflag::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 522 | for(int ivalue=0;ivalue::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 738 | for(int iflag=0;iflag::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 746 | for(int rc=0;rc::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 800 | for(int iflag=0;iflag::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 813 | for(int ivalue=0;ivalue::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 106 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:521:54: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 106 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:765:54: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:812:49: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:876:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdsm2shadow.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:28: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkextractimg.cc:333:18: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 333 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:22: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:30: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:171:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 171 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 185 | for(int isrf=0;isrf::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 208 | for(int iw=0;iw::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 213 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 216 | for(int isrf=0;isrf::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 237 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 275 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 276 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 279 | if(iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 286 | if(iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 335 | if(icol::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 342 | if(icol&, int, double, double, bool) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:153:58: required from here /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:155:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int icol=0;icol1) | ~~~~~~~^~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 272 | for(int icol=0;icol1) | ~~~~~~~^~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:29: /build/pktools-8P3tfh/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 string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:151: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 328 | for(int index=0;index::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 340 | for(int index=0;index&, const Vector2d&, const Vector2d&, const string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:219:164: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 287 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int iband=0;iband&, std::vector&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:251:54: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:452:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 452 | for(i=0;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 455 | for(int t=1;t<=m_taps.size()/2;++t){ | ~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:479:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 479 | for(i=m_taps.size()/2;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 484 | for(int t=0;t::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 488 | for(i=input.size()-m_taps.size()/2;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int t=1;t<=m_taps.size()/2;++t){ | ~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:494:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 494 | if(i+t&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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 string&, std::vector&, bool) [with T = double; std::string = std::__cxx11::basic_string]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:172:151: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1477 | for(int index=0;index::selectCol(int, std::vector&) const [with T = double]’: /build/pktools-8P3tfh/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 string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterascii.cc:219:164: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 174 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~ make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 77%] Built target pkextractimg make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilterdem.dir/DependInfo.cmake --color= Scanning dependencies of target pkfilterdem make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 78%] Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc [ 79%] Linking CXX executable pkdsm2shadow /usr/bin/cmake -E cmake_link_script CMakeFiles/pkdsm2shadow.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 79%] Built target pkdsm2shadow make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkcomposite.dir/DependInfo.cmake --color= Scanning dependencies of target pkcomposite make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 80%] Building CXX object CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:354:24: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized] 354 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gdal/gdal_priv.h:80, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:21: /usr/include/gdal/ogr_feature.h:698:38: warning: ‘writeFeature’ may be used uninitialized in this function [-Wmaybe-uninitialized] 698 | { SetField( GetFieldIndex(pszFName), dfValue ); } | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:393:23: note: ‘writeFeature’ was declared here 393 | OGRFeature *writeFeature; | ^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkdiff.cc:471:55: warning: ‘writeLayer’ may be used uninitialized in this function [-Wmaybe-uninitialized] 471 | writeFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:212:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 212 | for(int inodata=0;inodata::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int iheight=0;iheight, short int>::value_type’ {aka ‘short int’} [-Wsign-compare] 358 | while(nchange>minChange_opt[0]&&dim<=dim_opt[1]){ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:336:98: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:854:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 854 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:843:10: warning: variable ‘noDataValue’ set but not used [-Wunused-but-set-variable] 843 | double noDataValue=0; | ^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of ‘long unsigned int filter2d::Filter2d::dsm2dtm_nesw(const Vector2d&, Vector2d&, double, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:339:98: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:948:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 948 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:937:10: warning: variable ‘noDataValue’ set but not used [-Wunused-but-set-variable] 937 | double noDataValue=0; | ^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of ‘long unsigned int filter2d::Filter2d::dsm2dtm_senw(const Vector2d&, Vector2d&, double, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:342:98: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1042:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1042 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1031:10: warning: variable ‘noDataValue’ set but not used [-Wunused-but-set-variable] 1031 | double noDataValue=0; | ^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In instantiation of ‘long unsigned int filter2d::Filter2d::dsm2dtm_swne(const Vector2d&, Vector2d&, double, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:345:98: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1132:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1132 | if(outputMask.size()!=inputDSM.nRows()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1121:10: warning: variable ‘noDataValue’ set but not used [-Wunused-but-set-variable] 1121 | double noDataValue=0; | ^~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d Vector2d::operator=(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:347:16: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:98:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for(int irow=0;irow&, Vector2d&, const string&, int, int, bool, double) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:360:95: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:744:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 744 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 775 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 783 | for(int iclass=0;iclass&, Vector2d&, const string&, int, int, short int, bool) [with T1 = double; T2 = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:379:75: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:287:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 287 | for(int y=0;y >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 293 | if(y+dimY/2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 305 | for(int x=0;x::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | else if(indexI>=inputVector[0].size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:324:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 324 | else if(y+j>=inputVector.size()) | ~~~^~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:541:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 541 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 553 | if(randomIndex>=windowBuffer.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:313:12: warning: unused variable ‘centreMasked’ [-Wunused-variable] 313 | bool centreMasked=false; | ^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In instantiation of ‘bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:429:89: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:218:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 218 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:220:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 220 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:222:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 222 | if(buffer2d.size()!=maxRow-minRow+1){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:216:10: warning: variable ‘theScale’ set but not used [-Wunused-but-set-variable] 216 | double theScale=1; | ^~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:191:76: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index::Vector2d(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:842:15: required from ‘long unsigned int filter2d::Filter2d::dsm2dtm_nwse(const Vector2d&, Vector2d&, double, int, int) [with T = double]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:336:98: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:26: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:346:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for(int iextent=0;iextent >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 391 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 395 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 397 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 473 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 484 | for(int iband=0;iband >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 707 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 714 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 760 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 801 | int readBand=(band_opt.size()>iband)? band_opt[iband] : iband; | ~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:872:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 872 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 874 | if(minValue_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:880:35: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 880 | if(maxValue_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:886:36: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 886 | if(srcnodata_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:896:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 896 | for(int vband=0;vband::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 898 | if(minValue_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:904:35: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 904 | if(maxValue_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~^~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:910:36: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 910 | if(srcnodata_opt.size()>vband){ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilterdem.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h: In member function ‘bool ImgWriterGdal::writeDataBlock(Vector2d&, int, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:260:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 260 | poBand->RasterIO(GF_Write,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:1220:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1220 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1252 | for(int iband=0;iband >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1317 | for(int ifile=0;ifile&, Vector2d&, const string&, int, int, bool, double) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:699:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 699 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:840:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 840 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘long unsigned int filter2d::Filter2d::dsm2dtm_nesw(const Vector2d&, Vector2d&, double, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:934:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 934 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘long unsigned int filter2d::Filter2d::dsm2dtm_senw(const Vector2d&, Vector2d&, double, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1028:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1028 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘long unsigned int filter2d::Filter2d::dsm2dtm_swne(const Vector2d&, Vector2d&, double, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:1118:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 1118 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h: In member function ‘void filter2d::Filter2d::doit(const Vector2d&, Vector2d&, const string&, int, int, short int, bool) [with T1 = double; T2 = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:265:14: warning: ‘pszMessage’ is used uninitialized in this function [-Wuninitialized] 265 | pfnProgress(progress,pszMessage,pProgressArg); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Optionpk.h: In instantiation of ‘std::ostream& operator<<(std::ostream&, const Optionpk&) [with T1 = short int; std::ostream = std::basic_ostream]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:592:18: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Optionpk.h:194:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 194 | for(int index=0;index&, int, int, double, int, RESAMPLE) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:106: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:169:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 169 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:804:106: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = float]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:835:86: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:203:19: required from ‘bool ImgWriterGdal::writeData(std::vector&, int, int) [with T = short int]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:1224:56: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:1241:52: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkcomposite.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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] [ 81%] Linking CXX executable pkdiff /usr/bin/cmake -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/pktools-2.6.7.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++11 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -o pkdiff -Wl,-rpath,/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 81%] Built target pkdiff make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color= Scanning dependencies of target pkstatprofile make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 82%] Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc [ 84%] Linking CXX executable pkfilterascii /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterascii.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:28: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 84%] Built target pkfilterascii make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color= Scanning dependencies of target pkstatogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 85%] Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatprofile.cc:149:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:162:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 162 | for(int ifield=0;ifield&, const OGRFieldType&, const string&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:166:87: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:552:15: warning: unused variable ‘poPoint’ [-Wunused-variable] 552 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of ‘void statfactory::StatFactory::distribution(const std::vector&, typename std::vector::const_iterator, typename std::vector::const_iterator, std::vector&, int, T&, T&, double, const string&) const [with T = double; typename std::vector::const_iterator = std::vector::const_iterator; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkstatogr.cc:188:96: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:916:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 916 | if(output.size()!=nbin){ | ~~~~~~~~~~~~~^~~~~~ [ 86%] Linking CXX executable pkfilterdem /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilterdem.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 86%] Built target pkfilterdem make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvm.dir/DependInfo.cmake --color= Scanning dependencies of target pksvm make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 87%] Building CXX object CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc [ 88%] Linking CXX executable pkstatprofile /usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 88%] Built target pkstatprofile make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkfilter.dir/DependInfo.cmake --color= Scanning dependencies of target pkfilter make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 89%] Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:23, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:76:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:30: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 307 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 348 | for(int iactive=0;iactive::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 367 | for(short iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for(short iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 406 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | if(ibag >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 463 | if((mapit->second).size()::size_type’ {aka ‘long unsigned int’} and ‘short int’ [-Wsign-compare] 486 | while(balance_opt.size(), unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 500 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 526 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} and ‘short int’ [-Wsign-compare] 561 | while(bagSize_opt.size() >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 660 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 892 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 986 | for(short ivalue=0;ivalue >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1014 | for(int iband=0;iband::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1160 | for(int iactive=0;iactive::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:105:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 105 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:106:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 106 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:108:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 108 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:897:60: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = short int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:973:57: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index&, int, int, int, int) [with T = char]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1144:60: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:1147:59: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:467:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:25: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:191:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvm.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 90%] Linking CXX executable pkcomposite /usr/bin/cmake -E cmake_link_script CMakeFiles/pkcomposite.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 90%] Built target pkcomposite make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color= Scanning dependencies of target pkoptsvm make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 91%] Building CXX object CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc [ 92%] Linking CXX executable pkstatogr /usr/bin/cmake -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 92%] Built target pkstatogr make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' cd /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu /build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color= Scanning dependencies of target pksvmogr make[4]: Leaving directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' make -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build make[4]: Entering directory '/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu' [ 93%] Building CXX object CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o /usr/bin/c++ -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/base -I/usr/include/gdal -I/build/pktools-8P3tfh/pktools-2.6.7.6+ds/src -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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 -o CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -c /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:27: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:27: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol&, int, double, double, bool)’: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:486:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 486 | if(dimZ_opt.size()==1) | ^ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:536:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 536 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 551 | for(int imask=0;imask::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 594 | for(int itap=0;itap >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 638 | for(int isrf=0;isrf >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 674 | for(int isrf=0;isrf::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 888 | for(int iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 893 | for(int iclass1=0;iclass1::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 896 | for(int iclass1=0;iclass1::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 898 | for(int iclass2=0;iclass2::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1130 | for(int itap=0;itap::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:32: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc: In function ‘double objFunction(const std::vector&, std::vector&, void*)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:151:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int iname=0;iname >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 284 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 321 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 342 | for(int iclass=0;iclass >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 418 | if((mapit->second).size(), unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 474 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 502 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 545 | if(testPixels.size()>iclass){ | ~~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:555:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__gnu_cxx::__alloc_traits, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 555 | for(int isample=0;isample, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 567 | for(int isample=0;isample&, const Vector2d&, const std::vector&, const std::vector&, const string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:375:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 375 | for(int index=0;index::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 385 | for(int index=0;index::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 410 | for(int isample=0;isample&, const Vector2d&, const Vector2d&, const string&, std::vector&, double, bool, int, bool, bool) [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:678:137: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:287:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 287 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int iband=0;iband&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:682:69: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 148 | if(buffer.size()!=maxCol-minCol+1){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:31: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:890:33: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:210:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int icol=0;icol1) | ~~~~~~~^~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/fileclasses/FileReaderAscii.h:272:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 272 | for(int icol=0;icol1) | ~~~~~~~^~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = double]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:903:97: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow&, int, int, int, int) [with T = double]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:618:48: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:137:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:138:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:140:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:146:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 146 | if(buffer.size()!=maxCol-minCol+1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:149:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 149 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:150:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for(int index=0;index::selectCol(int, std::vector&) const [with T = double]’: /build/pktools-8P3tfh/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 string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:174:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 174 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:28: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h: In instantiation of ‘void statfactory::StatFactory::interpolateUp(const std::vector&, const std::vector&, const std::vector&, const string&, std::vector&, bool) const [with T = double; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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 string&, Vector2d&, int, bool) [with T = double; std::string = std::__cxx11::basic_string]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:619:154: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/StatFactory.h:1477:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1477 | for(int index=0;index&, int, int, int, int, int) [with T = short unsigned int]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:830:83: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:247:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 247 | if(m_scale.size()>band) | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:249:21: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 249 | if(m_offset.size()>band) | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:262:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 262 | if(buffer.size()!=(maxRow-minRow+1)*(maxCol-minCol+1)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:269:42: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 269 | if(m_scale.size()>band||m_offset.size()>band){ | ~~~~~~~~~~~~~~~^~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:270:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | for(int index=0;index::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkoptsvm.cc:423:43: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:148:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | poBand->RasterIO(GF_Read,minCol,row,buffer.size(),1,&(buffer[0]),buffer.size(),1,getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:31, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/Filter2d.h:54, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfilter.cc:29: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:268:19: warning: ignoring return value of ‘CPLErr GDALRasterBand::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, GSpacing, GSpacing, GDALRasterIOExtraArg*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | poBand->RasterIO(GF_Read,minCol,minRow,maxCol-minCol+1,maxRow-minRow+1,&(buffer[0]),(maxCol-minCol+1),(maxRow-minRow+1),getGDALDataType(),0,0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:24: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:25: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:30: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In member function ‘int confusionmatrix::ConfusionMatrix::getClassIndex(std::string) const’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:54:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 295 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 336 | for(int iactive=0;iactive::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 355 | for(short iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 360 | for(short iclass=0;iclass::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 394 | for(int iclass=0;iclass >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 411 | if(ibag >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 451 | if((mapit->second).size()::size_type’ {aka ‘long unsigned int’} and ‘short int’ [-Wsign-compare] 474 | while(balance_opt.size(), unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare] 488 | for(int isample=trainingPixels[iclass].size();isample >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 514 | for(int isample=0;isample::size_type’ {aka ‘long unsigned int’} and ‘short int’ [-Wsign-compare] 549 | while(bagSize_opt.size() >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 648 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 754 | for(int ivalidation=0;ivalidationGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); | ~~~~~~~~~~~~~~~~~~~ | | | GIntBig {aka long long int} /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:822:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 822 | for(int i=0;i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 844 | for(int iclass=0;iclassGetFID(), imgWriterOgr.getLayerName(ilayer).c_str() ); | ~~~~~~~~~~~~~~~~~~~ | | | GIntBig {aka long long int} /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:870:10: warning: unused variable ‘normBag’ [-Wunused-variable] 870 | float normBag=0; | ^~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:343:16: warning: unused variable ‘nactive’ [-Wunused-variable] 343 | unsigned int nactive=0; | ^~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgWriterGdal.h:30, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:25: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:806:73: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:471:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 471 | if(fields.size()GetFieldCount()){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:481:23: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 481 | if(fields.size()GetFieldCount()){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h:442:13: warning: unused variable ‘poPoint’ [-Wunused-variable] 442 | OGRPoint *poPoint = (OGRPoint *) poGeometry; | ^~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderGdal.h:29, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:24: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h: In instantiation of ‘Vector2d::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pksvmogr.cc:455:47: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | for(index=0;index >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(index>=m_classes.size()) | ~~~~~^~~~~~~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h: In function ‘std::ostream& confusionmatrix::operator<<(std::ostream&, const confusionmatrix::ConfusionMatrix&)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int irow=0;irow::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | for(int icol=0;icol::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 76 | if(m_scale.size()!=nrOfBand()){//initialize | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgRasterGdal.h:85:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 85 | if(m_offset.size()!=nrOfBand()){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:30: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/imageclasses/ImgReaderOgr.h: In member function ‘int ImgReaderOgr::readData(std::vector&, const OGRFieldType&, const string&, int, bool) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’: /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc: In function ‘int main(int, char**)’: /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 378 | for(int ifile=0;ifile::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 417 | for(int ipair=0;ipair >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 437 | for(int iclass=0;iclass >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} [-Wsign-compare] 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 ‘long unsigned int’} [-Wsign-compare] 592 | for(int isample=0;isample >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 627 | for(int iname=0;iname >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 649 | if(testPixels.size()>iclass){ | ~~~~~~~~~~~~~~~~~^~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:709:95: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 117 | while(subset.size() >&, CostFactory&, std::__cxx11::list&, int, short int) [with T = float]’: /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:712:96: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 135 | for(int iFeature=0;iFeature::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 138 | if(subset.size()==minFeatures) | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 140 | while(subset.size()>minFeatures){ | ~~~~~~~~~~~~~^~~~~~~~~~~~ /build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:716:98: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 229 | if(subset.size()>=maxLevels) | ~~~~~~~~~~~~~^~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/FeatureSelector.h:235:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 235 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element | ^~~~ [ 96%] Linking CXX executable pkfilter /usr/bin/cmake -E cmake_link_script CMakeFiles/pkfilter.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/build/pktools-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/obj-x86_64-linux-gnu/src: src/libbase.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -larmadillo /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:116: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 277 | if(subset.size()>=maxLevels) | ~~~~~~~~~~~~~^~~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 283 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element | ^~~~ /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:706:116: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 324 | if(subset.size()>maxLevels||subset.empty()){ | ~~~~~~~~~~~~~^~~~~~~~~~ /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 331 | for(int iclass=0;iclass::iterator lit2=lit;//start searching from next element | ^~~~ In file included from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/algorithms/ConfusionMatrix.h:25, from /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:26: /build/pktools-8P3tfh/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-8P3tfh/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-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:716:98: required from here /build/pktools-8P3tfh/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 ‘long unsigned int’} [-Wsign-compare] 161 | for(int irow=0;irowsize();++irow){ | ~~~~^~~~~~~~~~~~~ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:164:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::list::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 164 | for(int icol=0;icol::Vector2d(const Vector2d&) [with T = float]’: /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d]’ /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = Vector2d; _Args = {const Vector2d&}; _Tp = Vector2d; std::allocator_traits >::allocator_type = std::allocator >]’ /usr/include/c++/10/bits/stl_vector.h:1192:30: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = Vector2d; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = Vector2d]’ /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/apps/pkfssvm.cc:514:43: required from here /build/pktools-8P3tfh/pktools-2.6.7.6+ds/src/base/Vector2d.h:88:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >, std::allocator > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 88 | for(int irow=0;irow../pktools_2.6.7.6+ds-3+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/pktools-8P3tfh /tmp/pktools-2.6.7.6+ds-3+b1jubin9hh I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.fE9KuS0q4i... I: success in 1926.3270 seconds md5: libalgorithms1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libalgorithms1_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libbase1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libbase1_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libfileclasses1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libfileclasses1_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libimageclasses1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK md5: libimageclasses1_2.6.7.6+ds-3+b1_amd64.deb: OK md5: pktools-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK md5: Value of 'md5' differs for pktools-dev_2.6.7.6+ds-3+b1_amd64.deb md5: Size differs for pktools-dev_2.6.7.6+ds-3+b1_amd64.deb md5: pktools_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libalgorithms1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libalgorithms1_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libbase1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libbase1_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libfileclasses1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libfileclasses1_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libimageclasses1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: libimageclasses1_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: pktools-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha1: Value of 'sha1' differs for pktools-dev_2.6.7.6+ds-3+b1_amd64.deb sha1: Size differs for pktools-dev_2.6.7.6+ds-3+b1_amd64.deb sha1: pktools_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libalgorithms1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libalgorithms1_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libbase1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libbase1_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libfileclasses1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libfileclasses1_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libimageclasses1-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: libimageclasses1_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: pktools-dbgsym_2.6.7.6+ds-3+b1_amd64.deb: OK sha256: Value of 'sha256' differs for pktools-dev_2.6.7.6+ds-3+b1_amd64.deb sha256: Size differs for pktools-dev_2.6.7.6+ds-3+b1_amd64.deb sha256: pktools_2.6.7.6+ds-3+b1_amd64.deb: OK Checksums: FAIL diffoscope run passed