Diff of the two buildlogs: -- --- b1/build.log 2021-06-27 02:22:41.144626239 +0000 +++ b2/build.log 2021-06-27 02:23:44.990241938 +0000 @@ -1,9 +1,6 @@ -W: cgroups are not available on the host, not using them. -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Sat Jun 26 14:12:38 -12 2021 -I: pbuilder-time-stamp: 1624759958 +I: pbuilder: network access will be disabled during build +I: Current time: Sat Jul 30 22:45:42 +14 2022 +I: pbuilder-time-stamp: 1659170742 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -20,8 +17,8 @@ I: copying [./psfex_3.17.1+dfsg-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.lo4HLKPK/trustedkeys.kbx': General error -gpgv: Signature made Sun Aug 2 02:22:38 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.nPZ5MQJX/trustedkeys.kbx': General error +gpgv: Signature made Mon Aug 3 04:22:38 2020 +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-6.dsc @@ -37,136 +34,171 @@ 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/1724/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/42321/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-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/42321/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/42321/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,-fixfilepath 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]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(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,-fixfilepath 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=' ' - 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='1724' - PS1='# ' - PS2='> ' + INVOCATION_ID=2d293d8ce72c4c02a93535b71e929c68 + 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=42321 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.7qdy44XIpP/pbuilderrc_s1y0 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7qdy44XIpP/b1 --logfile b1/build.log psfex_3.17.1+dfsg-6.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - 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.7qdy44XIpP/pbuilderrc_ohO4 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7qdy44XIpP/b2 --logfile b2/build.log --extrapackages usrmerge psfex_3.17.1+dfsg-6.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 ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-1 (2021-06-10) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux I: ls -l /bin - total 5808 - -rwxr-xr-x 1 root root 1367848 Jun 21 14:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 25 21:27 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/1724/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Jun 22 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 30 22:45 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 30 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/42321/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -448,7 +480,7 @@ Get: 236 http://deb.debian.org/debian bullseye/main i386 libshp-dev i386 1.5.0-2 [52.9 kB] Get: 237 http://deb.debian.org/debian bullseye/main i386 libplplot-dev i386 5.15.0+dfsg-19 [244 kB] Get: 238 http://deb.debian.org/debian bullseye/main i386 pkg-config i386 0.29.2-1 [66.3 kB] -Fetched 168 MB in 1min 6s (2565 kB/s) +Fetched 168 MB in 2s (89.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1: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 ... 19675 files and directories currently installed.) @@ -1442,9 +1474,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (5238 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 33353 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. 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-6 dpkg-buildpackage: info: source distribution unstable @@ -1475,7 +1539,7 @@ ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --host=i686-linux-gnu --build=i686-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --disable-threads checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1500,10 +1564,10 @@ checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf -checking for a sed that does not truncate output... /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E -checking for fgrep... /bin/grep -F +checking for a sed that does not truncate output... /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E +checking for fgrep... /usr/bin/grep -F checking for ld used by i686-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-linux-gnu-nm -B @@ -1524,8 +1588,8 @@ checking for i686-linux-gnu-ranlib... i686-linux-gnu-ranlib checking command to parse /usr/bin/i686-linux-gnu-nm -B output from i686-linux-gnu-gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i686-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no @@ -1644,7 +1708,7 @@ config.status: executing libtool commands 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' @@ -1666,140 +1730,56 @@ i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitstab.o fitstab.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=] - 68 | QMALLOC(buf, char, FBSIZE); - | ^ +i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitswrite.o fitswrite.c +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=] + 537 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] - 86 | QREALLOC(buf, char, FBSIZE*(i+1)); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | 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=] - 131 | QMALLOC(tab->naxisn, int, tab->naxis); - | ^ +fitsbody.c:587:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 587 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitsread.c:38: -fitsread.c: In function 'init_readobj': -In file included from fitskey.c:38: -fitskey.c: In function 'copy_key': -fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 137 | QMALLOC(key->ptr, char, key->nbytes); - | ^ +fitsbody.c: In function 'read_ibody': +fitsbody.c:717:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 717 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c:137:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 137 | QCALLOC(keyout, keystruct, 1); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | 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=] - 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); - | ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #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=] - 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); - | ^ +fitsbody.c:767:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 767 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'new_key': -fitskey.c:196:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 196 | QCALLOC(key, keystruct, 1); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | 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=] - 236 | QCALLOC(key, keystruct, 1); - | ^ +In file included from fitscheck.c:38: +fitscheck.c: In function 'compute_bodysum': +In file included from fitsconv.c:38: +fitsconv.c: In function 'asc2bin_tab': +fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 225 | QCALLOC(buf, char, FBSIZE); + | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #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=] - 251 | QMALLOC(buf, char, larray); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 257 | QMALLOC(ptr, char, size*narray); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 302 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #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=] - 335 | QMALLOC(keys, keystruct *, nkeys); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:351:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 351 | QMALLOC(key->ptr, char, key->nbytes*nb); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:367:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 367 | QMALLOC(key->ptr, char, key->nbytes*nb); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:374:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 374 | QMALLOC(buf, char, larray); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] 81 | QMALLOC(buf, char, tabin->tabsize); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] - 525 | QCALLOC(names, char *, tab->nkey); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | 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=] - 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | 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=] - 528 | QCALLOC(names[i], char, MAXCHARS); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 244 | QMALLOC(buf, char, FBSIZE); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] 114 | QMALLOC(key->naxisn, int, 1); @@ -1807,79 +1787,95 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] + 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | 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=] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | 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=] - 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ +fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'show_keys': -fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 658 | QCALLOC(key_col, int, nkeys); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | 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=] - 672 | QMALLOC(keys, keystruct *, nkeys); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 786 | QMALLOC(buf, char, larray); +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=] + 68 | QMALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] - 789 | QMALLOC(rfield, char, maxnbytes); - | ^ +In file included from fitsread.c:38: +fitsread.c: In function 'init_readobj': +In file included from fitscleanup.c:39: +fitscleanup.c: In function 'add_cleanupfilename': +fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 137 | QMALLOC(key->ptr, char, key->nbytes); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] - 225 | QCALLOC(buf, char, FBSIZE); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 244 | QMALLOC(buf, char, FBSIZE); - | ^ +fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] - 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); - | ^ +fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 86 | QREALLOC(buf, char, FBSIZE*(i+1)); + | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ +In file included from fitscat.c:42: +fitscat.c: In function 'addhistoryto_cat': +fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); + | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitscat.c:42: -fitscat.c: In function 'addhistoryto_cat': fitscat.c:127:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 127 | QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | 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=] + 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] + 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] + 131 | QMALLOC(tab->naxisn, int, tab->naxis); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +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=] + 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitscat.c: In function 'inherit_cat': fitscat.c:224:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 224 | QCALLOC(tabout, tabstruct, 1); @@ -1893,77 +1889,151 @@ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | 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=] + 137 | QCALLOC(keyout, keystruct, 1); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitscat.c:230:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 230 | tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #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=] + 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); + | ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ fitscat.c:232:76: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 232 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitscat.c: In function 'init_cat': -fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 281 | QCALLOC(tab, tabstruct, 1); +fitshead.c: In function 'readbintabparam_head': +fitskey.c: In function 'new_key': +fitskey.c:196:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 196 | QCALLOC(key, keystruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 290 | QCALLOC(tab->headbuf, char, FBSIZE); - | ^ +fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 236 | QCALLOC(key, keystruct, 1); + | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 323 | QCALLOC(tab, tabstruct, 1); +fitscat.c: In function 'init_cat': +fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 281 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 342 | QCALLOC(tab, tabstruct, 1); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | 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=] - 380 | QCALLOC(cat, catstruct, ncat); - | ^ +fitscat.c:290:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 290 | QCALLOC(tab->headbuf, char, FBSIZE); + | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ In file included from fitstab.c:38: fitstab.c: In function 'copy_tab': +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=] + 251 | QMALLOC(buf, char, larray); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 207 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitscat.c: In function 'map_cat': +fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 302 | QMALLOC(key->naxisn, int, key->naxis); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] + 257 | QMALLOC(ptr, char, size*narray); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 323 | QCALLOC(tab, tabstruct, 1); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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=] 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ +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=] + 115 | QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ +fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 342 | QCALLOC(tab, tabstruct, 1); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c: In function 'read_keys': fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #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=] + 133 | QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c:335:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 335 | QMALLOC(keys, keystruct *, nkeys); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscat.c: In function 'new_cat': +fitskey.c:351:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 351 | QMALLOC(key->ptr, char, key->nbytes*nb); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 380 | QCALLOC(cat, catstruct, ncat); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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=] 286 | QCALLOC(tabout, tabstruct, 1); @@ -1971,12 +2041,30 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitskey.c:367:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 367 | QMALLOC(key->ptr, char, key->nbytes*nb); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] 289 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ +fitskey.c:374:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 374 | QMALLOC(buf, char, larray); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] + 192 | QMALLOC(buf, char, spoonful); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #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=] 291 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); | ^ @@ -1989,6 +2077,27 @@ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ +fitshead.c: In function 'addkeywordto_head': +fitskey.c: In function 'keys_list': +fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 525 | QCALLOC(names, char *, tab->nkey); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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=] + 295 | QMALLOC(*pbuf, char, tab->naxisn[0]); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #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=] 444 | QCALLOC(tab, tabstruct, 1); @@ -1996,6 +2105,19 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitshead.c: In function 'removekeywordfrom_head': +fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 528 | QCALLOC(names[i], char, MAXCHARS); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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=] + 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | 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=] 448 | QCALLOC(tab->naxisn, int, tab->naxis); | ^ @@ -2008,6 +2130,19 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitskey.c: In function 'show_keys': +fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 658 | QCALLOC(key_col, int, nkeys); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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=] + 672 | QMALLOC(keys, keystruct *, nkeys); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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=] 706 | QCALLOC(names, char *, cat->ntab); @@ -2021,60 +2156,18 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 537 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 587 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsbody.c: In function 'read_ibody': -fitsbody.c:717:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 717 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsbody.c:767:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 767 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); - | ^ +fitskey.c:786:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 786 | QMALLOC(buf, char, larray); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] - 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | 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=] - 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); - | ^ +fitskey.c:789:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 789 | QMALLOC(rfield, char, maxnbytes); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -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=] - 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitscat.c: In function 'addhistoryto_cat': fitscat.c:138:21: warning: '%.65s' directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] 138 | sprintf(str2, "%s %.65s", str2, str); @@ -2086,46 +2179,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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=] - 115 | QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 133 | QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 192 | QMALLOC(buf, char, spoonful); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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=] - 295 | QMALLOC(*pbuf, char, tab->naxisn[0]); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsbody.c: In function 'alloc_body': -fitsbody.c:119:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 119 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", - | ^~~ -In file included from /usr/include/stdio.h:867, - from fitsbody.c:34: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 558 | sprintf(str, "'%s'", str2); @@ -2137,6 +2190,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fitsbody.c: In function 'alloc_body': +fitsbody.c:119:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 119 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", + | ^~~ +In file included from /usr/include/stdio.h:867, + from fitsbody.c:34: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsbody.c: In function 'alloc_ibody': fitsbody.c:220:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 220 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", @@ -2193,191 +2257,14 @@ i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o main.o main.c -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=] - 126 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 132 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 150 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 182 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 67 | QCALLOC(field, fieldstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 188 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 85 | QMALLOC(field->psf, psfstruct *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 210 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 103 | QMALLOC(field->wcs, wcsstruct *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 116 | QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 229 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -check.c:235:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 235 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); - | ^ -field.c:134:3: note: in expansion of macro 'QCALLOC' - 134 | 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=] - 136 | QMALLOC(field->lcount, int *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #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=] - 253 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 137 | QMALLOC(field->acount, int *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 138 | QMALLOC(field->count, int *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 139 | QMALLOC(field->modchi2, double *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -check.c:277:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 277 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 140 | QMALLOC(field->modresi, double *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 283 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 143 | QCALLOC(field->lcount[e], int, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 144 | QCALLOC(field->acount[e], int, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 145 | QCALLOC(field->count[e], int, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -check.c:305:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 305 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 146 | QCALLOC(field->modchi2[e], double, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 147 | QCALLOC(field->modresi[e], double, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 325 | QCALLOC(gridsample, samplestruct *, nt); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 215 | QMALLOC(scale[i], double, field->next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 356 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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=] @@ -2386,45 +2273,15 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 363 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] 91 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 379 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 402 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 408 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ catout.c:131:7: warning: implicit declaration of function 'write_xml_header' [-Wimplicit-function-declaration] 131 | write_xml_header(ascfile); | ^~~~~~~~~~~~~~~~ -check.c:430:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 430 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] 156 | QCALLOC(asctab, tabstruct, 1); @@ -2432,12 +2289,6 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 450 | QCALLOC(gridsample, samplestruct *, nt); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] 158 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); | ^ @@ -2450,19 +2301,10 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c: In function 'field_psfsave': -check.c:481:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 481 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:462:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 462 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ +catout.c: In function 'end_outcat': +catout.c:267:5: warning: implicit declaration of function 'write_xml_meta' [-Wimplicit-function-declaration] + 267 | write_xml_meta(outcat->ascfile, NULL); + | ^~~~~~~~~~~~~~ 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=] @@ -2471,9 +2313,11 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 488 | QCALLOC(pix0, float, tab->tabsize); - | ^ +In file included from homo.c:38: +homo.c: In function 'psf_homo': +homo.c:101:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 101 | QCALLOC(moffat, moffatstruct, 1); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -2489,45 +2333,47 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 478 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] + 111 | QMEMCPY(psf->loc, target, float, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] 73 | QCALLOC(context->degree, int, ndim); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] + 118 | QMALLOC(bigbasis, float, nbigpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ context.c:74:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 74 | QCALLOC(context->pcflag, int, ndim); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 504 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -catout.c: In function 'end_outcat': context.c:75:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 75 | QCALLOC(groupflag, int, ndim); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -catout.c:267:5: warning: implicit declaration of function 'write_xml_meta' [-Wimplicit-function-declaration] - 267 | write_xml_meta(outcat->ascfile, NULL); - | ^~~~~~~~~~~~~~ -check.c:527:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 527 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] + 120 | QMALLOC(bigconv, float, nbigpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 123 | QMALLOC(basisc, float, nfree*npix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] 89 | QMALLOC(context->name[d2], char, 80); @@ -2535,15 +2381,27 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] - 533 | QCALLOC(pix0, float, tab->tabsize); - | ^ +homo.c:124:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 124 | QMALLOC(cross, double, nfree*nfree); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +homo.c:125:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 125 | QMALLOC(tcross, double, nfree); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +homo.c:167:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 167 | QCALLOC(amat, double, nfree*nfree); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 555 | QCALLOC(pix0, float, tab->tabsize); - | ^ +homo.c:168:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 168 | QCALLOC(bmat, double, nfree); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -2554,108 +2412,46 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -check.c:587:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 587 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 219 | QCALLOC(comp2, float, comp2size); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 221 | QCALLOC(bcoeff2, float, bcoeff2size); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 594 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ In file included from diagnostic.c:41: diagnostic.c: In function 'psf_diagnostic': -context.c:245:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #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=] 244 | QMALLOC(moffat, moffatstruct, nt); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -check.c:619:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 619 | QCALLOC(pix0, float, tab->tabsize); - | ^ +In file included from fitswcs.c:43: +fitswcs.c: In function 'copy_wcs': +context.c:219:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 219 | QCALLOC(comp2, float, comp2size); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitswcs.c:68:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 68 | QMEMCPY(wcsin, wcs, wcsstruct, 1); + | ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #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=] 245 | QMALLOC(pfmoffat, moffatstruct, nt); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fft.c:41: -fft.c: In function 'fft_shift': -check.c:650:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 650 | QMALLOC(vig0, float, w*h); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 300 | QMALLOC(temp, float, width*height); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -check.c:660:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 660 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -check.c:667:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 667 | QCALLOC(pix0, float, tab->tabsize); - | ^ +homo.c:231:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 231 | QCALLOC(kernel, float, npix*ncoeff); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #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=] - 696 | QCALLOC(pix0, float, tab->tabsize); +context.c:221:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 221 | QCALLOC(bcoeff2, float, bcoeff2size); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 68 | QMEMCPY(wcsin, wcs, wcsstruct, 1); - | ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -check.c:735:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 735 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); | ^ @@ -2668,12 +2464,12 @@ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 774 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] + 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] 119 | QCALLOC(wcs, wcsstruct, 1); @@ -2681,32 +2477,46 @@ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] + 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] 121 | QCALLOC(wcs->projp, double, naxis*100); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 685 | QMALLOC(fvec, float, w*h*sizeof(float)); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] + 67 | QCALLOC(field, fieldstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +homo.c: In function 'psf_savehomo': fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 142 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswcs.c: In function 'init_wcs': -check.c:818:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 818 | QCALLOC(pix0, float, tab->tabsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] + 360 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 85 | QMALLOC(field->psf, psfstruct *, next0); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] 182 | QCALLOC(wcs->lin, struct linprm, 1); | ^ @@ -2719,6 +2529,12 @@ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] + 103 | QMALLOC(field->wcs, wcsstruct *, next0); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] 184 | QCALLOC(wcs->lin->crpix, double, naxis); | ^ @@ -2731,6 +2547,12 @@ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] + 116 | QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] 190 | QCALLOC(wcs->cel, struct celprm, 1); | ^ @@ -2743,51 +2565,140 @@ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 897 | QMALLOC(list, double, size = spoonsize); - | ^ +field.c:134:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); + | ^ +field.c:134:3: note: in expansion of macro 'QCALLOC' + 134 | 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=] + 136 | QMALLOC(field->lcount, int *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] - 900 | QREALLOC(list, double, size += spoonsize); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] + 300 | QMALLOC(temp, float, width*height); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] - 920 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] + 137 | QMALLOC(field->acount, int *, next0); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +diagnostic.c: In function 'psf_normresi': +field.c:138:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 138 | QMALLOC(field->count, int *, next0); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +diagnostic.c:685:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 685 | QMALLOC(fvec, float, w*h*sizeof(float)); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 139 | QMALLOC(field->modchi2, double *, next0); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 140 | QMALLOC(field->modresi, double *, next0); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function 'read_wcs': +field.c:143:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 143 | QCALLOC(field->lcount[e], int, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] 364 | QCALLOC(wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] + 144 | QCALLOC(field->acount[e], int, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] 373 | QCALLOC(wcs->projp, double, naxis*100); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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=] - 926 | QCALLOC(pix0, float, tab->tabsize); - | ^ +main.c: In function 'main': +field.c:145:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 145 | QCALLOC(field->count[e], int, countsize); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 953 | QCALLOC(pix0, float, tab->tabsize); +main.c:83:24: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] + 83 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); + | ^~~~~~~~~~~~~~~~~~~ + | | + | const char ** +field.c:146:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 146 | QCALLOC(field->modchi2[e], double, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 147 | QCALLOC(field->modresi[e], double, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from main.c:40: +/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' + 2305 | 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=] + 86 | QMALLOC(argkey, char *, argc); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 87 | QMALLOC(argval, char *, argc); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from pca.c:38: +pca.c: In function 'pca_onsnaps': +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=] + 215 | QMALLOC(scale[i], double, field->next); | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +pca.c:79:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 79 | QCALLOC(covmat, double, npix*npix); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 954 | QMALLOC(vig0, float, w*h); +pca.c:112:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 112 | QMALLOC(basis, float, npc*npix); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ @@ -2798,127 +2709,283 @@ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +main.c:127:32: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] + 127 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); + | ^~~~~~~~~~~~~~~~~~~ + | | + | const char ** +In file included from main.c:40: +/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' + 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); + | ~~~~~~~~~~~~~~~~~^~~~ +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=] + 162 | QMALLOC(comp, double, ncat*npixt); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 206 | QCALLOC(covmat, double, ncat*ncat); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 227 | QMALLOC(vector, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 228 | QMALLOC(pc, double, ncat*npc); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 265 | QMALLOC(xmat, double, nmat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c: In function 'field_psfsave': +pca.c:268:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 268 | QMALLOC(tmat, double, nmat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c:462:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 462 | QMALLOC(key->naxisn, int, key->naxis); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +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=] + 136 | QMALLOC(fields, fieldstruct *, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 478 | QMALLOC(key->naxisn, int, key->naxis); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 126 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 132 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 198 | QMALLOC(psfsteps, float, next); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 150 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 211 | QMALLOC(cpsf, psfstruct *, ncat*next); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 182 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 188 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 233 | QMALLOC(psfbasiss, float *, next); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 210 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitswcs.c: In function 'invert_wcs': +makeit.c:240:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 240 | QMALLOC(cpsf, psfstruct *, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitswcs.c:854:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 854 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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=] + 229 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +check.c:235:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 235 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 261 | QMALLOC(cpsf, psfstruct *, ncat*next); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] 855 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #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=] + 253 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] 856 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from homo.c:38: -homo.c: In function 'psf_homo': -homo.c:101:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 101 | QCALLOC(moffat, moffatstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +check.c:277:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 277 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] - 111 | QMEMCPY(psf->loc, target, float, npix); +makeit.c:331:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 331 | QMALLOC(cpsf, psfstruct *, ncat); | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #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=] - 118 | QMALLOC(bigbasis, float, nbigpix); - | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] - 120 | QMALLOC(bigconv, float, nbigpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] + 283 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] - 123 | QMALLOC(basisc, float, nfree*npix); +check.c:305:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 305 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 325 | QCALLOC(gridsample, samplestruct *, nt); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 356 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 363 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +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=] + 140 | QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #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=] - 124 | QMALLOC(cross, double, nfree*nfree); - | ^ +vignet.c:141:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 141 | QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -homo.c:125:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 125 | QMALLOC(tcross, double, nfree); - | ^ +check.c:379:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 379 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 142 | QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -homo.c:167:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 167 | QCALLOC(amat, double, nfree*nfree); - | ^ +check.c:402:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 402 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 408 | QCALLOC(pix0, float, tab->tabsize); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 168 | QCALLOC(bmat, double, nfree); - | ^ +vignet.c:173:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 173 | QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 231 | QCALLOC(kernel, float, npix*ncoeff); +vignet.c:195:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 195 | QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 430 | QCALLOC(pix0, float, tab->tabsize); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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=] - 360 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ +vignet.c:196:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 196 | QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ + | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #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] - 83 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); - | ^~~~~~~~~~~~~~~~~~~ - | | - | const char ** -In file included from main.c:40: -/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - 2305 | 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=] - 86 | QMALLOC(argkey, char *, argc); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 87 | QMALLOC(argval, char *, argc); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -main.c:127:32: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] - 127 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); - | ^~~~~~~~~~~~~~~~~~~ - | | - | const char ** -In file included from main.c:40: -/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); - | ~~~~~~~~~~~~~~~~~^~~~ -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o makeit.o makeit.c In file included from cplot.c:42: cplot.c: In function 'cplot_init': cplot.c:167:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2927,13 +2994,119 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 197 | QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +makeit.c: In function 'make_psf': cplot.c:168:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 168 | QMALLOC(devname, char *, ndev); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 450 | QCALLOC(gridsample, samplestruct *, nt); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from psf.c:38: +psf.c: In function 'psf_clean': +makeit.c:646:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 646 | QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +psf.c:88:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 88 | QMALLOC(chi, float, nsample); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +check.c:481:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 481 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 256 | QCALLOC(psf, psfstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 258 | QMALLOC(psf->size, int, psf->dim); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 266 | QMEMCPY(context->group, group2, int, ndim); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 267 | QMEMCPY(context->name, names2, char *, ndim); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 270 | QMEMCPY(context->degree, dim2, int, context->ngroup); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 313 | QCALLOC(psf->comp, float, psf->npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 315 | QCALLOC(psf->loc, float, npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 316 | QCALLOC(psf->resi, float, npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 324 | QMALLOC(psf->contextoffset, double, ndim2); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 325 | QMALLOC(psf->contextscale, double, ndim2); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 326 | QMALLOC(psf->contextname, char *, ndim2); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c: In function 'cplot_drawloccoordgrid': +psf.c:330:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 330 | QMALLOC(psf->contextname[d], char, 80); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:525:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 525 | QMALLOC(x, PLFLT, CPLOT_NPOINTDEF); | ^ @@ -2946,13 +3119,119 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 95 | QMALLOC(fwhmmin, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 96 | QMALLOC(fwhmmax, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 386 | QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] + 97 | QMALLOC(fwhmmode, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 103 | QMALLOC(fwhm, float, nobjmax); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #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=] + 388 | QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] + 104 | QMALLOC(fwhmindex, int, ncat+1); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 111 | QMALLOC(pkeynames, char *, nkeys); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 453 | QMALLOC(newpsf, psfstruct, 1); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c: In function 'cplot_fwhm': +psf.c:456:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 456 | QMEMCPY(psf->size, newpsf->size, int, psf->dim); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] 696 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #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=] + 457 | QMALLOC(newpsf->contextname, char *, ndim); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 202 | QREALLOC(fwhm, float, nobjmax); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 460 | QMALLOC(newpsf->contextname[d], char, 80); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 465 | QMEMCPY(psf->contextoffset, newpsf->contextoffset, double, ndim); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 466 | QMEMCPY(psf->contextscale, newpsf->contextscale, double, ndim); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 471 | QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 473 | QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ cplot.c:826:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 826 | plshades(fwhm, nsnap2, nsnap2, NULL, | ^~~~ @@ -2962,6 +3241,25 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +psf.c:476:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 476 | psf->nbasis*psf->poly->ncoeff); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +sample.c: In function 'read_samples': +psf.c:477:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 477 | QMEMCPY(psf->comp, newpsf->comp, float, psf->npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +sample.c:441:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 441 | QMALLOC(cmin, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:846:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 846 | plshades(fwhm, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ @@ -2971,6 +3269,24 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +sample.c:442:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 442 | QMALLOC(cmax, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #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=] + 478 | QMEMCPY(psf->loc, newpsf->loc, float, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 479 | QMEMCPY(psf->resi, newpsf->resi, float, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ cplot.c:853:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 853 | plshades(fwhm, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ @@ -2980,14 +3296,138 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +check.c:488:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 488 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 487 | QMEMCPY(psf->moffat, newpsf->moffat, moffatstruct, nsnap); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] + 481 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 504 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 489 | QMEMCPY(psf->pfmoffat, newpsf->pfmoffat, moffatstruct, nsnap); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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=] + 491 | QMEMCPY(psf->homo_kernel, newpsf->homo_kernel, float, psf->npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #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=] + 527 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_ellipticity': +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=] + 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:928:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 928 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +psf.c: In function 'psf_make': +check.c:533:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 533 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +psf.c:532:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 532 | QCALLOC(image, float, nsample*npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 533 | QMALLOC(weight, float, nsample*npix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 555 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 534 | QMALLOC(pstack, double, nsample); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 535 | QMALLOC(wstack, double, nsample); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +check.c:587:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 587 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 536 | QMALLOC(pos, double, poly->ndim?(nsample*poly->ndim):1); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 448 | QMALLOC(listbuf, char, bufsize); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 594 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 537 | QMALLOC(basis, double, poly->ncoeff*nsample); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 458 | QREALLOC(listbuf, char, bufsize); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1058:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1058 | plshades(ellip, nsnap2, nsnap2, NULL, | ^~~~~ @@ -2997,6 +3437,12 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +check.c:619:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 619 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1076:12: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1076 | plshades(ellip, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~~ @@ -3006,14 +3452,112 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +check.c:650:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 650 | QMALLOC(vig0, float, w*h); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 675 | QCALLOC(dresi, double, npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +check.c:660:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 660 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c: In function 'malloc_samples': In file included from cplot.c:42: cplot.c: In function 'cplot_moffatresi': +sample.c:976:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 976 | QMALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 687 | QMALLOC(cdata, float, ncpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +check.c:667:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 667 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1146:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 1146 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 688 | QMALLOC(cbasis, float, ncpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 980 | QMALLOC(sample->vig, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 689 | QMALLOC(cvigw, float, ncpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #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=] + 696 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 981 | QMALLOC(sample->vigresi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 690 | QMALLOC(cvigx, double, ncpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 982 | QMALLOC(sample->vigweight, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 691 | QMALLOC(cvigy, double, ncpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +check.c:735:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 735 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 983 | QMALLOC(sample->vigchi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1274:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1274 | plshades(resi, nsnap2, nsnap2, NULL, | ^~~~ @@ -3023,6 +3567,19 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +sample.c:985:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 985 | QMALLOC(sample->context, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 774 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c: In function 'realloc_samples': cplot.c:1292:12: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1292 | plshades(resi, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ @@ -3032,14 +3589,87 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +sample.c:1017:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1017 | QREALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 1021 | QMALLOC(sample->vig, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 818 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 871 | QMALLOC(fresi, float, npix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_asymresi': +sample.c:1022:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1022 | QMALLOC(sample->vigresi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1365:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 1365 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 1023 | QMALLOC(sample->vigchi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +psf.c: In function 'psf_refine': +sample.c:1024:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1024 | QMALLOC(sample->vigweight, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +psf.c:942:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 942 | QCALLOC(vecvig, float, nvpix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 1026 | QMALLOC(sample->context, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 947 | QCALLOC(desmat, double, npsf*ndata); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 1041 | QREALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | 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=] + 948 | QCALLOC(desindex, int, npsf*ndata); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1493:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1493 | plshades(resi, nsnap2, nsnap2, NULL, | ^~~~ @@ -3049,6 +3679,25 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +sample.c: In function 'init_set': +psf.c:949:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 949 | QMALLOC(bmat, double, nvpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #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=] + 1135 | QCALLOC(set, setstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 951 | QMALLOC(coeffmat, double, ncoeff*ncoeff); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1511:12: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1511 | plshades(resi, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ @@ -3058,15 +3707,68 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +sample.c:1138:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1138 | QMALLOC(set->vigsize, int, set->vigdim); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 953 | QMALLOC(vig, float, nvpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 1142 | QMALLOC(set->contextoffset, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 955 | QMALLOC(sigvig, double, nvpix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_counts': -i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o misc.o misc.c +sample.c:1143:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1143 | QMALLOC(set->contextscale, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 957 | QCALLOC(alphamat, double, nunknown*nunknown); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1579:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 1579 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 958 | QCALLOC(betamat, double, nunknown); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 1144 | QMALLOC(set->contextname, char *, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 1146 | QMALLOC(set->contextname[i], char, 80); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1663:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1663 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ @@ -3085,14 +3787,40 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +psf.c:1139:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1139 | QMALLOC(psf->basiscoeff, float, nunknown); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_countfrac': +psf.c:1142:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1142 | QMALLOC(betamat2, double, ncoeff); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1738:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 1738 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 1193 | QMALLOC(data, double, ndata*ncoeff); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 1253 | QMEMCPY(psf->comp, psforder, float, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ cplot.c:1823:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1823 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ @@ -3102,6 +3830,12 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +psf.c:1261:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1261 | QCALLOC(psf->pixmask, int, npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1840:12: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1840 | plshades(count, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, cmin,cmax, clevel, | ^~~~~ @@ -3111,14 +3845,57 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +check.c:897:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 897 | QMALLOC(list, double, size = spoonsize); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 1292 | QCALLOC(psf->basis, float, npsf*npix); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_modchi2': +check.c:900:51: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 900 | QREALLOC(list, double, size += spoonsize); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1898:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 1898 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +psf.c: In function 'psf_pshapelet': +check.c:920:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 920 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +psf.c:1396:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1396 | QMALLOC(fr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 926 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | 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=] + 1397 | QMALLOC(fexpr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1982:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1982 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ @@ -3128,15 +3905,39 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +psf.c:1398:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1398 | QMALLOC(ftheta, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 953 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:1999:12: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1999 | plshades(count, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, cmin,cmax, clevel, | ^~~~~ | | | PLFLT ** {aka double **} +check.c:954:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 954 | QMALLOC(vig0, float, w*h); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:39: /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ +psf.c:1422:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1422 | QCALLOC(*basis, float, w*h*kmax); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_modresi': cplot.c:2057:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -3145,6 +3946,19 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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=] + 1523 | QMALLOC(pixin, PIXTYPE, npixin); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | 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=] + 1525 | QMALLOC(psf->basis, float, ncomp*npixout); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ cplot.c:2141:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 2141 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ @@ -3167,111 +3981,14 @@ cplot.c:136:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | system(str); | ^~~~~~~~~~~ -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=] - 136 | QMALLOC(fields, fieldstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 198 | QMALLOC(psfsteps, float, next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 211 | QMALLOC(cpsf, psfstruct *, ncat*next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 233 | QMALLOC(psfbasiss, float *, next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 240 | QMALLOC(cpsf, psfstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 261 | QMALLOC(cpsf, psfstruct *, ncat*next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 331 | QMALLOC(cpsf, psfstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 646 | QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o pca.o pca.c -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=] - 79 | QCALLOC(covmat, double, npix*npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 112 | QMALLOC(basis, float, npc*npix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 162 | QMALLOC(comp, double, ncat*npixt); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 206 | QCALLOC(covmat, double, ncat*ncat); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 227 | QMALLOC(vector, float, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 228 | QMALLOC(pc, double, ncat*npc); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 265 | QMALLOC(xmat, double, nmat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 268 | QMALLOC(tmat, double, nmat); - | ^ +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=] + 71 | QMALLOC(field_xml, fieldstruct *, ncat); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | 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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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=] 132 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", | ^~ @@ -3515,659 +4232,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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=] - 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 448 | QMALLOC(listbuf, char, bufsize); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 458 | QREALLOC(listbuf, char, bufsize); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o psf.o psf.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=] - 88 | QMALLOC(chi, float, nsample); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 256 | QCALLOC(psf, psfstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 258 | QMALLOC(psf->size, int, psf->dim); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 266 | QMEMCPY(context->group, group2, int, ndim); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 267 | QMEMCPY(context->name, names2, char *, ndim); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 270 | QMEMCPY(context->degree, dim2, int, context->ngroup); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 313 | QCALLOC(psf->comp, float, psf->npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 315 | QCALLOC(psf->loc, float, npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 316 | QCALLOC(psf->resi, float, npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 324 | QMALLOC(psf->contextoffset, double, ndim2); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 325 | QMALLOC(psf->contextscale, double, ndim2); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 326 | QMALLOC(psf->contextname, char *, ndim2); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 330 | QMALLOC(psf->contextname[d], char, 80); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 386 | QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 388 | QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 453 | QMALLOC(newpsf, psfstruct, 1); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 456 | QMEMCPY(psf->size, newpsf->size, int, psf->dim); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 457 | QMALLOC(newpsf->contextname, char *, ndim); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 460 | QMALLOC(newpsf->contextname[d], char, 80); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 465 | QMEMCPY(psf->contextoffset, newpsf->contextoffset, double, ndim); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 466 | QMEMCPY(psf->contextscale, newpsf->contextscale, double, ndim); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 471 | QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 473 | QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 476 | psf->nbasis*psf->poly->ncoeff); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 477 | QMEMCPY(psf->comp, newpsf->comp, float, psf->npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 478 | QMEMCPY(psf->loc, newpsf->loc, float, npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 479 | QMEMCPY(psf->resi, newpsf->resi, float, npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 487 | QMEMCPY(psf->moffat, newpsf->moffat, moffatstruct, nsnap); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 489 | QMEMCPY(psf->pfmoffat, newpsf->pfmoffat, moffatstruct, nsnap); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 491 | QMEMCPY(psf->homo_kernel, newpsf->homo_kernel, float, psf->npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 532 | QCALLOC(image, float, nsample*npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 533 | QMALLOC(weight, float, nsample*npix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 534 | QMALLOC(pstack, double, nsample); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 535 | QMALLOC(wstack, double, nsample); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 536 | QMALLOC(pos, double, poly->ndim?(nsample*poly->ndim):1); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 537 | QMALLOC(basis, double, poly->ncoeff*nsample); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 675 | QCALLOC(dresi, double, npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 687 | QMALLOC(cdata, float, ncpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 688 | QMALLOC(cbasis, float, ncpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 689 | QMALLOC(cvigw, float, ncpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 690 | QMALLOC(cvigx, double, ncpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 691 | QMALLOC(cvigy, double, ncpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 871 | QMALLOC(fresi, float, npix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 942 | QCALLOC(vecvig, float, nvpix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 947 | QCALLOC(desmat, double, npsf*ndata); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 948 | QCALLOC(desindex, int, npsf*ndata); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 949 | QMALLOC(bmat, double, nvpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 951 | QMALLOC(coeffmat, double, ncoeff*ncoeff); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 953 | QMALLOC(vig, float, nvpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 955 | QMALLOC(sigvig, double, nvpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 957 | QCALLOC(alphamat, double, nunknown*nunknown); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 958 | QCALLOC(betamat, double, nunknown); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 1139 | QMALLOC(psf->basiscoeff, float, nunknown); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1142 | QMALLOC(betamat2, double, ncoeff); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1193 | QMALLOC(data, double, ndata*ncoeff); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1253 | QMEMCPY(psf->comp, psforder, float, npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | 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=] - 1261 | QCALLOC(psf->pixmask, int, npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 1292 | QCALLOC(psf->basis, float, npsf*npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 1396 | QMALLOC(fr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1397 | QMALLOC(fexpr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1398 | QMALLOC(ftheta, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1422 | QCALLOC(*basis, float, w*h*kmax); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 1523 | QMALLOC(pixin, PIXTYPE, npixin); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1525 | QMALLOC(psf->basis, float, ncomp*npixout); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c -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=] - 95 | QMALLOC(fwhmmin, float, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 96 | QMALLOC(fwhmmax, float, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 97 | QMALLOC(fwhmmode, float, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 103 | QMALLOC(fwhm, float, nobjmax); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 104 | QMALLOC(fwhmindex, int, ncat+1); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 111 | QMALLOC(pkeynames, char *, nkeys); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 202 | QREALLOC(fwhm, float, nobjmax); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 441 | QMALLOC(cmin, double, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 442 | QMALLOC(cmax, double, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 481 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 976 | QMALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 980 | QMALLOC(sample->vig, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 981 | QMALLOC(sample->vigresi, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 982 | QMALLOC(sample->vigweight, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 983 | QMALLOC(sample->vigchi, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 985 | QMALLOC(sample->context, double, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1017 | QREALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 1021 | QMALLOC(sample->vig, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1022 | QMALLOC(sample->vigresi, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1023 | QMALLOC(sample->vigchi, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1024 | QMALLOC(sample->vigweight, float, set->nvig); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1026 | QMALLOC(sample->context, double, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1041 | QREALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 1135 | QCALLOC(set, setstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 1138 | QMALLOC(set->vigsize, int, set->vigdim); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1142 | QMALLOC(set->contextoffset, double, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1143 | QMALLOC(set->contextscale, double, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1144 | QMALLOC(set->contextname, char *, set->ncontext); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 1146 | QMALLOC(set->contextname[i], char, 80); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -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=] - 140 | QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 141 | QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 142 | QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | 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=] - 173 | QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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=] - 195 | QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 196 | QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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=] - 197 | QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | 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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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=] - 71 | QMALLOC(field_xml, fieldstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ 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=] 545 | sprintf(str, "*Error*: %s parameter not found in catalogue ", @@ -4207,7 +4271,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link i686-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -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' @@ -4216,7 +4280,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' @@ -4255,7 +4319,7 @@ make[2]: Entering directory '/build/psfex-3.17.1+dfsg/man' make[3]: Entering directory '/build/psfex-3.17.1+dfsg/man' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/psfex-3.17.1+dfsg/debian/psfex/usr/share/man/man1' + /usr/bin/mkdir -p '/build/psfex-3.17.1+dfsg/debian/psfex/usr/share/man/man1' /usr/bin/install -c -m 644 psfex.1 '/build/psfex-3.17.1+dfsg/debian/psfex/usr/share/man/man1' make[3]: Leaving directory '/build/psfex-3.17.1+dfsg/man' make[2]: Leaving directory '/build/psfex-3.17.1+dfsg/man' @@ -4284,8 +4348,8 @@ make[3]: Leaving directory '/build/psfex-3.17.1+dfsg/src/wcs' 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' + /usr/bin/mkdir -p '/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' @@ -4294,7 +4358,7 @@ make[2]: Entering directory '/build/psfex-3.17.1+dfsg' make[3]: Entering directory '/build/psfex-3.17.1+dfsg' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/psfex-3.17.1+dfsg/debian/psfex/usr/share/psfex' + /usr/bin/mkdir -p '/build/psfex-3.17.1+dfsg/debian/psfex/usr/share/psfex' /usr/bin/install -c -m 644 config/default.conv config/default.psfex config/prepsfex.param config/prepsfex.sex xsl/psfex.xsl '/build/psfex-3.17.1+dfsg/debian/psfex/usr/share/psfex' make[3]: Leaving directory '/build/psfex-3.17.1+dfsg' make[2]: Leaving directory '/build/psfex-3.17.1+dfsg' @@ -4319,19 +4383,22 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'psfex-dbgsym' in '../psfex-dbgsym_3.17.1+dfsg-6_i386.deb'. dpkg-deb: building package 'psfex' in '../psfex_3.17.1+dfsg-6_i386.deb'. +dpkg-deb: building package 'psfex-dbgsym' in '../psfex-dbgsym_3.17.1+dfsg-6_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../psfex_3.17.1+dfsg-6_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) +I: copying local configuration +I: user script /srv/workspace/pbuilder/42321/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/42321/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/1724 and its subdirectories -I: Current time: Sat Jun 26 14:22:40 -12 2021 -I: pbuilder-time-stamp: 1624760560 +I: removing directory /srv/workspace/pbuilder/42321 and its subdirectories +I: Current time: Sat Jul 30 22:46:44 +14 2022 +I: pbuilder-time-stamp: 1659170804