Diff of the two buildlogs: -- --- b1/build.log 2020-08-08 13:58:15.925105919 +0000 +++ b2/build.log 2020-08-08 13:59:08.179484730 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 8 01:51:40 -12 2020 -I: pbuilder-time-stamp: 1596894700 +I: Current time: Sat Sep 11 10:21:17 +14 2021 +I: pbuilder-time-stamp: 1631305277 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Fri Jan 25 22:26:24 2019 -12 +gpgv: Signature made Sun Jan 27 00:26:24 2019 +14 gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./psfex_3.17.1+dfsg-5.dsc @@ -34,138 +34,172 @@ dpkg-source: info: applying Use-plplot-instead-of-plplotd.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7816/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/56279/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/56279/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/56279/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5b4a881e946b41429153dedda4c2b47f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='7816' - PS1='# ' - PS2='> ' + INVOCATION_ID=85ec94a8cc9a428fb8d003080583bc88 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=56279 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.3JPY3pQ1l0/pbuilderrc_TzNU --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.3JPY3pQ1l0/b1 --logfile b1/build.log psfex_3.17.1+dfsg-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.3JPY3pQ1l0/pbuilderrc_K3y3 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.3JPY3pQ1l0/b2 --logfile b2/build.log psfex_3.17.1+dfsg-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux profitbricks-build12-i386 4.19.0-10-686-pae #1 SMP Debian 4.19.132-1 (2020-07-24) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 7 20:26 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/7816/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 11 10:21 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/56279/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -402,7 +436,7 @@ Get: 189 http://deb.debian.org/debian buster/main i386 libshp-dev i386 1.4.1-3 [52.4 kB] Get: 190 http://deb.debian.org/debian buster/main i386 libplplot-dev i386 5.14.0+dfsg-3 [275 kB] Get: 191 http://deb.debian.org/debian buster/main i386 pkg-config i386 0.29-6 [64.7 kB] -Fetched 111 MB in 45s (2446 kB/s) +Fetched 111 MB in 1s (78.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) @@ -1202,7 +1236,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/psfex-3.17.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/psfex-3.17.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package psfex dpkg-buildpackage: info: source version 3.17.1+dfsg-5 dpkg-buildpackage: info: source distribution unstable @@ -1404,7 +1438,7 @@ configure: WARNING: unrecognized options: --disable-maintainer-mode make[1]: Leaving directory '/build/psfex-3.17.1+dfsg' dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/psfex-3.17.1+dfsg' make all-recursive make[2]: Entering directory '/build/psfex-3.17.1+dfsg' @@ -1426,6 +1460,139 @@ i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsmisc.o fitsmisc.c i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsread.o fitsread.c i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitstab.o fitstab.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsutil.o fitsutil.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitswrite.o fitswrite.c +In file included from fitshead.c:38: +fitshead.c: In function 'get_head': +fitshead.c:68:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(buf, char, FBSIZE); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(buf, char, FBSIZE*(i+1)); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c: In function 'readbasic_head': +fitshead.c:131:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(tab->naxisn, int, tab->naxis); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c: In function 'readbintabparam_head': +fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(key, keystruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, key->naxis); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from fitstab.c:38: +fitstab.c: In function 'copy_tab': +fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tabout, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +fitshead.c: In function 'addkeywordto_head': +fitstab.c: In function 'copy_tab_fromptr': +fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tabout, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c:289:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +fitstab.c:291:77: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +fitshead.c: In function 'removekeywordfrom_head': +fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c:293:67: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +fitstab.c: In function 'new_tab': +fitstab.c:444:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tab, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c:448:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tab->naxisn, int, tab->naxis); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c:456:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tab->headbuf, char, FBSIZE); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c: In function 'tabs_list': +fitstab.c:706:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(names, char *, cat->ntab); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitstab.c:708:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(names[i], char, MAXCHARS); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ In file included from fitscheck.c:38: fitscheck.c: In function 'compute_bodysum': fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1440,6 +1607,14 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +In file included from fitsconv.c:38: +fitsconv.c: In function 'asc2bin_tab': +fitsconv.c:81:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(buf, char, tabin->tabsize); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitscheck.c: In function 'write_checksum': fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); @@ -1453,22 +1628,18 @@ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from fitshead.c:38: -fitshead.c: In function 'get_head': -In file included from fitsconv.c:38: -fitsconv.c: In function 'asc2bin_tab': -fitshead.c:68:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(buf, char, FBSIZE); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitsconv.c:81:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(buf, char, tabin->tabsize); +fitsconv.c:114:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, 1); ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitsconv.c:120:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(ptr, key->ptr, char, key->nbytes); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ In file included from fitskey.c:38: fitskey.c: In function 'copy_key': fitskey.c:137:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1477,10 +1648,12 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(buf, char, FBSIZE*(i+1)); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' +In file included from fitsread.c:38: +fitsread.c: In function 'init_readobj': +fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->ptr, char, key->nbytes); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ fitskey.c:141:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1489,17 +1662,9 @@ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ -In file included from fitstab.c:38: -fitstab.c: In function 'copy_tab': -fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(tabout, tabstruct, 1); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitsconv.c:114:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, 1); - ^ +fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(*pbuf, char, tab->naxisn[0]); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ @@ -1510,37 +1675,6 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitshead.c: In function 'readbasic_head': -fitsconv.c:120:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(ptr, key->ptr, char, key->nbytes); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitshead.c:131:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(tab->naxisn, int, tab->naxis); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ fitskey.c: In function 'read_key': fitskey.c:251:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(buf, char, larray); @@ -1548,37 +1682,12 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c: In function 'copy_tab_fromptr': -fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(tabout, tabstruct, 1); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ fitskey.c:257:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(ptr, char, size*narray); ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c:289:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitstab.c:291:77: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitstab.c:293:67: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ fitskey.c: In function 'read_keys': fitskey.c:335:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(keys, keystruct *, nkeys); @@ -1598,29 +1707,30 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c: In function 'new_tab': fitskey.c:374:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(buf, char, larray); ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c:444:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(tab, tabstruct, 1); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +In file included from fitscleanup.c:39: +fitscleanup.c: In function 'add_cleanupfilename': +fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c:448:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(tab->naxisn, int, tab->naxis); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitstab.c:456:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(tab->headbuf, char, FBSIZE); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ In file included from fitscat.c:42: @@ -1631,31 +1741,39 @@ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitshead.c: In function 'readbintabparam_head': -fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(key, keystruct, 1); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitscleanup.c: In function 'remove_cleanupfilename': +fitskey.c: In function 'keys_list': +fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(cleanup_filename, char *, cleanup_nfiles); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitskey.c: In function 'keys_list': fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(names, char *, tab->nkey); ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(names[i], char, MAXCHARS); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitscat.c: In function 'inherit_cat': +In file included from fitswrite.c:39: +fitswrite.c: In function 'save_tab': fitscat.c:224:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(tabout, tabstruct, 1); ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(names[i], char, MAXCHARS); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitswrite.c:115:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ fitscat.c:227:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1664,9 +1782,9 @@ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ -fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, key->naxis); - ^ +fitswrite.c:133:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ @@ -1676,51 +1794,44 @@ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ -fitstab.c: In function 'tabs_list': -fitstab.c:706:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(names, char *, cat->ntab); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ +fitskey.c: In function 'show_keys': fitscat.c:232:76: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ -fitstab.c:708:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(names[i], char, MAXCHARS); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitskey.c: In function 'show_keys': -fitscat.c: In function 'init_cat': fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(key_col, int, nkeys); ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitscat.c: In function 'init_cat': +fitskey.c:672:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(keys, keystruct *, nkeys); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(tab, tabstruct, 1); ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswrite.c:192:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(buf, char, spoonful); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitscat.c:290:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(tab->headbuf, char, FBSIZE); ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitskey.c:672:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(keys, keystruct *, nkeys); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ fitscat.c: In function 'map_cat': fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(tab, tabstruct, 1); @@ -1728,24 +1839,17 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswrite.c: In function 'init_writeobj': fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(tab, tabstruct, 1); ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitscat.c: In function 'new_cat': -fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(cat, catstruct, ncat); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitshead.c: In function 'addkeywordto_head': -fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' +fitswrite.c:295:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(*pbuf, char, tab->naxisn[0]); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ fitskey.c:786:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1754,46 +1858,19 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitscat.c: In function 'new_cat': +fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(cat, catstruct, ncat); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitskey.c:789:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(rfield, char, maxnbytes); ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from fitsread.c:38: -fitsread.c: In function 'init_readobj': -fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->ptr, char, key->nbytes); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(*pbuf, char, tab->naxisn[0]); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -In file included from fitscleanup.c:39: -fitscleanup.c: In function 'add_cleanupfilename': -fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ In file included from fitsbody.c:43: fitsbody.c: In function 'read_body': fitsbody.c:537:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1802,20 +1879,6 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitshead.c: In function 'removekeywordfrom_head': -fitscleanup.c: In function 'remove_cleanupfilename': -fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(cleanup_filename, char *, cleanup_nfiles); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ fitsbody.c:587:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(tab->compress_buf, char, FBSIZE); ^ @@ -1846,35 +1909,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsutil.o fitsutil.c -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitswrite.o fitswrite.c -In file included from fitswrite.c:39: -fitswrite.c: In function 'save_tab': -fitswrite.c:115:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswrite.c:133:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswrite.c:192:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(buf, char, spoonful); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswrite.c: In function 'init_writeobj': -fitswrite.c:295:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(*pbuf, char, tab->naxisn[0]); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ fitsutil.c: In function 'fitswrite': fitsutil.c:558:28: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] sprintf(str, "'%s'", str2); @@ -1953,6 +1987,56 @@ i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitswcs.o fitswcs.c i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o homo.o homo.c i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o makeit.o makeit.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o misc.o misc.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pca.o pca.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prefs.o prefs.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o psf.o psf.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sample.o sample.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vignet.o vignet.c +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml.o xml.c +In file included from catout.c:37: +catout.c: In function 'init_outcat': +catout.c:84:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +catout.c:91:70: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +catout.c:131:7: warning: implicit declaration of function 'write_xml_header'; did you mean 'write_vo_fields'? [-Wimplicit-function-declaration] + write_xml_header(ascfile); + ^~~~~~~~~~~~~~~~ + write_vo_fields +In file included from catout.c:37: +catout.c:156:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(asctab, tabstruct, 1); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +catout.c:158:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +catout.c:171:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, key->naxis); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +catout.c: In function 'end_outcat': +catout.c:267:5: warning: implicit declaration of function 'write_xml_meta'; did you mean 'write_outcat'? [-Wimplicit-function-declaration] + write_xml_meta(outcat->ascfile, NULL); + ^~~~~~~~~~~~~~ + write_outcat In file included from context.c:38: context.c: In function 'context_init': context.c:70:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1961,6 +2045,14 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +In file included from fitswcs.c:43: +fitswcs.c: In function 'copy_wcs': +fitswcs.c:68:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(wcsin, wcs, wcsstruct, 1); + ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ context.c:71:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(context->name, char *, ndim); ^ @@ -1973,99 +2065,132 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswcs.c:70:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); + ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ context.c:73:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(context->degree, int, ndim); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswcs.c:81:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->wcsprm, struct wcsprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from makeit.c:45: +makeit.c: In function 'makeit': context.c:74:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(context->pcflag, int, ndim); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +makeit.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fields, fieldstruct *, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c: In function 'create_wcs': +fitswcs.c:119:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs, wcsstruct, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ context.c:75:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(groupflag, int, ndim); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +In file included from check.c:38: +check.c: In function 'check_write': +check.c:126:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->naxisn, int, tab->naxis); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c:121:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->projp, double, naxis*100); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ context.c:89:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(context->name[d2], char, 80); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -context.c: In function 'context_apply': -context.c:193:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' +check.c:132:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(pix0, float, tab->tabsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -context.c:219:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(comp2, float, comp2size); - ^ +In file included from field.c:38: +field.c: In function 'field_init': +field.c:67:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field, fieldstruct, 1); + ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -context.c:221:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(bcoeff2, float, bcoeff2size); +fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->wcsprm, struct wcsprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +check.c:150:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -context.c:243:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(comp2, psf2->comp, float, comp2size); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -context.c:245:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -In file included from diagnostic.c:41: -diagnostic.c: In function 'psf_diagnostic': -diagnostic.c:244:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(moffat, moffatstruct, nt); - ^ +field.c:85:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->psf, psfstruct *, next0); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -diagnostic.c:245:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pfmoffat, moffatstruct, nt); +fitswcs.c: In function 'init_wcs': +fitswcs.c:182:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin, struct linprm, 1); ^ -define.h:144:21: note: in definition of macro 'QMALLOC' +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from check.c:38: -check.c: In function 'check_write': -check.c:126:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +check.c:182:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:132:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(pix0, float, tab->tabsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +makeit.c:198:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psfsteps, float, next); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:150:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(pix0, float, tab->tabsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin->cdelt, double, naxis); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:182:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->naxisn, int, tab->naxis); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' +field.c:103:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->wcs, wcsstruct *, next0); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ check.c:188:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2074,131 +2199,448 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin->crpix, double, naxis); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +context.c: In function 'context_apply': +context.c:193:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +makeit.c:211:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cpsf, psfstruct *, ncat*next); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c:185:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin->pc, double, naxis*naxis); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:116:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:210:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswcs.c:190:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->cel, struct celprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c:194:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->prj, struct prjprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +context.c:219:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(comp2, float, comp2size); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +makeit.c:233:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psfbasiss, float *, next); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:229:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from catout.c:37: -catout.c: In function 'init_outcat': -catout.c:84:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); - ^ +field.c:134:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field->ccat, catstruct *, MAXCHECK); + ^ +field.c:134:3: note: in expansion of macro 'QCALLOC' + QCALLOC(field->ccat, catstruct *, MAXCHECK); + ^~~~~~~ +context.c:221:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(bcoeff2, float, bcoeff2size); + ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +makeit.c:240:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cpsf, psfstruct *, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +main.c: In function 'main': +field.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->lcount, int *, next0); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +main.c:83:24: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] + plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); + ^~~~~~~~~~~~~~~~~~~ check.c:235:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -diagnostic.c: In function 'psf_normresi': -diagnostic.c:685:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fvec, float, w*h*sizeof(float)); - ^ +field.c:137:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->acount, int *, next0); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -catout.c:91:70: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +field.c:138:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->count, int *, next0); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +In file included from main.c:40: +/usr/include/plplot/plplot.h:2294:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' + c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); + ~~~~~~~~~~~~~~~~~^~~~ +context.c:243:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(comp2, psf2->comp, float, comp2size); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ check.c:253:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +makeit.c:261:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cpsf, psfstruct *, ncat*next); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:139:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->modchi2, double *, next0); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from pca.c:38: +pca.c: In function 'pca_onsnaps': +In file included from fft.c:41: +fft.c: In function 'fft_shift': +pca.c:79:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(covmat, double, npix*npix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from main.c:43: +main.c:86:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(argkey, char *, argc); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fft.c:300:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(temp, float, width*height); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +context.c:245:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +field.c:140:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field->modresi, double *, next0); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +main.c:87:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(argval, char *, argc); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from vignet.c:38: +vignet.c: In function 'vignet_resample': +field.c:143:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field->lcount[e], int, countsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +vignet.c:140:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c: In function 'read_wcs': check.c:277:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswcs.c:364:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs, wcsstruct, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:144:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field->acount[e], int, countsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +vignet.c:141:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +pca.c:112:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(basis, float, npc*npix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:145:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field->count[e], int, countsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +vignet.c:142:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:283:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswcs.c:373:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->projp, double, naxis*100); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from diagnostic.c:41: +diagnostic.c: In function 'psf_diagnostic': +field.c:146:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field->modchi2[e], double, countsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +diagnostic.c:244:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(moffat, moffatstruct, nt); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +makeit.c:331:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cpsf, psfstruct *, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:147:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field->modresi[e], double, countsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +diagnostic.c:245:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pfmoffat, moffatstruct, nt); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +pca.c: In function 'pca_oncomps': +main.c:127:32: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] + plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); + ^~~~~~~~~~~~~~~~~~~ +pca.c:162:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(comp, double, ncat*npixt); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from main.c:40: +/usr/include/plplot/plplot.h:2294:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' + c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); + ~~~~~~~~~~~~~~~~~^~~~ check.c:305:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +vignet.c:173:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c: In function 'field_locate': +field.c:215:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(scale[i], double, field->next); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:325:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(gridsample, samplestruct *, nt); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +pca.c:206:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(covmat, double, ncat*ncat); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +vignet.c:195:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +vignet.c:196:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +vignet.c:197:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +pca.c:227:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(vector, float, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:356:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +pca.c:228:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pc, double, ncat*npc); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from sample.c:39: +sample.c: In function 'load_samples': +sample.c:95:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fwhmmin, float, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:363:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:379:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(pix0, float, tab->tabsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +pca.c: In function 'pca_findpc': +fitswcs.c:438:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->wcsprm, struct wcsprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:402:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->naxisn, int, tab->naxis); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' +pca.c:265:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(xmat, double, nmat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:408:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(pix0, float, tab->tabsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +sample.c:96:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fwhmmax, float, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:430:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +sample.c:97:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fwhmmode, float, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +pca.c:268:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(tmat, double, nmat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +check.c:379:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:450:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(gridsample, samplestruct *, nt); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +sample.c:103:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fwhm, float, nobjmax); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -catout.c:131:7: warning: implicit declaration of function 'write_xml_header'; did you mean 'write_vo_fields'? [-Wimplicit-function-declaration] - write_xml_header(ascfile); - ^~~~~~~~~~~~~~~~ - write_vo_fields -check.c:481:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +sample.c:104:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fwhmindex, int, ncat+1); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +check.c:402:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from catout.c:37: -catout.c:156:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(asctab, tabstruct, 1); - ^ +sample.c:111:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pkeynames, char *, nkeys); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +check.c:408:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(pix0, float, tab->tabsize); + ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ @@ -2210,28 +2652,35 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -catout.c:158:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -check.c:488:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +check.c:430:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +field.c: In function 'field_psfsave': +field.c:462:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, key->naxis); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ homo.c:111:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMEMCPY(psf->loc, target, float, npix); ^ define.h:165:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ -catout.c:171:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, key->naxis); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' +sample.c:202:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(fwhm, float, nobjmax); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +check.c:450:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(gridsample, samplestruct *, nt); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ homo.c:118:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2240,10 +2689,10 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:504:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(pix0, float, tab->tabsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +field.c:478:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, key->naxis); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ homo.c:120:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2252,19 +2701,33 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +diagnostic.c: In function 'psf_normresi': +diagnostic.c:685:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fvec, float, w*h*sizeof(float)); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ homo.c:123:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(basisc, float, nfree*npix); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +makeit.c: In function 'make_psf': +makeit.c:646:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ homo.c:124:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(cross, double, nfree*nfree); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:527:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +check.c:481:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' @@ -2276,7 +2739,7 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -check.c:533:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +check.c:488:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' @@ -2288,46 +2751,104 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +check.c:504:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(pix0, float, tab->tabsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ homo.c:168:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(bmat, double, nfree); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -catout.c: In function 'end_outcat': -catout.c:267:5: warning: implicit declaration of function 'write_xml_meta'; did you mean 'write_outcat'? [-Wimplicit-function-declaration] - write_xml_meta(outcat->ascfile, NULL); - ^~~~~~~~~~~~~~ - write_outcat -check.c:555:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +check.c:527:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->naxisn, int, tab->naxis); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +sample.c: In function 'read_samples': +sample.c:441:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cmin, double, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +check.c:533:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +sample.c:442:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cmax, double, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ homo.c:231:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(kernel, float, npix*ncoeff); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +check.c:555:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(pix0, float, tab->tabsize); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +sample.c:481:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c: In function 'invert_wcs': +fitswcs.c:854:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); + ^ +fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c:855:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); + ^ +fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +homo.c: In function 'psf_savehomo': check.c:587:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +homo.c:360:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->naxisn, int, tab->naxis); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c:856:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(latpos, double, WCS_NGRIDPOINTS2); + ^ +fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:594:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from fft.c:41: -fft.c: In function 'fft_shift': -fft.c:300:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(temp, float, width*height); - ^ +In file included from psf.c:38: +psf.c: In function 'psf_clean': +psf.c:88:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(chi, float, nsample); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ @@ -2337,13 +2858,6 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -homo.c: In function 'psf_savehomo': -homo.c:360:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->naxisn, int, tab->naxis); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ check.c:650:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(vig0, float, w*h); ^ @@ -2362,175 +2876,460 @@ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +psf.c: In function 'psf_init': +psf.c:256:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(psf, psfstruct, 1); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:258:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->size, int, psf->dim); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:266:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(context->group, group2, int, ndim); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ check.c:696:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +psf.c:267:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(context->name, names2, char *, ndim); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +psf.c:270:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(context->degree, dim2, int, context->ngroup); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c: In function 'malloc_samples': check.c:735:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +sample.c:976:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(set->sample, samplestruct, nsample); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:313:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(psf->comp, float, psf->npix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +sample.c:980:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vig, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:315:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(psf->loc, float, npix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:316:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(psf->resi, float, npix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:774:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +sample.c:981:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vigresi, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:324:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->contextoffset, double, ndim2); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:325:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->contextscale, double, ndim2); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +sample.c:982:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vigweight, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:326:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->contextname, char *, ndim2); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:330:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->contextname[d], char, 80); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:818:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +sample.c:983:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vigchi, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +sample.c:985:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->context, double, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c: In function 'psf_inherit': +psf.c:386:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c: In function 'realloc_samples': +psf.c:388:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1017:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(set->sample, samplestruct, nsample); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:897:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(list, double, size = spoonsize); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +sample.c:1021:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vig, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c: In function 'psf_copy': +psf.c:453:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(newpsf, psfstruct, 1); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:900:51: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(list, double, size += spoonsize); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +sample.c:1022:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vigresi, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:456:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->size, newpsf->size, int, psf->dim); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +psf.c:457:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(newpsf->contextname, char *, ndim); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +sample.c:1023:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vigchi, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:920:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QREALLOC(tab->naxisn, int, tab->naxis); ^ define.h:154:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +psf.c:460:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(newpsf->contextname[d], char, 80); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:926:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +psf.c:465:68: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->contextoffset, newpsf->contextoffset, double, ndim); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1024:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->vigweight, float, set->nvig); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:466:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->contextscale, newpsf->contextscale, double, ndim); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1026:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sample->context, double, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:471:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +In file included from prefs.c:52: +prefs.c: In function 'readprefs': +prefs.c:352:65: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:953:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(pix0, float, tab->tabsize); ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +psf.c:473:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1041:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(set->sample, samplestruct, nsample); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ check.c:954:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(vig0, float, w*h); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from field.c:38: -field.c: In function 'field_init': -field.c:67:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field, fieldstruct, 1); - ^ +psf.c:476:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + psf->nbasis*psf->poly->ncoeff); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c: In function 'init_set': +psf.c:477:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->comp, newpsf->comp, float, psf->npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1135:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(set, setstruct, 1); + ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:85:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->psf, psfstruct *, next0); - ^ +psf.c:478:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->loc, newpsf->loc, float, npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +prefs.c: In function 'list_to_str': +prefs.c:448:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(listbuf, char, bufsize); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:103:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->wcs, wcsstruct *, next0); +psf.c:479:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->resi, newpsf->resi, float, npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1138:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(set->vigsize, int, set->vigdim); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:116:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); - ^ +prefs.c:458:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(listbuf, char, bufsize); + ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:487:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->moffat, newpsf->moffat, moffatstruct, nsnap); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1142:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(set->contextoffset, double, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:489:65: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->pfmoffat, newpsf->pfmoffat, moffatstruct, nsnap); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1143:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(set->contextscale, double, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:491:68: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->homo_kernel, newpsf->homo_kernel, float, psf->npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ +sample.c:1144:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(set->contextname, char *, set->ncontext); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c: In function 'psf_make': +psf.c:532:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(image, float, nsample*npix); + ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:134:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field->ccat, catstruct *, MAXCHECK); - ^ -field.c:134:3: note: in expansion of macro 'QCALLOC' - QCALLOC(field->ccat, catstruct *, MAXCHECK); - ^~~~~~~ -field.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->lcount, int *, next0); - ^ +sample.c:1146:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(set->contextname[i], char, 80); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:137:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->acount, int *, next0); +psf.c:533:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(weight, float, nsample*npix); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:138:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->count, int *, next0); - ^ +psf.c:534:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pstack, double, nsample); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:139:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->modchi2, double *, next0); - ^ +psf.c:535:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(wstack, double, nsample); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:140:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field->modresi, double *, next0); - ^ +psf.c:536:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pos, double, poly->ndim?(nsample*poly->ndim):1); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:143:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field->lcount[e], int, countsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +psf.c:537:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(basis, double, poly->ncoeff*nsample); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:144:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field->acount[e], int, countsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +In file included from xml.c:39: +xml.c: In function 'init_xml': +xml.c:71:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(field_xml, fieldstruct *, ncat); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:145:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field->count[e], int, countsize); - ^ +psf.c: In function 'psf_makeresi': +psf.c:675:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(dresi, double, npix); + ^ define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:146:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field->modchi2[e], double, countsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +psf.c:687:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cdata, float, ncpix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:147:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field->modresi[e], double, countsize); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' +psf.c:688:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cbasis, float, ncpix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c: In function 'field_locate': -field.c:215:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(scale[i], double, field->next); - ^ +psf.c:689:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cvigw, float, ncpix); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c: In function 'field_psfsave': -field.c:462:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, key->naxis); - ^ +psf.c:690:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cvigx, double, ncpix); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -field.c:478:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, key->naxis); - ^ +psf.c:691:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cvigy, double, ncpix); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ @@ -2548,6 +3347,67 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +psf.c:871:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fresi, float, npix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c: In function 'psf_refine': +psf.c:942:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(vecvig, float, nvpix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:947:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(desmat, double, npsf*ndata); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:948:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(desindex, int, npsf*ndata); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:949:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(bmat, double, nvpix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:951:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(coeffmat, double, ncoeff*ncoeff); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:953:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(vig, float, nvpix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:955:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(sigvig, double, nvpix); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:957:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(alphamat, double, nunknown*nunknown); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c:958:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(betamat, double, nunknown); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ cplot.c: In function 'cplot_drawloccoordgrid': cplot.c:525:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(x, PLFLT, CPLOT_NPOINTDEF); @@ -2562,27 +3422,41 @@ sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ cplot.c: In function 'cplot_fwhm': +psf.c:1139:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->basiscoeff, float, nunknown); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ cplot.c:696:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(ctype[i], char, 16); ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from fitswcs.c:43: -fitswcs.c: In function 'copy_wcs': -fitswcs.c:68:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(wcsin, wcs, wcsstruct, 1); +psf.c:1142:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(betamat2, double, ncoeff); ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -main.c: In function 'main': -main.c:83:24: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] - plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); - ^~~~~~~~~~~~~~~~~~~ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c: In function 'psf_orthopoly': +psf.c:1193:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(data, double, ndata*ncoeff); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +psf.c: In function 'psf_makebasis': cplot.c:826:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] plshades(fwhm, nsnap2, nsnap2, NULL, ^~~~ +psf.c:1253:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(psf->comp, psforder, float, npix); + ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ In file included from cplot.c:39: /usr/include/plplot/plplot.h:1752:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, @@ -2590,6 +3464,12 @@ cplot.c:846:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] plshades(fwhm, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, ^~~~ +psf.c:1261:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(psf->pixmask, int, npix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ In file included from cplot.c:39: /usr/include/plplot/plplot.h:1752:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, @@ -2601,23 +3481,10 @@ /usr/include/plplot/plplot.h:1752:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, ~~~~~~~~~~~~~^ -fitswcs.c:70:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); - ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitswcs.c:81:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->wcsprm, struct wcsprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c: In function 'create_wcs': -fitswcs.c:119:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs, wcsstruct, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +psf.c:1292:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(psf->basis, float, npsf*npix); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ In file included from cplot.c:42: @@ -2628,53 +3495,23 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswcs.c:121:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->projp, double, naxis*100); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->wcsprm, struct wcsprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c: In function 'init_wcs': -fitswcs.c:182:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin, struct linprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin->cdelt, double, naxis); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin->crpix, double, naxis); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:185:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin->pc, double, naxis*naxis); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +psf.c: In function 'psf_pshapelet': +psf.c:1396:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswcs.c:190:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->cel, struct celprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +psf.c:1397:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(fexpr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswcs.c:194:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->prj, struct prjprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +psf.c:1398:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(ftheta, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); + ^ +define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ cplot.c:1058:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] @@ -2691,11 +3528,10 @@ /usr/include/plplot/plplot.h:1752:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, ~~~~~~~~~~~~~^ -fitswcs.c: In function 'read_wcs': -fitswcs.c:364:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs, wcsstruct, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +psf.c:1422:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(*basis, float, w*h*kmax); + ^ +define.h:134:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ In file included from cplot.c:42: @@ -2706,42 +3542,19 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswcs.c:373:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->projp, double, naxis*100); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -In file included from main.c:40: -/usr/include/plplot/plplot.h:2294:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); - ~~~~~~~~~~~~~~~~~^~~~ -In file included from main.c:43: -main.c:86:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(argkey, char *, argc); - ^ +psf.c: In function 'psf_readbasis': +psf.c:1523:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pixin, PIXTYPE, npixin); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -main.c:87:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(argval, char *, argc); - ^ +psf.c:1525:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(psf->basis, float, ncomp*npixout); + ^ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -main.c:127:32: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] - plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); - ^~~~~~~~~~~~~~~~~~~ -In file included from main.c:40: -/usr/include/plplot/plplot.h:2294:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); - ~~~~~~~~~~~~~~~~~^~~~ -fitswcs.c:438:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->wcsprm, struct wcsprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ cplot.c:1274:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] plshades(resi, nsnap2, nsnap2, NULL, ^~~~ @@ -2778,13 +3591,6 @@ /usr/include/plplot/plplot.h:1752:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, ~~~~~~~~~~~~~^ -fitswcs.c: In function 'invert_wcs': -fitswcs.c:854:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); - ^ -fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_counts': cplot.c:1579:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2793,18 +3599,6 @@ define.h:144:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswcs.c:855:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); - ^ -fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:856:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(latpos, double, WCS_NGRIDPOINTS2); - ^ -fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ cplot.c:1663:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] plshades(count, nsnap2, nsnap2, NULL, ^~~~~ @@ -2889,157 +3683,6 @@ cplot.c:136:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o makeit.o makeit.c -In file included from makeit.c:45: -makeit.c: In function 'makeit': -makeit.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fields, fieldstruct *, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c:198:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psfsteps, float, next); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c:211:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cpsf, psfstruct *, ncat*next); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c:233:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psfbasiss, float *, next); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c:240:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cpsf, psfstruct *, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c:261:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cpsf, psfstruct *, ncat*next); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c:331:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cpsf, psfstruct *, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -makeit.c: In function 'make_psf': -makeit.c:646:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o misc.o misc.c -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pca.o pca.c -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prefs.o prefs.c -cplot.c:132:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] - sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", - ^~ -cplot.c:135:2: - plotfilename, plotfilename); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from cplot.c:35: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 1079 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cplot.c:154:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - sprintf(plotfilename, "%s_%s%s", prefs.cplot_name[cval], str, - ^ -In file included from /usr/include/stdio.h:873, - from cplot.c:35: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from pca.c:38: -pca.c: In function 'pca_onsnaps': -pca.c:79:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(covmat, double, npix*npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c:112:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(basis, float, npc*npix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c: In function 'pca_oncomps': -pca.c:162:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(comp, double, ncat*npixt); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c:206:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(covmat, double, ncat*ncat); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c:227:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(vector, float, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c:228:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pc, double, ncat*npc); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c: In function 'pca_findpc': -pca.c:265:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(xmat, double, nmat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -pca.c:268:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(tmat, double, nmat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -In file included from prefs.c:52: -prefs.c: In function 'readprefs': -prefs.c:352:65: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -prefs.c: In function 'list_to_str': -prefs.c:448:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(listbuf, char, bufsize); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -prefs.c:458:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(listbuf, char, bufsize); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ makeit.c: In function 'makeit': makeit.c:97:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] sprintf(prefs.sdate_start,"%04d-%02d-%02d", @@ -3270,638 +3913,43 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o psf.o psf.c -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sample.o sample.c -In file included from psf.c:38: -psf.c: In function 'psf_clean': -psf.c:88:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(chi, float, nsample); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_init': -psf.c:256:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(psf, psfstruct, 1); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:258:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->size, int, psf->dim); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:266:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(context->group, group2, int, ndim); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:267:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(context->name, names2, char *, ndim); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:270:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(context->degree, dim2, int, context->ngroup); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:313:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(psf->comp, float, psf->npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:315:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(psf->loc, float, npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:316:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(psf->resi, float, npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:324:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->contextoffset, double, ndim2); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:325:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->contextscale, double, ndim2); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:326:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->contextname, char *, ndim2); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:330:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->contextname[d], char, 80); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_inherit': -psf.c:386:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:388:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c: In function 'psf_copy': -psf.c:453:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(newpsf, psfstruct, 1); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:456:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->size, newpsf->size, int, psf->dim); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:457:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(newpsf->contextname, char *, ndim); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:460:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(newpsf->contextname[d], char, 80); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:465:68: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->contextoffset, newpsf->contextoffset, double, ndim); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:466:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->contextscale, newpsf->contextscale, double, ndim); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:471:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:473:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:476:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - psf->nbasis*psf->poly->ncoeff); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:477:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->comp, newpsf->comp, float, psf->npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:478:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->loc, newpsf->loc, float, npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:479:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->resi, newpsf->resi, float, npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:487:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->moffat, newpsf->moffat, moffatstruct, nsnap); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:489:65: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->pfmoffat, newpsf->pfmoffat, moffatstruct, nsnap); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:491:68: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->homo_kernel, newpsf->homo_kernel, float, psf->npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c: In function 'psf_make': -psf.c:532:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(image, float, nsample*npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:533:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(weight, float, nsample*npix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:534:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pstack, double, nsample); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:535:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(wstack, double, nsample); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:536:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pos, double, poly->ndim?(nsample*poly->ndim):1); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:537:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(basis, double, poly->ncoeff*nsample); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_makeresi': -psf.c:675:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(dresi, double, npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:687:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cdata, float, ncpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:688:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cbasis, float, ncpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:689:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cvigw, float, ncpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:690:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cvigx, double, ncpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:691:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cvigy, double, ncpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:871:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fresi, float, npix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_refine': -psf.c:942:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(vecvig, float, nvpix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:947:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(desmat, double, npsf*ndata); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:948:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(desindex, int, npsf*ndata); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:949:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(bmat, double, nvpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:951:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(coeffmat, double, ncoeff*ncoeff); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:953:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(vig, float, nvpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:955:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sigvig, double, nvpix); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:957:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(alphamat, double, nunknown*nunknown); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:958:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(betamat, double, nunknown); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1139:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->basiscoeff, float, nunknown); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1142:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(betamat2, double, ncoeff); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_orthopoly': -psf.c:1193:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(data, double, ndata*ncoeff); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_makebasis': -psf.c:1253:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(psf->comp, psforder, float, npix); - ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -psf.c:1261:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(psf->pixmask, int, npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1292:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(psf->basis, float, npsf*npix); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_pshapelet': -psf.c:1396:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1397:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fexpr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1398:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(ftheta, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1422:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(*basis, float, w*h*kmax); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c: In function 'psf_readbasis': -psf.c:1523:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pixin, PIXTYPE, npixin); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -psf.c:1525:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(psf->basis, float, ncomp*npixout); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -In file included from sample.c:39: -sample.c: In function 'load_samples': -sample.c:95:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fwhmmin, float, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:96:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fwhmmax, float, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:97:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fwhmmode, float, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:103:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fwhm, float, nobjmax); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:104:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(fwhmindex, int, ncat+1); +cplot.c:132:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] + sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", + ^~ +cplot.c:135:2: + plotfilename, plotfilename); + ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from cplot.c:35: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 1079 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cplot.c:154:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + sprintf(plotfilename, "%s_%s%s", prefs.cplot_name[cval], str, ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:111:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pkeynames, char *, nkeys); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:202:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(fwhm, float, nobjmax); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c: In function 'read_samples': -sample.c:441:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cmin, double, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:442:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(cmax, double, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:481:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c: In function 'malloc_samples': -sample.c:976:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(set->sample, samplestruct, nsample); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:980:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vig, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:981:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vigresi, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:982:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vigweight, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:983:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vigchi, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:985:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->context, double, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c: In function 'realloc_samples': -sample.c:1017:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(set->sample, samplestruct, nsample); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1021:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vig, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1022:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vigresi, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1023:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vigchi, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1024:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->vigweight, float, set->nvig); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1026:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(sample->context, double, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1041:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(set->sample, samplestruct, nsample); - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c: In function 'init_set': -sample.c:1135:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(set, setstruct, 1); - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1138:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(set->vigsize, int, set->vigdim); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1142:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(set->contextoffset, double, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1143:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(set->contextscale, double, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1144:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(set->contextname, char *, set->ncontext); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -sample.c:1146:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(set->contextname[i], char, 80); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vignet.o vignet.c -In file included from vignet.c:38: -vignet.c: In function 'vignet_resample': -vignet.c:140:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -vignet.c:141:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -vignet.c:142:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -vignet.c:173:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ - ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -vignet.c:195:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -vignet.c:196:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -vignet.c:197:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ - ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml.o xml.c -In file included from xml.c:39: -xml.c: In function 'init_xml': -xml.c:71:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(field_xml, fieldstruct *, ncat); - ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ +In file included from /usr/include/stdio.h:873, + from cplot.c:35: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xml.c: In function 'write_xml_meta': +xml.c:233:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] + sprintf(prefs.sdate_end,"%04d-%02d-%02d", + ^~~~ +xml.c:233:29: note: directive argument in the range [-2147483647, 2147483647] + sprintf(prefs.sdate_end,"%04d-%02d-%02d", + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xml.c:34: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sample.c: In function 'read_samples': sample.c:545:28: warning: '%s' directive writing up to 511 bytes into a region of size 503 [-Wformat-overflow=] sprintf(str, "*Error*: %s parameter not found in catalogue ", @@ -3952,21 +4000,7 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xml.c: In function 'write_xml_meta': -xml.c:233:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] - sprintf(prefs.sdate_end,"%04d-%02d-%02d", - ^~~~ -xml.c:233:29: note: directive argument in the range [-2147483647, 2147483647] - sprintf(prefs.sdate_end,"%04d-%02d-%02d", - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xml.c:34: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lcblas -latlas -lfftw3f -lm -lplplot +/bin/sh ../libtool --tag=CC --mode=link i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lcblas -latlas -lfftw3f -lm -lplplot libtool: link: i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lcblas -latlas -lfftw3f -lm -lplplot make[4]: Leaving directory '/build/psfex-3.17.1+dfsg/src' make[3]: Leaving directory '/build/psfex-3.17.1+dfsg/src' @@ -3975,7 +4009,7 @@ make[2]: Leaving directory '/build/psfex-3.17.1+dfsg' make[1]: Leaving directory '/build/psfex-3.17.1+dfsg' dh_auto_test - make -j10 check VERBOSE=1 + make -j18 check VERBOSE=1 make[1]: Entering directory '/build/psfex-3.17.1+dfsg' Making check in man make[2]: Entering directory '/build/psfex-3.17.1+dfsg/man' @@ -4044,7 +4078,7 @@ make[3]: Entering directory '/build/psfex-3.17.1+dfsg/src' make[4]: Entering directory '/build/psfex-3.17.1+dfsg/src' /bin/mkdir -p '/build/psfex-3.17.1+dfsg/debian/psfex/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c psfex '/build/psfex-3.17.1+dfsg/debian/psfex/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c psfex '/build/psfex-3.17.1+dfsg/debian/psfex/usr/bin' libtool: install: /usr/bin/install -c psfex /build/psfex-3.17.1+dfsg/debian/psfex/usr/bin/psfex make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/psfex-3.17.1+dfsg/src' @@ -4088,12 +4122,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/56279/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/56279/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/7816 and its subdirectories -I: Current time: Sat Aug 8 01:58:15 -12 2020 -I: pbuilder-time-stamp: 1596895095 +I: removing directory /srv/workspace/pbuilder/56279 and its subdirectories +I: Current time: Sat Sep 11 10:22:07 +14 2021 +I: pbuilder-time-stamp: 1631305327