Diff of the two buildlogs: -- --- b1/build.log 2021-08-25 04:04:46.450511195 +0000 +++ b2/build.log 2021-08-25 04:40:49.741915582 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 24 15:27:11 -12 2021 -I: pbuilder-time-stamp: 1629862031 +I: Current time: Wed Sep 28 00:27:50 +14 2022 +I: pbuilder-time-stamp: 1664274470 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./dpuser_4.0+dfsg-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.u8IUSGgx/trustedkeys.kbx': General error -gpgv: Signature made Wed Nov 18 23:25:46 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.i_Fo8ZfD/trustedkeys.kbx': General error +gpgv: Signature made Fri Nov 20 01:25:46 2020 +14 gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./dpuser_4.0+dfsg-3.dsc @@ -39,135 +39,169 @@ dpkg-source: info: applying Add-missing-QPainterPath-header.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25683/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12677/tmp/hooks/D01_modify_environment starting +debug: Running on codethink15-arm64. +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/12677/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12677/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='25683' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=12677 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.L6vGFPDLxL/pbuilderrc_afwN --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.L6vGFPDLxL/b1 --logfile b1/build.log dpuser_4.0+dfsg-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.L6vGFPDLxL/pbuilderrc_1RAS --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.L6vGFPDLxL/b2 --logfile b2/build.log dpuser_4.0+dfsg-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07:09 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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 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 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 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 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 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/25683/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 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 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 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 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 28 00:28 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 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/12677/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -415,7 +449,7 @@ Get: 182 http://deb.debian.org/debian bullseye/main arm64 libxpa1 arm64 2.1.20-1 [51.6 kB] Get: 183 http://deb.debian.org/debian bullseye/main arm64 libxpa-dev arm64 2.1.20-1 [354 kB] Get: 184 http://deb.debian.org/debian bullseye/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-2 [189 kB] -Fetched 83.9 MB in 3s (26.5 MB/s) +Fetched 83.9 MB in 2s (52.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -1178,7 +1212,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/dpuser-4.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../dpuser_4.0+dfsg-3_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/dpuser-4.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../dpuser_4.0+dfsg-3_source.changes dpkg-buildpackage: info: source package dpuser dpkg-buildpackage: info: source version 4.0+dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -1321,11 +1356,6 @@ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsSingleBuffer.o QFitsBuffers/QFitsSingleBuffer.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsMultiBuffer.o QFitsBuffers/QFitsMultiBuffer.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsScroller.o QFitsScroller.cpp -In file included from QFitsBuffers/QFitsBaseBuffer.cpp:3: -QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsBaseWidget.o QFitsWidgets/QFitsBaseWidget.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, @@ -1419,175 +1449,6 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsBaseBuffer.cpp:9: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsBaseBuffer.cpp:9: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ -In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsBaseBuffer.cpp:9: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsBaseBuffer.cpp:9: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from QFitsMainWindow.cpp:38: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from QFitsMainWindow.cpp:38: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ In file included from main.cpp:12: resources/splash.xpm: At global scope: resources/splash.xpm:3:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -1653,10 +1514,6 @@ resources/splash.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | "] c #827261", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ resources/splash.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | "^ c #6A5F52", | ^~~~~~~~~~~~~~ @@ -2074,17 +1931,6 @@ resources/splash.xpm:162:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | "B. c #996227", | ^~~~~~~~~~~~~~ -In file included from QFitsMainWindow.h:20, - from QFitsMainWindow.cpp:38: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from QFitsMainWindow.h:20, - from QFitsMainWindow.cpp:38: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ resources/splash.xpm:163:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | "C. c #44403C", | ^~~~~~~~~~~~~~ @@ -2645,23 +2491,98 @@ resources/splash.xpm:492:643: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash.xpm:492:643: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash.xpm:492:643: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsMainWindow.cpp:40: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ -In file included from QFitsMainWindow.cpp:42: -../QFitsView/QFitsWidgets/QFitsWidget1D.h: At global scope: -../QFitsView/QFitsWidgets/QFitsWidget1D.h:100:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] - 100 | const Fits* const getEstimateFitGX() { return &estimatefitgx;} - | ^~~~~ -../QFitsView/QFitsWidgets/QFitsWidget1D.h:101:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] - 101 | const Fits* const getEstimateFitGY() { return &estimatefitgy;} - | ^~~~~ -../QFitsView/QFitsWidgets/QFitsWidget1D.h:102:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] - 102 | const Fits* const getFitResult() { return &fitResult;} - | ^~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsMainWindow.h:20, + from QFitsMainWindow.cpp:38: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsMainWindow.h:20, + from QFitsMainWindow.cpp:38: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from QFitsMainWindow.h:20, + from QFitsMainWindow.cpp:38: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from QFitsMainWindow.h:20, + from QFitsMainWindow.cpp:38: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -2761,13 +2682,23 @@ 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsScroller.cpp:6: + from QFitsMainWindow.cpp:40: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -In file included from QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsBuffers/QFitsSingleBuffer.cpp:4: +In file included from QFitsMainWindow.cpp:42: +../QFitsView/QFitsWidgets/QFitsWidget1D.h: At global scope: +../QFitsView/QFitsWidgets/QFitsWidget1D.h:100:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] + 100 | const Fits* const getEstimateFitGX() { return &estimatefitgx;} + | ^~~~~ +../QFitsView/QFitsWidgets/QFitsWidget1D.h:101:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] + 101 | const Fits* const getEstimateFitGY() { return &estimatefitgy;} + | ^~~~~ +../QFitsView/QFitsWidgets/QFitsWidget1D.h:102:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] + 102 | const Fits* const getFitResult() { return &fitResult;} + | ^~~~~ +In file included from QFitsBuffers/QFitsBaseBuffer.cpp:3: QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } @@ -2775,7 +2706,8 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from QFitsScroller.cpp:10: + from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsMultiBuffer.cpp:7: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -2790,7 +2722,8 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from QFitsScroller.cpp:10: + from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsMultiBuffer.cpp:7: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -2851,15 +2784,121 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from QFitsScroller.cpp:10: +In file included from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsMultiBuffer.cpp:7: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ -In file included from QFitsScroller.cpp:10: +In file included from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsMultiBuffer.cpp:7: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +In file included from QFitsBuffers/QFitsMultiBuffer.h:5, + from QFitsBuffers/QFitsMultiBuffer.cpp:8: +QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsBaseBuffer.cpp:9: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsBaseBuffer.cpp:9: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsBaseBuffer.cpp:9: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsBaseBuffer.cpp:9: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +In file included from QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsBuffers/QFitsSingleBuffer.cpp:4: +QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -2963,11 +3002,110 @@ ../QFitsView/QFitsWidgets/QFitsWidget1D.h:102:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 102 | const Fits* const getFitResult() { return &fitResult;} | ^~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsScroller.cpp:6: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsScroller.cpp:10: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from QFitsBuffers/QFitsSingleBuffer.cpp:14: +../QFitsView/QFitsWidgets/QFitsWidgetTable.h: In member function 'virtual int QFitsTableModel::translateColumnNumber(int*) const': +../QFitsView/QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] + 77 | virtual int translateColumnNumber(int *section) const { return -1; } + | ~~~~~^~~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsScroller.cpp:10: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from QFitsScroller.cpp:10: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from QFitsScroller.cpp:10: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsMultiBuffer.cpp:7: + from QFitsWidgets/QFitsBaseWidget.cpp:5: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -2983,7 +3121,7 @@ from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsMultiBuffer.cpp:7: + from QFitsWidgets/QFitsBaseWidget.cpp:5: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -3045,28 +3183,23 @@ 403 | dpuserType evaluate() { body->evaluate(); } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsMultiBuffer.cpp:7: + from QFitsWidgets/QFitsBaseWidget.cpp:5: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsMultiBuffer.cpp:7: + from QFitsWidgets/QFitsBaseWidget.cpp:5: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -In file included from QFitsBuffers/QFitsMultiBuffer.h:5, - from QFitsBuffers/QFitsMultiBuffer.cpp:8: -QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsWidgets/QFitsBaseWidget.cpp:7: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget1D.o QFitsWidgets/QFitsWidget1D.cpp -In file included from QFitsBuffers/QFitsSingleBuffer.cpp:14: -../QFitsView/QFitsWidgets/QFitsWidgetTable.h: In member function 'virtual int QFitsTableModel::translateColumnNumber(int*) const': -../QFitsView/QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] - 77 | virtual int translateColumnNumber(int *section) const { return -1; } - | ~~~~~^~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:134:19: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] 134 | QApplication::setColorSpec(QApplication::CustomColor); @@ -3084,6 +3217,29 @@ /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here 106 | QT_DEPRECATED static void setColorSpec(int); | ^~~~~~~~~~~~ +QFitsMainView.cpp: In member function 'virtual void dummyBuffer::mousePressEvent(QMouseEvent*)': +QFitsMainView.cpp:19:48: warning: unused parameter 'e' [-Wunused-parameter] + 19 | void dummyBuffer::mousePressEvent(QMouseEvent *e) { + | ~~~~~~~~~~~~~^ +QFitsMainView.cpp: In member function 'virtual void QFitsGrid::paintEvent(QPaintEvent*)': +QFitsMainView.cpp:47:41: warning: unused parameter 'e' [-Wunused-parameter] + 47 | void QFitsGrid::paintEvent(QPaintEvent *e) { + | ~~~~~~~~~~~~~^ +QFitsMainView.cpp: In member function 'void QFitsGrid::addWidget(QWidget*)': +QFitsMainView.cpp:60:9: warning: unused variable 'where' [-Wunused-variable] + 60 | int where = activeID; + | ^~~~~ +QFitsMainView.cpp: In member function 'void QFitsMainView::playTetris()': +QFitsMainView.cpp:595:53: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] + 595 | qsrand(QTime(0,0,0).secsTo(QTime::currentTime())); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QResizeEvent:1, + from QFitsMainView.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1278:81: note: declared here + 1278 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); + | ^~~~~~ In file included from QFitsMainWindow.cpp:73: resources/mpe.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4 | "115 109 17 1", @@ -3914,22 +4070,6 @@ resources/telescope.xpm:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | "N. c #2798CA", | ^~~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ resources/telescope.xpm:153:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | "B. c #3EA0C7", | ^~~~~~~~~~~~~~ @@ -3996,14 +4136,9 @@ resources/telescope.xpm:174:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | "Q. c #71BECB", | ^~~~~~~~~~~~~~ -QFitsBuffers/QFitsBaseBuffer.cpp: In member function 'QFV::Orientation QFitsBaseBuffer::getCubeSpecOrientation()': -QFitsBuffers/QFitsBaseBuffer.cpp:535:30: warning: comparison between 'enum QFV::Orientation' and 'enum Qt::Orientation' [-Wenum-compare] - 535 | if ((cubeSpecOrientation == Qt::Vertical) && - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ resources/telescope.xpm:175:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | "!. c #79BBC7", | ^~~~~~~~~~~~~~ -QFitsBuffers/QFitsBaseBuffer.cpp:535:30: warning: comparison between types 'QFV::Orientation' and 'Qt::Orientation' [-Wsign-compare] resources/telescope.xpm:176:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | "~. c #60B3D0", | ^~~~~~~~~~~~~~ @@ -4049,29 +4184,6 @@ resources/telescope.xpm:190:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | ".X c #7DCAD7", | ^~~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ resources/telescope.xpm:191:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 191 | "XX c #7AC7D4", | ^~~~~~~~~~~~~~ @@ -4093,10 +4205,6 @@ resources/telescope.xpm:197:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 197 | "$X c #CDBEBE", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ resources/telescope.xpm:198:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | "%X c #C7B4B4", | ^~~~~~~~~~~~~~ @@ -4109,26 +4217,12 @@ resources/telescope.xpm:201:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 201 | "=X c #89C7B9", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ resources/telescope.xpm:202:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 202 | "-X c #94C9BB", | ^~~~~~~~~~~~~~ resources/telescope.xpm:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 203 | ";X c #A3C8BE", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ resources/telescope.xpm:204:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | ":X c #FCF8B3", | ^~~~~~~~~~~~~~ @@ -4144,29 +4238,9 @@ resources/telescope.xpm:208:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | "1X c #91D5C6", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ resources/telescope.xpm:209:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 209 | "2X c #95DACA", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ resources/telescope.xpm:210:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 210 | "3X c #9BDECE", | ^~~~~~~~~~~~~~ @@ -4176,10 +4250,6 @@ resources/telescope.xpm:212:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 212 | "5X c #82CDDB", | ^~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ resources/telescope.xpm:213:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 213 | "6X c #89C7D4", | ^~~~~~~~~~~~~~ @@ -4258,17 +4328,6 @@ resources/telescope.xpm:238:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 238 | "cX c #ABEDFD", | ^~~~~~~~~~~~~~ -In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ resources/telescope.xpm:239:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | "vX c #A3E8F7", | ^~~~~~~~~~~~~~ @@ -4510,12 +4569,6 @@ resources/telescope.xpm:774:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/telescope.xpm:774:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/telescope.xpm:774:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsWidgets/QFitsBaseWidget.cpp:7: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ resources/telescope.xpm:774:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/telescope.xpm:774:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/telescope.xpm:774:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -4895,6 +4948,23 @@ QFitsMainWindow.cpp:1268:45: warning: unused parameter 'dummy' [-Wunused-parameter] 1268 | void QFitsMainWindow::updateLinemapInfo(int dummy) { | ~~~~^~~~~ +In file included from QFitsBuffers/QFitsMultiBuffer.cpp:16: +../QFitsView/QFitsWidgets/QFitsWidgetTable.h: In member function 'virtual int QFitsTableModel::translateColumnNumber(int*) const': +../QFitsView/QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] + 77 | virtual int translateColumnNumber(int *section) const { return -1; } + | ~~~~~^~~~~~~ +QFitsBuffers/QFitsMultiBuffer.cpp: In member function 'virtual void QFitsMultiBuffer::showCubePlot()': +QFitsBuffers/QFitsMultiBuffer.cpp:546:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 546 | for (int i = 0; i < dpData->dparrvalue->size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +QFitsBuffers/QFitsMultiBuffer.cpp: In member function 'virtual void QFitsMultiBuffer::setCubeSpecOrientation(QFV::Orientation, bool)': +QFitsBuffers/QFitsMultiBuffer.cpp:605:12: warning: comparison between 'enum QFV::Orientation' and 'enum Qt::Orientation' [-Wenum-compare] + 605 | if ((o == Qt::Vertical) && + | ~~^~~~~~~~~~~~~~~ +QFitsBuffers/QFitsMultiBuffer.cpp:605:12: warning: comparison between types 'QFV::Orientation' and 'Qt::Orientation' [-Wsign-compare] +main.cpp:112:19: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 112 | getcwd(cwd, 255); + | ~~~~~~^~~~~~~~~~ QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::userMenuClicked(int)': QFitsMainWindow.cpp:1343:43: warning: unused parameter 'id' [-Wunused-parameter] 1343 | void QFitsMainWindow::userMenuClicked(int id) { @@ -4903,6 +4973,62 @@ QFitsMainWindow.cpp:1416:17: warning: unused variable 'i' [-Wunused-variable] 1416 | int i; | ^ +QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::setCubeSpecOrientation(QFV::Orientation, bool)': +QFitsBuffers/QFitsSingleBuffer.cpp:1275:12: warning: comparison between 'enum QFV::Orientation' and 'enum Qt::Orientation' [-Wenum-compare] + 1275 | if ((o == Qt::Vertical) && + | ~~^~~~~~~~~~~~~~~ +QFitsBuffers/QFitsSingleBuffer.cpp:1275:12: warning: comparison between types 'QFV::Orientation' and 'Qt::Orientation' [-Wsign-compare] +QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::updateLinemapDialog()': +QFitsBuffers/QFitsSingleBuffer.cpp:1496:56: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 1496 | text1.sprintf("%8.5f", start_wavelength); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from QFitsBuffers/QFitsSingleBuffer.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsBuffers/QFitsSingleBuffer.cpp:1497:54: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 1497 | text2.sprintf("%8.5f", end_wavelength); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from QFitsBuffers/QFitsSingleBuffer.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsBuffers/QFitsSingleBuffer.cpp:1500:105: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 1500 | textInfo.sprintf("Center at %8.5f +- %8.5f %s", start_wavelength,width_wavelength, value); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from QFitsBuffers/QFitsSingleBuffer.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsBuffers/QFitsSingleBuffer.cpp:1505:33: warning: format '%i' expects argument of type 'int', but argument 3 has type 'dpint64' {aka 'long long int'} [-Wformat=] + 1505 | text2.sprintf("%i", Naxis(3)); + | ~^ ~~~~~~~~ + | | | + | int dpint64 {aka long long int} + | %lli +QFitsBuffers/QFitsSingleBuffer.cpp:1505:45: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 1505 | text2.sprintf("%i", Naxis(3)); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from QFitsBuffers/QFitsSingleBuffer.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::updateScaling()': +QFitsBuffers/QFitsSingleBuffer.cpp:1600:24: warning: statement has no effect [-Wunused-value] + 1600 | tableViewDirty == false; + | ~~~~~~~~~~~~~~~^~~~~~~~ QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::dpuserView(const string&)': QFitsMainWindow.cpp:1895:32: warning: unused variable 'sb' [-Wunused-variable] 1895 | QFitsSingleBuffer *sb = dynamic_cast(bb); @@ -4910,6 +5036,10 @@ QFitsMainWindow.cpp:1896:32: warning: unused variable 'mb' [-Wunused-variable] 1896 | QFitsMultiBuffer *mb = dynamic_cast(bb); | ^~ +QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::createManualSpectrum()': +QFitsBuffers/QFitsSingleBuffer.cpp:1834:41: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1834 | sprintf(manualSpectrum->crtype, ""); + | ^~ QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::FileSystemChanged(const QString&)': QFitsMainWindow.cpp:2284:46: warning: 'static QSet QSet::fromList(const QList&) [with T = QString]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] 2284 | QSet newDirSet = QSet::fromList(newEntryList); @@ -4966,32 +5096,12 @@ /usr/include/aarch64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ -main.cpp:112:19: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 112 | getcwd(cwd, 255); - | ~~~~~~^~~~~~~~~~ -QFitsMainView.cpp: In member function 'virtual void dummyBuffer::mousePressEvent(QMouseEvent*)': -QFitsMainView.cpp:19:48: warning: unused parameter 'e' [-Wunused-parameter] - 19 | void dummyBuffer::mousePressEvent(QMouseEvent *e) { - | ~~~~~~~~~~~~~^ -QFitsMainView.cpp: In member function 'virtual void QFitsGrid::paintEvent(QPaintEvent*)': -QFitsMainView.cpp:47:41: warning: unused parameter 'e' [-Wunused-parameter] - 47 | void QFitsGrid::paintEvent(QPaintEvent *e) { - | ~~~~~~~~~~~~~^ -QFitsMainView.cpp: In member function 'void QFitsGrid::addWidget(QWidget*)': -QFitsMainView.cpp:60:9: warning: unused variable 'where' [-Wunused-variable] - 60 | int where = activeID; - | ^~~~~ -QFitsMainView.cpp: In member function 'void QFitsMainView::playTetris()': -QFitsMainView.cpp:595:53: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] - 595 | qsrand(QTime(0,0,0).secsTo(QTime::currentTime())); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QResizeEvent:1, - from QFitsMainView.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1278:81: note: declared here - 1278 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); - | ^~~~~~ +QFitsBuffers/QFitsBaseBuffer.cpp: In member function 'QFV::Orientation QFitsBaseBuffer::getCubeSpecOrientation()': +QFitsBuffers/QFitsBaseBuffer.cpp:535:30: warning: comparison between 'enum QFV::Orientation' and 'enum Qt::Orientation' [-Wenum-compare] + 535 | if ((cubeSpecOrientation == Qt::Vertical) && + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +QFitsBuffers/QFitsBaseBuffer.cpp:535:30: warning: comparison between types 'QFV::Orientation' and 'Qt::Orientation' [-Wsign-compare] +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget2D.o QFitsWidgets/QFitsWidget2D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -5101,6 +5211,18 @@ ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ +In file included from QFitsMainWindow.h:20, + from QFitsMainWindow.cpp:38: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ +In file included from ./QFitsMainWindow.h:20, + from QFitsBuffers/QFitsMultiBuffer.cpp:7: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from QFitsWidgets/QFitsWidget1D.cpp:14: ./resources/xicon_red.xpm: At global scope: ./resources/xicon_red.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -5221,112 +5343,32 @@ QFitsWidgets/QFitsWidget1D.cpp:1182:13: warning: unused variable 'hh' [-Wunused-variable] 1182 | int hh = l1->height() / (nlines+3); | ^~ -QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::setCubeSpecOrientation(QFV::Orientation, bool)': -QFitsBuffers/QFitsSingleBuffer.cpp:1275:12: warning: comparison between 'enum QFV::Orientation' and 'enum Qt::Orientation' [-Wenum-compare] - 1275 | if ((o == Qt::Vertical) && - | ~~^~~~~~~~~~~~~~~ -QFitsBuffers/QFitsSingleBuffer.cpp:1275:12: warning: comparison between types 'QFV::Orientation' and 'Qt::Orientation' [-Wsign-compare] -QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::updateLinemapDialog()': -QFitsBuffers/QFitsSingleBuffer.cpp:1496:56: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 1496 | text1.sprintf("%8.5f", start_wavelength); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from QFitsBuffers/QFitsSingleBuffer.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -QFitsBuffers/QFitsSingleBuffer.cpp:1497:54: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 1497 | text2.sprintf("%8.5f", end_wavelength); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from QFitsBuffers/QFitsSingleBuffer.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -QFitsBuffers/QFitsSingleBuffer.cpp:1500:105: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 1500 | textInfo.sprintf("Center at %8.5f +- %8.5f %s", start_wavelength,width_wavelength, value); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from QFitsBuffers/QFitsSingleBuffer.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -QFitsBuffers/QFitsSingleBuffer.cpp:1505:33: warning: format '%i' expects argument of type 'int', but argument 3 has type 'dpint64' {aka 'long long int'} [-Wformat=] - 1505 | text2.sprintf("%i", Naxis(3)); - | ~^ ~~~~~~~~ - | | | - | int dpint64 {aka long long int} - | %lli -QFitsBuffers/QFitsSingleBuffer.cpp:1505:45: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 1505 | text2.sprintf("%i", Naxis(3)); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from QFitsBuffers/QFitsSingleBuffer.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::updateScaling()': -QFitsBuffers/QFitsSingleBuffer.cpp:1600:24: warning: statement has no effect [-Wunused-value] - 1600 | tableViewDirty == false; - | ~~~~~~~~~~~~~~~^~~~~~~~ -QFitsBuffers/QFitsSingleBuffer.cpp: In member function 'virtual void QFitsSingleBuffer::createManualSpectrum()': -QFitsBuffers/QFitsSingleBuffer.cpp:1834:41: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1834 | sprintf(manualSpectrum->crtype, ""); - | ^~ In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsBaseBuffer.cpp:9: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget2D.o QFitsWidgets/QFitsWidget2D.cpp -In file included from QFitsMainWindow.h:20, - from QFitsMainWindow.cpp:38: + from QFitsBuffers/QFitsSingleBuffer.cpp:6: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -In file included from QFitsBuffers/QFitsMultiBuffer.cpp:16: -../QFitsView/QFitsWidgets/QFitsWidgetTable.h: In member function 'virtual int QFitsTableModel::translateColumnNumber(int*) const': -../QFitsView/QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] - 77 | virtual int translateColumnNumber(int *section) const { return -1; } - | ~~~~~^~~~~~~ -QFitsBuffers/QFitsMultiBuffer.cpp: In member function 'virtual void QFitsMultiBuffer::showCubePlot()': -QFitsBuffers/QFitsMultiBuffer.cpp:546:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 546 | for (int i = 0; i < dpData->dparrvalue->size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -QFitsBuffers/QFitsMultiBuffer.cpp: In member function 'virtual void QFitsMultiBuffer::setCubeSpecOrientation(QFV::Orientation, bool)': -QFitsBuffers/QFitsMultiBuffer.cpp:605:12: warning: comparison between 'enum QFV::Orientation' and 'enum Qt::Orientation' [-Wenum-compare] - 605 | if ((o == Qt::Vertical) && - | ~~^~~~~~~~~~~~~~~ -QFitsBuffers/QFitsMultiBuffer.cpp:605:12: warning: comparison between types 'QFV::Orientation' and 'Qt::Orientation' [-Wsign-compare] -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetWiregrid.o QFitsWidgets/QFitsWidgetWiregrid.cpp In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidget1D.cpp:4: + from QFitsBuffers/QFitsBaseBuffer.cpp:9: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsSingleBuffer.cpp:6: + from QFitsWidgets/QFitsWidget1D.cpp:4: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetWiregrid.o QFitsWidgets/QFitsWidgetWiregrid.cpp In file included from ./QFitsMainWindow.h:20, - from QFitsBuffers/QFitsMultiBuffer.cpp:7: + from QFitsWidgets/QFitsBaseWidget.cpp:5: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetContour.o QFitsWidgets/QFitsWidgetContour.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -5425,21 +5467,19 @@ ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetTable.o QFitsWidgets/QFitsWidgetTable.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsBaseView.o QFitsViews/QFitsBaseView.cpp QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsTransparentLabel::showValues()': QFitsWidgets/QFitsWidget1D.cpp:1079:44: warning: 'flux' may be used uninitialized in this function [-Wmaybe-uninitialized] 1079 | ll2 += QString::number(flux);; | ^ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView1D.o QFitsViews/QFitsView1D.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView2D.o QFitsViews/QFitsView2D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: + from QFitsWidgets/QFitsWidgetContour.cpp:7: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -5455,7 +5495,7 @@ from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: + from QFitsWidgets/QFitsWidgetContour.cpp:7: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -5517,86 +5557,28 @@ 403 | dpuserType evaluate() { body->evaluate(); } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: + from QFitsWidgets/QFitsWidgetContour.cpp:7: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: + from QFitsWidgets/QFitsWidgetContour.cpp:7: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:10: + from QFitsWidgets/QFitsWidgetContour.h:11, + from QFitsWidgets/QFitsWidgetContour.cpp:9: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetContour.o QFitsWidgets/QFitsWidgetContour.cpp -QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::wheelEvent(QWheelEvent*)': -QFitsWidgets/QFitsWidgetWiregrid.cpp:121:22: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] - 121 | if (event->delta() > 0) { - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QMouseEvent:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here - 219 | inline int delta() const { return qt4D; } - | ^~~~~ -QFitsWidgets/QFitsWidgetWiregrid.cpp:123:38: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] - 123 | scale += (float)event->delta()/120; - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QMouseEvent:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here - 219 | inline int delta() const { return qt4D; } - | ^~~~~ -QFitsWidgets/QFitsWidgetWiregrid.cpp:126:39: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] - 126 | scale -= -(float)event->delta()/120; - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QMouseEvent:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here - 219 | inline int delta() const { return qt4D; } - | ^~~~~ -QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::paintEvent(QPaintEvent*)': -QFitsWidgets/QFitsWidgetWiregrid.cpp:225:27: warning: 'void QPainter::setWorldMatrix(const QMatrix&, bool)' is deprecated: Use setWorldTransform() instead [-Wdeprecated-declarations] - 225 | p.setWorldMatrix(m); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:2: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:257:10: note: declared here - 257 | void setWorldMatrix(const QMatrix &matrix, bool combine = false); - | ^~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::resizeEvent(QResizeEvent*)': -QFitsWidgets/QFitsWidgetWiregrid.cpp:254:53: warning: unused parameter 'e' [-Wunused-parameter] - 254 | void QFitsWidgetWiregrid::resizeEvent(QResizeEvent *e) { - | ~~~~~~~~~~~~~~^ -QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::enterEvent(QEvent*)': -QFitsWidgets/QFitsWidgetWiregrid.cpp:264:46: warning: unused parameter 'e' [-Wunused-parameter] - 264 | void QFitsWidgetWiregrid::enterEvent(QEvent *e) { - | ~~~~~~~~^ -QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::leaveEvent(QEvent*)': -QFitsWidgets/QFitsWidgetWiregrid.cpp:269:47: warning: unused parameter 'e' [-Wunused-parameter] - 269 | void QFitsWidgetWiregrid::leaveEvent (QEvent *e) { - | ~~~~~~~~^ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetTable.o QFitsWidgets/QFitsWidgetTable.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsBaseView.o QFitsViews/QFitsBaseView.cpp -QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::plotterKeyPressEvent(QKeyEvent*)': -QFitsWidgets/QFitsWidget1D.cpp:222:29: warning: 'dypos' may be used uninitialized in this function [-Wmaybe-uninitialized] - 222 | fity[0] = dypos; - | ~~~~~~~~^~~~~~~ -QFitsWidgets/QFitsWidget1D.cpp:221:29: warning: 'dxpos' may be used uninitialized in this function [-Wmaybe-uninitialized] - 221 | fitx[0] = dxpos; - | ~~~~~~~~^~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView1D.o QFitsViews/QFitsView1D.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView2D.o QFitsViews/QFitsView2D.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsGlobal.o QFitsGlobal.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetContour.cpp:7: + from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -5612,7 +5594,7 @@ from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetContour.cpp:7: + from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -5621,6 +5603,13 @@ ../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } | ~~^~~~~~~~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::plotterKeyPressEvent(QKeyEvent*)': +QFitsWidgets/QFitsWidget1D.cpp:222:29: warning: 'dypos' may be used uninitialized in this function [-Wmaybe-uninitialized] + 222 | fity[0] = dypos; + | ~~~~~~~~^~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp:221:29: warning: 'dxpos' may be used uninitialized in this function [-Wmaybe-uninitialized] + 221 | fitx[0] = dxpos; + | ~~~~~~~~^~~~~~~ ../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': ../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] 272 | int id; @@ -5674,19 +5663,18 @@ 403 | dpuserType evaluate() { body->evaluate(); } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetContour.cpp:7: + from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetContour.cpp:7: + from QFitsWidgets/QFitsWidgetWiregrid.cpp:7: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsWidgets/QFitsWidgetContour.h:11, - from QFitsWidgets/QFitsWidgetContour.cpp:9: + from QFitsWidgets/QFitsWidgetWiregrid.cpp:10: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } @@ -5988,13 +5976,6 @@ ./resources/icon_accept.xpm:53:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | "eeeeeeeeeeeeeeee" | ^~~~~~~~~~~~~~~~~~ -In file included from ../QFitsView/QFitsBuffers/QFitsMultiBuffer.h:5, - from QFitsWidgets/QFitsWidgetTable.h:13, - from QFitsWidgets/QFitsWidgetTable.cpp:6: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ QFitsWidgets/QFitsWidgetContour.cpp: In member function 'virtual void EscLineEdit::resizeEvent(QResizeEvent*)': QFitsWidgets/QFitsWidgetContour.cpp:71:45: warning: unused parameter 'r' [-Wunused-parameter] 71 | void EscLineEdit::resizeEvent(QResizeEvent *r) { @@ -6015,11 +5996,6 @@ QFitsWidgets/QFitsWidgetContour.cpp:99:41: warning: unused parameter 'e' [-Wunused-parameter] 99 | void dpContour::paintEvent(QPaintEvent *e) { | ~~~~~~~~~~~~~^ -In file included from QFitsWidgets/QFitsWidgetTable.cpp:6: -QFitsWidgets/QFitsWidgetTable.h: In member function 'virtual int QFitsTableModel::translateColumnNumber(int*) const': -QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] - 77 | virtual int translateColumnNumber(int *section) const { return -1; } - | ~~~~~^~~~~~~ QFitsWidgets/QFitsWidgetContour.cpp: In member function 'virtual void dpContour::enterEvent(QEvent*)': QFitsWidgets/QFitsWidgetContour.cpp:299:36: warning: unused parameter 'e' [-Wunused-parameter] 299 | void dpContour::enterEvent(QEvent *e) { @@ -6057,7 +6033,64 @@ QFitsWidgets/QFitsWidgetContour.cpp:850:46: warning: unused variable 'LS' [-Wunused-variable] 850 | int NNX,NNY, KX,KY, KI,KJ, IA,IB, JA,JB, LS, PX, PY; | ^~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsMarkers.o QFitsMarkers.cpp +In file included from ../QFitsView/QFitsBuffers/QFitsMultiBuffer.h:5, + from QFitsWidgets/QFitsWidgetTable.h:13, + from QFitsWidgets/QFitsWidgetTable.cpp:6: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +In file included from QFitsWidgets/QFitsWidgetTable.cpp:6: +QFitsWidgets/QFitsWidgetTable.h: In member function 'virtual int QFitsTableModel::translateColumnNumber(int*) const': +QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] + 77 | virtual int translateColumnNumber(int *section) const { return -1; } + | ~~~~~^~~~~~~ +QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::wheelEvent(QWheelEvent*)': +QFitsWidgets/QFitsWidgetWiregrid.cpp:121:22: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] + 121 | if (event->delta() > 0) { + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QMouseEvent:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here + 219 | inline int delta() const { return qt4D; } + | ^~~~~ +QFitsWidgets/QFitsWidgetWiregrid.cpp:123:38: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] + 123 | scale += (float)event->delta()/120; + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QMouseEvent:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here + 219 | inline int delta() const { return qt4D; } + | ^~~~~ +QFitsWidgets/QFitsWidgetWiregrid.cpp:126:39: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] + 126 | scale -= -(float)event->delta()/120; + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QMouseEvent:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here + 219 | inline int delta() const { return qt4D; } + | ^~~~~ +QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::paintEvent(QPaintEvent*)': +QFitsWidgets/QFitsWidgetWiregrid.cpp:225:27: warning: 'void QPainter::setWorldMatrix(const QMatrix&, bool)' is deprecated: Use setWorldTransform() instead [-Wdeprecated-declarations] + 225 | p.setWorldMatrix(m); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:2: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:257:10: note: declared here + 257 | void setWorldMatrix(const QMatrix &matrix, bool combine = false); + | ^~~~~~~~~~~~~~ +QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::resizeEvent(QResizeEvent*)': +QFitsWidgets/QFitsWidgetWiregrid.cpp:254:53: warning: unused parameter 'e' [-Wunused-parameter] + 254 | void QFitsWidgetWiregrid::resizeEvent(QResizeEvent *e) { + | ~~~~~~~~~~~~~~^ +QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::enterEvent(QEvent*)': +QFitsWidgets/QFitsWidgetWiregrid.cpp:264:46: warning: unused parameter 'e' [-Wunused-parameter] + 264 | void QFitsWidgetWiregrid::enterEvent(QEvent *e) { + | ~~~~~~~~^ +QFitsWidgets/QFitsWidgetWiregrid.cpp: In member function 'virtual void QFitsWidgetWiregrid::leaveEvent(QEvent*)': +QFitsWidgets/QFitsWidgetWiregrid.cpp:269:47: warning: unused parameter 'e' [-Wunused-parameter] + 269 | void QFitsWidgetWiregrid::leaveEvent (QEvent *e) { + | ~~~~~~~~^ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -6150,6 +6183,7 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsGlobal.o QFitsGlobal.cpp In file included from ./QFitsMainWindow.h:20, from QFitsWidgets/QFitsWidgetContour.cpp:7: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': @@ -6233,7 +6267,6 @@ ../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } | ^~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsTools.o QFitsTools.cpp ../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } @@ -6270,17 +6303,8 @@ ../QFitsView/QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] 77 | virtual int translateColumnNumber(int *section) const { return -1; } | ~~~~~^~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWedge.o QFitsWedge.cpp -QFitsGlobal.cpp: In member function 'virtual void QFitsSimplestButton::mouseDoubleClickEvent(QMouseEvent*)': -QFitsGlobal.cpp:70:62: warning: unused parameter 'e' [-Wunused-parameter] - 70 | void QFitsSimplestButton::mouseDoubleClickEvent(QMouseEvent *e) { - | ~~~~~~~~~~~~~^ -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsMarkers.cpp:4: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsMarkers.o QFitsMarkers.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsTools.o QFitsTools.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -6373,13 +6397,17 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWedge.o QFitsWedge.cpp In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, from QFitsViews/QFitsView2D.cpp:16: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o lut.o lut.cpp +QFitsGlobal.cpp: In member function 'virtual void QFitsSimplestButton::mouseDoubleClickEvent(QMouseEvent*)': +QFitsGlobal.cpp:70:62: warning: unused parameter 'e' [-Wunused-parameter] + 70 | void QFitsSimplestButton::mouseDoubleClickEvent(QMouseEvent *e) { + | ~~~~~~~~~~~~~^ QFitsWidgets/QFitsWidgetTable.cpp: In member function 'QVariant QFitsTableModel::dataFromDpuserType(dpuserType*, int, int) const': QFitsWidgets/QFitsWidgetTable.cpp:514:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 514 | if (row < dpt->arrvalue->size()) { @@ -6417,134 +6445,89 @@ QFitsWidgets/QFitsWidgetTable.cpp:1316:83: warning: unused parameter 'e' [-Wunused-parameter] 1316 | void QFitsTableView::unsetSpectrum(const QItemSelection &s, const QItemSelection &e) { | ~~~~~~~~~~~~~~~~~~~~~~^ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o lut.o lut.cpp +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsMarkers.cpp:4: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +QFitsViews/QFitsView1D.cpp: In member function 'int QFitsView1D::calcPos(QPoint)': +QFitsViews/QFitsView1D.cpp:125:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 125 | if ((posInt > 0) && (posInt <= ndata)) { + | ~~~~~~~^~~~~~~~ +QFitsViews/QFitsView1D.cpp:133:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 133 | if ((posInt > 0) && (posInt <= ndata)) { + | ~~~~~~~^~~~~~~~ +QFitsViews/QFitsView1D.cpp:134:64: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 134 | posinfo.sprintf("#%i (%g, %g)", posInt, xpos, value); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpixmap.h:45, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsViews/QFitsView1D.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsViews/QFitsView1D.cpp:136:48: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 136 | posinfo.sprintf(" (%g, -)", xpos); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpixmap.h:45, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsViews/QFitsView1D.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsViews/QFitsView1D.cpp: In member function 'virtual void QFitsView1D::paintEvent(QPaintEvent*)': +QFitsViews/QFitsView1D.cpp:427:28: warning: 'void QPainter::setWorldMatrix(const QMatrix&, bool)' is deprecated: Use setWorldTransform() instead [-Wdeprecated-declarations] + 427 | pa.setWorldMatrix(m); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsViews/QFitsView1D.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:257:10: note: declared here + 257 | void setWorldMatrix(const QMatrix &matrix, bool combine = false); + | ^~~~~~~~~~~~~~ +QFitsViews/QFitsView1D.cpp:374:43: warning: unused parameter 'e' [-Wunused-parameter] + 374 | void QFitsView1D::paintEvent(QPaintEvent *e) { + | ~~~~~~~~~~~~~^ +QFitsViews/QFitsView1D.cpp: In member function 'virtual void QFitsView1D::resizeEvent(QResizeEvent*)': +QFitsViews/QFitsView1D.cpp:692:41: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 692 | fw = fontMetrics().width("000000000"); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:59, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsViews/QFitsView1D.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +QFitsViews/QFitsView1D.cpp: In member function 'virtual void QFitsView1D::leaveEvent(QEvent*)': +QFitsViews/QFitsView1D.cpp:736:24: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 736 | posinfo.sprintf(" "); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpixmap.h:45, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsViews/QFitsView1D.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +QFitsViews/QFitsView1D.cpp:722:39: warning: unused parameter 'e' [-Wunused-parameter] + 722 | void QFitsView1D::leaveEvent (QEvent *e) { + | ~~~~~~~~^ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsCubeSpectrum.o QFitsCubeSpectrum.cpp -lut.cpp:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "alex", - | ^~~~~~ -lut.cpp:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "backgr", - | ^~~~~~~~ -lut.cpp:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | "bl", - | ^~~~ -lut.cpp:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "flag", - | ^~~~~~ -lut.cpp:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "halley", - | ^~~~~~~~ -lut.cpp:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "heat", - | ^~~~~~ -lut.cpp:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "idl11", - | ^~~~~~~ -lut.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "idl12", - | ^~~~~~~ -lut.cpp:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "idl14", - | ^~~~~~~ -lut.cpp:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "idl15", - | ^~~~~~~ -lut.cpp:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "idl2", - | ^~~~~~ -lut.cpp:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "idl4", - | ^~~~~~ -lut.cpp:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "idl5", - | ^~~~~~ -lut.cpp:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "idl6", - | ^~~~~~ -lut.cpp:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "ikon", - | ^~~~~~ -lut.cpp:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "imtoolrgb", - | ^~~~~~~~~~~ -lut.cpp:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "isophot", - | ^~~~~~~~~ -lut.cpp:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "light", - | ^~~~~~~ -lut.cpp:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "lnspiral", - | ^~~~~~~~~~ -lut.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "manycol", - | ^~~~~~~~~ -lut.cpp:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "mousse", - | ^~~~~~~~ -lut.cpp:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "pastel", - | ^~~~~~~~ -lut.cpp:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 26 | "pseudo1", - | ^~~~~~~~~ -lut.cpp:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | "pseudo2", - | ^~~~~~~~~ -lut.cpp:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 28 | "rainbow", - | ^~~~~~~~~ -lut.cpp:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | "rainbow1", - | ^~~~~~~~~~ -lut.cpp:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 30 | "rainbow2", - | ^~~~~~~~~~ -lut.cpp:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 31 | "rainbow3", - | ^~~~~~~~~~ -lut.cpp:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 32 | "rainbow4", - | ^~~~~~~~~~ -lut.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | "random", - | ^~~~~~~~ -lut.cpp:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 34 | "random1", - | ^~~~~~~~~ -lut.cpp:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 35 | "random2", - | ^~~~~~~~~ -lut.cpp:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 36 | "random3", - | ^~~~~~~~~ -lut.cpp:37:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 37 | "random4", - | ^~~~~~~~~ -lut.cpp:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 38 | "real", - | ^~~~~~ -lut.cpp:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 39 | "smooth", - | ^~~~~~~~ -lut.cpp:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 40 | "staircase", - | ^~~~~~~~~~~ -lut.cpp:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 41 | "stairs8", - | ^~~~~~~~~ -lut.cpp:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 42 | "stairs9", - | ^~~~~~~~~ -lut.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 43 | "standard", - | ^~~~~~~~~~ -lut.cpp:44:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 44 | "velmap", - | ^~~~~~~~ -lut.cpp:45:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 45 | "sauron" - | ^~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o RGBDialog.o RGBDialog.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -6626,41 +6609,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -QFitsViews/QFitsView1D.cpp: In member function 'int QFitsView1D::calcPos(QPoint)': -QFitsViews/QFitsView1D.cpp:125:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 125 | if ((posInt > 0) && (posInt <= ndata)) { - | ~~~~~~~^~~~~~~~ -QFitsViews/QFitsView1D.cpp:133:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 133 | if ((posInt > 0) && (posInt <= ndata)) { - | ~~~~~~~^~~~~~~~ -QFitsViews/QFitsView1D.cpp:134:64: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 134 | posinfo.sprintf("#%i (%g, %g)", posInt, xpos, value); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpixmap.h:45, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsViews/QFitsView1D.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -QFitsViews/QFitsView1D.cpp:136:48: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 136 | posinfo.sprintf(" (%g, -)", xpos); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpixmap.h:45, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsViews/QFitsView1D.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ In file included from ../libfits/fitting.h:4, from QFitsTools.cpp:8: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': @@ -6672,47 +6620,10 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -QFitsViews/QFitsView1D.cpp: In member function 'virtual void QFitsView1D::paintEvent(QPaintEvent*)': -QFitsViews/QFitsView1D.cpp:427:28: warning: 'void QPainter::setWorldMatrix(const QMatrix&, bool)' is deprecated: Use setWorldTransform() instead [-Wdeprecated-declarations] - 427 | pa.setWorldMatrix(m); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsViews/QFitsView1D.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:257:10: note: declared here - 257 | void setWorldMatrix(const QMatrix &matrix, bool combine = false); - | ^~~~~~~~~~~~~~ -QFitsViews/QFitsView1D.cpp:374:43: warning: unused parameter 'e' [-Wunused-parameter] - 374 | void QFitsView1D::paintEvent(QPaintEvent *e) { - | ~~~~~~~~~~~~~^ -QFitsViews/QFitsView1D.cpp: In member function 'virtual void QFitsView1D::resizeEvent(QResizeEvent*)': -QFitsViews/QFitsView1D.cpp:692:41: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 692 | fw = fontMetrics().width("000000000"); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:59, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsViews/QFitsView1D.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -QFitsViews/QFitsView1D.cpp: In member function 'virtual void QFitsView1D::leaveEvent(QEvent*)': -QFitsViews/QFitsView1D.cpp:736:24: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 736 | posinfo.sprintf(" "); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpixmap.h:45, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsViews/QFitsView1D.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -QFitsViews/QFitsView1D.cpp:722:39: warning: unused parameter 'e' [-Wunused-parameter] - 722 | void QFitsView1D::leaveEvent (QEvent *e) { - | ~~~~~~~~^ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsHeaderView.o QFitsHeaderView.cpp +QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::rCount(const dpuserType*) const': +QFitsWidgets/QFitsWidgetTable.cpp:709:1: warning: control reaches end of non-void function [-Wreturn-type] + 709 | } + | ^ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, from QFitsTools.cpp:10: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': @@ -6918,134 +6829,145 @@ QFitsTools.cpp:367:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | "Angle:", "Diskiness:", "Sersic index:" }; | ^~~~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from QFitsWedge.cpp:5: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o RGBDialog.o RGBDialog.cpp QFitsTools.cpp:444:28: warning: unused variable 'fwhmx' [-Wunused-variable] 444 | double cenx, ceny, fwhmx, fwhmy; | ^~~~~ QFitsTools.cpp:444:35: warning: unused variable 'fwhmy' [-Wunused-variable] 444 | double cenx, ceny, fwhmx, fwhmy; | ^~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from QFitsWedge.cpp:5: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ -In file included from QFitsMainWindow.h:20, - from QFitsWedge.cpp:5: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from QFitsMainWindow.h:20, - from QFitsWedge.cpp:5: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsWedge.cpp:6: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ -QFitsWedge.cpp: In member function 'virtual void QFitsWedge::paintEvent(QPaintEvent*)': -QFitsWedge.cpp:15:42: warning: unused parameter 'e' [-Wunused-parameter] - 15 | void QFitsWedge::paintEvent(QPaintEvent *e) { - | ~~~~~~~~~~~~~^ -QFitsWedge.cpp: In member function 'virtual void QFitsWedge::resizeEvent(QResizeEvent*)': -QFitsWedge.cpp:43:44: warning: unused parameter 'e' [-Wunused-parameter] - 43 | void QFitsWedge::resizeEvent(QResizeEvent *e) { - | ~~~~~~~~~~~~~~^ -QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::rCount(const dpuserType*) const': -QFitsWidgets/QFitsWidgetTable.cpp:709:1: warning: control reaches end of non-void function [-Wreturn-type] - 709 | } - | ^ +lut.cpp:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "alex", + | ^~~~~~ +lut.cpp:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "backgr", + | ^~~~~~~~ +lut.cpp:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | "bl", + | ^~~~ +lut.cpp:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "flag", + | ^~~~~~ +lut.cpp:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "halley", + | ^~~~~~~~ +lut.cpp:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "heat", + | ^~~~~~ +lut.cpp:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "idl11", + | ^~~~~~~ +lut.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "idl12", + | ^~~~~~~ +lut.cpp:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "idl14", + | ^~~~~~~ +lut.cpp:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "idl15", + | ^~~~~~~ +lut.cpp:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "idl2", + | ^~~~~~ +lut.cpp:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "idl4", + | ^~~~~~ +lut.cpp:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "idl5", + | ^~~~~~ +lut.cpp:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "idl6", + | ^~~~~~ +lut.cpp:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "ikon", + | ^~~~~~ +lut.cpp:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "imtoolrgb", + | ^~~~~~~~~~~ +lut.cpp:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "isophot", + | ^~~~~~~~~ +lut.cpp:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "light", + | ^~~~~~~ +lut.cpp:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "lnspiral", + | ^~~~~~~~~~ +lut.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "manycol", + | ^~~~~~~~~ +lut.cpp:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "mousse", + | ^~~~~~~~ +lut.cpp:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "pastel", + | ^~~~~~~~ +lut.cpp:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 26 | "pseudo1", + | ^~~~~~~~~ +lut.cpp:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | "pseudo2", + | ^~~~~~~~~ +lut.cpp:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 28 | "rainbow", + | ^~~~~~~~~ +lut.cpp:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | "rainbow1", + | ^~~~~~~~~~ +lut.cpp:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 30 | "rainbow2", + | ^~~~~~~~~~ +lut.cpp:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 31 | "rainbow3", + | ^~~~~~~~~~ +lut.cpp:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 32 | "rainbow4", + | ^~~~~~~~~~ +lut.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | "random", + | ^~~~~~~~ +lut.cpp:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 34 | "random1", + | ^~~~~~~~~ +lut.cpp:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 35 | "random2", + | ^~~~~~~~~ +lut.cpp:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 36 | "random3", + | ^~~~~~~~~ +lut.cpp:37:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 37 | "random4", + | ^~~~~~~~~ +lut.cpp:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 38 | "real", + | ^~~~~~ +lut.cpp:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 39 | "smooth", + | ^~~~~~~~ +lut.cpp:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 40 | "staircase", + | ^~~~~~~~~~~ +lut.cpp:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 41 | "stairs8", + | ^~~~~~~~~ +lut.cpp:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 42 | "stairs9", + | ^~~~~~~~~ +lut.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 43 | "standard", + | ^~~~~~~~~~ +lut.cpp:44:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 44 | "velmap", + | ^~~~~~~~ +lut.cpp:45:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 45 | "sauron" + | ^~~~~~~~ In file included from ./QFitsCubeSpectrum.h:12, from QFitsWidgets/QFitsWidgetTable.cpp:7: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -In file included from ../libfits/fitting.h:4, - from QFitsTools.cpp:8: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ In file included from QFitsViews/QFitsView2D.cpp:33: ./resources/cursor_rotate.xpm: At global scope: ./resources/cursor_rotate.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -7250,6 +7172,12 @@ ./resources/cursor_select.xpm:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | "&&&&&&&&&&&&& &&&&&&&&&&&&", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../libfits/fitting.h:4, + from QFitsTools.cpp:8: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ ./resources/cursor_select.xpm:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | "&&&&&&&&&&&&&&&o o&&&&&&&&&&&&&&", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7265,6 +7193,7 @@ ./resources/cursor_select.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | "&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsHeaderView.o QFitsHeaderView.cpp QFitsViews/QFitsView2D.cpp: In member function 'void QFitsView2D::saveMarkersSlot()': QFitsViews/QFitsView2D.cpp:378:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 378 | for (int i = 0; i < dp->dparrvalue->size(); i++) { @@ -7373,13 +7302,127 @@ /usr/include/aarch64-linux-gnu/qt5/QtGui/qpainter.h:378:10: note: declared here 378 | void drawRoundRect(int x, int y, int w, int h, int = 25, int = 25); | ^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsToolBar.o QFitsToolBar.cpp +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsMainWindow.h:20, + from QFitsWedge.cpp:5: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsMainWindow.h:20, + from QFitsWedge.cpp:5: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from QFitsMainWindow.h:20, + from QFitsWedge.cpp:5: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from QFitsMainWindow.h:20, + from QFitsWedge.cpp:5: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsWedge.cpp:6: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +QFitsWedge.cpp: In member function 'virtual void QFitsWedge::paintEvent(QPaintEvent*)': +QFitsWedge.cpp:15:42: warning: unused parameter 'e' [-Wunused-parameter] + 15 | void QFitsWedge::paintEvent(QPaintEvent *e) { + | ~~~~~~~~~~~~~^ +QFitsWedge.cpp: In member function 'virtual void QFitsWedge::resizeEvent(QResizeEvent*)': +QFitsWedge.cpp:43:44: warning: unused parameter 'e' [-Wunused-parameter] + 43 | void QFitsWedge::resizeEvent(QResizeEvent *e) { + | ~~~~~~~~~~~~~~^ In file included from ./QFitsMainWindow.h:20, from QFitsViews/QFitsView1D.cpp:7: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsToolBar.o QFitsToolBar.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dialogs.o dialogs.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o events.o events.cpp +In file included from ./QFitsMainWindow.h:20, + from QFitsViews/QFitsView2D.cpp:14: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -7472,12 +7515,12 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dialogs.o dialogs.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o imred.o imred.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: + from RGBDialog.h:12, + from RGBDialog.cpp:17: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -7492,8 +7535,8 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: + from RGBDialog.h:12, + from RGBDialog.cpp:17: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -7554,22 +7597,22 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: +In file included from RGBDialog.h:12, + from RGBDialog.cpp:17: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ -In file included from QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: +In file included from RGBDialog.h:12, + from RGBDialog.cpp:17: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from RGBDialog.h:12, - from RGBDialog.cpp:17: + from QFitsMainWindow.h:20, + from QFitsHeaderView.cpp:5: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -7584,8 +7627,8 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from RGBDialog.h:12, - from RGBDialog.cpp:17: + from QFitsMainWindow.h:20, + from QFitsHeaderView.cpp:5: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -7646,14 +7689,14 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from RGBDialog.h:12, - from RGBDialog.cpp:17: +In file included from QFitsMainWindow.h:20, + from QFitsHeaderView.cpp:5: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ -In file included from RGBDialog.h:12, - from RGBDialog.cpp:17: +In file included from QFitsMainWindow.h:20, + from QFitsHeaderView.cpp:5: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ @@ -7664,14 +7707,6 @@ ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o events.o events.cpp -In file included from ./QFitsMainWindow.h:20, - from QFitsViews/QFitsView2D.cpp:14: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o imred.o imred.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -7765,30 +7800,6 @@ 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from RGBDialog.cpp:21: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ -RGBDialog.cpp: In member function 'virtual void QFitsDisplay::paintEvent(QPaintEvent*)': -RGBDialog.cpp:47:44: warning: unused parameter 'p' [-Wunused-parameter] - 47 | void QFitsDisplay::paintEvent(QPaintEvent *p) { - | ~~~~~~~~~~~~~^ -RGBDialog.cpp: In member function 'virtual void ResultWidget::paintEvent(QPaintEvent*)': -RGBDialog.cpp:436:44: warning: unused parameter 'p' [-Wunused-parameter] - 436 | void ResultWidget::paintEvent(QPaintEvent *p) { - | ~~~~~~~~~~~~~^ -RGBDialog.cpp: In member function 'void RGBDialog::saveColourImage()': -RGBDialog.cpp:1199:30: warning: 'const QPixmap* QLabel::pixmap() const' is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations] - 1199 | resultviewer->pixmap()->save(filename); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QLabel:1, - from RGBDialog.h:6, - from RGBDialog.cpp:17: -/usr/include/aarch64-linux-gnu/qt5/QtWidgets/qlabel.h:78:20: note: declared here - 78 | const QPixmap *pixmap() const; // ### Qt 7: Remove function - | ^~~~~~ -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, from QFitsCubeSpectrum.cpp:13: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] @@ -7880,17 +7891,6 @@ QFitsCubeSpectrum.cpp:1360:50: warning: unused parameter 'e' [-Wunused-parameter] 1360 | void QFitsCubeSpectrumViewer::enterEvent(QEvent *e) { | ~~~~~~~~^ -QFitsCubeSpectrum.cpp: In member function 'void QFitsCubeSpectrumViewer::setCData(const Fits&)': -QFitsCubeSpectrum.cpp:1510:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1510 | for (i = 0; i < c.Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~ -QFitsCubeSpectrum.cpp:1514:36: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1514 | for (i = 0, j = ndata-1; i < c.Nelements(); i++, j--) { - | ~~^~~~~~~~~~~~~~~ -QFitsCubeSpectrum.cpp: In member function 'void QFitsCubeSpectrumViewer::updateYRange(int, int)': -QFitsCubeSpectrum.cpp:1537:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1537 | if ((vMin < 1) || (vMax > ndata) || (vMax < 1) || (vMin == vMax) || (ndata < 2)) { - | ~~~~~^~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -7906,6 +7906,17 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +QFitsCubeSpectrum.cpp: In member function 'void QFitsCubeSpectrumViewer::setCData(const Fits&)': +QFitsCubeSpectrum.cpp:1510:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1510 | for (i = 0; i < c.Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~ +QFitsCubeSpectrum.cpp:1514:36: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1514 | for (i = 0, j = ndata-1; i < c.Nelements(); i++, j--) { + | ~~^~~~~~~~~~~~~~~ +QFitsCubeSpectrum.cpp: In member function 'void QFitsCubeSpectrumViewer::updateYRange(int, int)': +QFitsCubeSpectrum.cpp:1537:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1537 | if ((vMin < 1) || (vMax > ndata) || (vMax < 1) || (vMin == vMax) || (ndata < 2)) { + | ~~~~~^~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -8026,1123 +8037,32 @@ QFitsHeaderView.cpp:328:13: warning: unused variable 'p' [-Wunused-variable] 328 | int p = fpos; | ^ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsViewingTools.o QFitsViewingTools.cpp In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsToolBar.cpp:26: + from RGBDialog.cpp:21: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:35: -resources/fileopen.xpm: At global scope: -resources/fileopen.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 5 1", - | ^~~~~~~~~~~ -resources/fileopen.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #000000", - | ^~~~~~~~~~~~~ -resources/fileopen.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #ffff00", - | ^~~~~~~~~~~~~ -resources/fileopen.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "+ c #808000", - | ^~~~~~~~~~~~~ -resources/fileopen.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "@ c #ffffff", - | ^~~~~~~~~~~~~ -resources/fileopen.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "# c none", - | ^~~~~~~~~~ -resources/fileopen.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "################", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "################", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "######### ####", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "######## ### # #", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "############# #", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "# ######## #", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | " @.@ #####", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | " .@.@.@.@. #####", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | " @.@.@.@.@ #####", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | " .@.@ #", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | " @.@ +++++++++ #", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | " .@ +++++++++ ##", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | " @ +++++++++ ###", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | " +++++++++ ####", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | " #####", - | ^~~~~~~~~~~~~~~~~~ -resources/fileopen.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "################" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:36: -resources/reload.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/reload.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/reload.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/reload.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | ".....xxxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".x..x.....x.....", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | ".xxx.......x....", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".xxx........x...", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".xxxx.......x...", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "..x.......xxxx..", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "..x........xxx..", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "...x.......xxx..", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "....x.....x..x..", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | ".....xxxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/reload.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:37: -resources/filesave.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 3 1", - | ^~~~~~~~~~~ -resources/filesave.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #000000", - | ^~~~~~~~~~~~~ -resources/filesave.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #808000", - | ^~~~~~~~~~~~~ -resources/filesave.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "+ c none", - | ^~~~~~~~~~ -resources/filesave.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "+ +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "+ . ++++++++ + +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "+ . ++++++++ +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "+ . ++++++++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "+ . ++++++++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "+ . ++++++++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "+ . ++++++++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "+ .. .. +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "+ ............ +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "+ .. . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "+ .. ++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "+ .. ++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "+ .. ++ . +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "++ +", - | ^~~~~~~~~~~~~~~~~~ -resources/filesave.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "++++++++++++++++" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:38: -resources/editcopy.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 4 1", - | ^~~~~~~~~~~ -resources/editcopy.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #000000", - | ^~~~~~~~~~~~~ -resources/editcopy.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #000080", - | ^~~~~~~~~~~~~ -resources/editcopy.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "+ c #ffffff", - | ^~~~~~~~~~~~~ -resources/editcopy.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "@ c none", - | ^~~~~~~~~~ -resources/editcopy.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "@@@@@@@@@@@@@@@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "@ @@@@@@@@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "@ ++++ @@@@@@@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "@ ++++ + @@@@@@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "@ + + ......@@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "@ +++++.++++..@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "@ + .++++.+.@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "@ +++++.+ +....", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "@ + .+++++++.", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "@ +++++.+ +.", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "@ .+++++++.", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "@@@@@@@.+ +.", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "@@@@@@@.+++++++.", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "@@@@@@@.........", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "@@@@@@@@@@@@@@@@", - | ^~~~~~~~~~~~~~~~~~ -resources/editcopy.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "@@@@@@@@@@@@@@@@" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:40: -resources/flip.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/flip.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsViewingTools.o QFitsViewingTools.cpp -resources/flip.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/flip.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "....x.....x.....", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "...xx.....xx....", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "..xxxxxxxxxxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "...xx.....xx....", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "....x.....x.....", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flip.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:41: -resources/flop.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/flop.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/flop.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/flop.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "......xxx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".....xxxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | ".....xxxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "......xxx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/flop.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:42: -resources/rotate.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/rotate.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/rotate.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/rotate.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | ".......x........", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "......xx........", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".....xxxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "......xx..x.....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".......x...x....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "............x...", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "............x...", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "..x.........x...", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "..x.........x...", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "..x.........x...", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "...x.......x....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "....x.....x.....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | ".....xxxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:43: -resources/rotate2.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/rotate2.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/rotate2.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/rotate2.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "........x.......", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "........xx......", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "......xxxxx.....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | ".....x..xx......", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "....x...x.......", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "...x............", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "...x............", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "...x.........x..", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "...x.........x..", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "...x.........x..", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "....x.......x...", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ".....x.....x....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "......xxxxx.....", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/rotate2.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:44: -resources/zoomin.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/zoomin.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | ". c None", - | ^~~~~~~~~~ -resources/zoomin.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "x c black", - | ^~~~~~~~~~~ -resources/zoomin.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "........xxxxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".......x.....x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "......x.......x.", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "......x.......x.", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "......xx.....x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ".....xx.xxxxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "....xx.......x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "...xx........x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "..xx.......xxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | ".xx..........x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomin.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "xx...........x.." - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:45: -resources/zoomout.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/zoomout.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/zoomout.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/zoomout.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "........xxxxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | ".......x.....x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "......x.......x.", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | ".....x.........x", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "......x.......x.", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "......xx.....x..", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | ".....xx.xxxxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "....xx..........", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "...xx...........", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "..xx......xxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | ".xx.............", - | ^~~~~~~~~~~~~~~~~~ -resources/zoomout.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "xx.............." - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:46: -resources/movieplay.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "9 9 2 1", - | ^~~~~~~~~ -resources/movieplay.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "X c #000000", - | ^~~~~~~~~~~~~ -resources/movieplay.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | " c None", - | ^~~~~~~~~~ -resources/movieplay.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "X ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "XXX ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "XXXXX ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "XXXXXXX ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "XXXXXXXXX", - | ^~~~~~~~~~~ -resources/movieplay.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "XXXXXXX ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "XXXXX ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "XXX ", - | ^~~~~~~~~~~ -resources/movieplay.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "X " - | ^~~~~~~~~~~ -In file included from QFitsToolBar.cpp:47: -resources/moviepause.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "9 9 2 1", - | ^~~~~~~~~ -resources/moviepause.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "X c #000000", - | ^~~~~~~~~~~~~ -resources/moviepause.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | " c None", - | ^~~~~~~~~~ -resources/moviepause.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "XXX XXX", - | ^~~~~~~~~~~ -resources/moviepause.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "XXX XXX" - | ^~~~~~~~~~~ -In file included from QFitsToolBar.cpp:48: -resources/plus.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/plus.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/plus.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/plus.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "xxxxxxxxxxxxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "xxxxxxxxxxxxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/plus.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | ".......xx......." - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:49: -resources/minus.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/minus.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/minus.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/minus.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "xxxxxxxxxxxxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "xxxxxxxxxxxxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/minus.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:50: -resources/divide.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/divide.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/divide.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/divide.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "xxxxxxxxxxxxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "xxxxxxxxxxxxxxxx", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | ".......xx.......", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/divide.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:51: -resources/multiply.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/multiply.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/multiply.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/multiply.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "..xx........xx..", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "..xxx......xxx..", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "...xxx....xxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "....xxx..xxx....", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".....xxxxxx.....", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "......xxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "......xxxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | ".....xxxxxx.....", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "....xxx..xxx....", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "...xxx....xxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "..xxx......xxx..", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "..xx........xx..", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/multiply.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:52: -resources/power.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/power.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/power.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/power.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "........x.......", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | ".......xxx......", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "......xxxxx.....", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | ".....xxx.xxx....", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "....xxx...xxx...", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "...xxx.....xxx..", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "..xxx.......xxx.", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | ".xxx.........xxx", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/power.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:53: -resources/convolve.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/convolve.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | "x c black", - | ^~~~~~~~~~~ -resources/convolve.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | "! c none", - | ^~~~~~~~~~ -resources/convolve.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "!!!!!!!!!!!!!!!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "!!!!xxxxxxxx!!!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "!!!xxxxxxxxxx!!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "!!xx!!!!!!!!xx!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "!xx!xx!!!!xx!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "!xx!xxx!!xxx!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "!xx!!xxxxxx!!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "!xx!!!xxxx!!!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "!xx!!!xxxx!!!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "!xx!!xxxxxx!!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "!xx!xxx!!xxx!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "!xx!xx!!!!xx!xx!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "!!xx!!!!!!!!xx!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "!!!xxxxxxxxxx!!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "!!!!xxxxxxxx!!!!", - | ^~~~~~~~~~~~~~~~~~ -resources/convolve.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "!!!!!!!!!!!!!!!!" - | ^~~~~~~~~~~~~~~~~~ -QFitsToolBar.cpp: In constructor 'QFitsToolBar::QFitsToolBar(QFitsMainWindow*)': -QFitsToolBar.cpp:142:53: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] - 142 | comboRotate->insertItem(0, trUtf8("\x30\xc2\xb0")); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, - from QFitsToolBar.cpp:6: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here - 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ - | ^~~~~~ -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' - 178 | QT_TR_FUNCTIONS \ - | ^~~~~~~~~~~~~~~ -QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' - 24 | Q_OBJECT - | ^~~~~~~~ -QFitsToolBar.cpp:143:57: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] - 143 | comboRotate->insertItem(1, trUtf8("\x39\x30\xc2\xb0")); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, - from QFitsToolBar.cpp:6: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here - 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ - | ^~~~~~ -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' - 178 | QT_TR_FUNCTIONS \ - | ^~~~~~~~~~~~~~~ -QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' - 24 | Q_OBJECT - | ^~~~~~~~ -QFitsToolBar.cpp:144:61: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] - 144 | comboRotate->insertItem(2, trUtf8("\x31\x38\x30\xc2\xb0")); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, - from QFitsToolBar.cpp:6: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here - 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ - | ^~~~~~ -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' - 178 | QT_TR_FUNCTIONS \ - | ^~~~~~~~~~~~~~~ -QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' - 24 | Q_OBJECT - | ^~~~~~~~ -QFitsToolBar.cpp:145:61: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] - 145 | comboRotate->insertItem(3, trUtf8("\x32\x37\x30\xc2\xb0")); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, - from QFitsToolBar.cpp:6: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here - 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ - | ^~~~~~ -/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' - 178 | QT_TR_FUNCTIONS \ - | ^~~~~~~~~~~~~~~ -QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' - 24 | Q_OBJECT - | ^~~~~~~~ -QFitsToolBar.cpp: In member function 'void QFitsToolBar::updateValues()': -QFitsToolBar.cpp:995:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 995 | if (c > 0) - | ^~ -QFitsToolBar.cpp:999:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 999 | if (movieSlider->value() != c) { - | ^~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qtdpuser.o qtdpuser.cpp -In file included from QFitsCubeSpectrum.h:12, - from QFitsCubeSpectrum.cpp:10: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -In file included from RGBDialog.h:12, +RGBDialog.cpp: In member function 'virtual void QFitsDisplay::paintEvent(QPaintEvent*)': +RGBDialog.cpp:47:44: warning: unused parameter 'p' [-Wunused-parameter] + 47 | void QFitsDisplay::paintEvent(QPaintEvent *p) { + | ~~~~~~~~~~~~~^ +RGBDialog.cpp: In member function 'virtual void ResultWidget::paintEvent(QPaintEvent*)': +RGBDialog.cpp:436:44: warning: unused parameter 'p' [-Wunused-parameter] + 436 | void ResultWidget::paintEvent(QPaintEvent *p) { + | ~~~~~~~~~~~~~^ +RGBDialog.cpp: In member function 'void RGBDialog::saveColourImage()': +RGBDialog.cpp:1199:30: warning: 'const QPixmap* QLabel::pixmap() const' is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations] + 1199 | resultviewer->pixmap()->save(filename); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QLabel:1, + from RGBDialog.h:6, from RGBDialog.cpp:17: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ +/usr/include/aarch64-linux-gnu/qt5/QtWidgets/qlabel.h:78:20: note: declared here + 78 | const QPixmap *pixmap() const; // ### Qt 7: Remove function + | ^~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qtdpuser.o qtdpuser.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -10327,25 +9247,9 @@ resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from imred.cpp:8: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] resources/splash_about.xpm:565:549: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -10496,15 +9400,6 @@ resources/mpe.xpm:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | "---------------------------------------------------------------------------------------------------------!+++++++)-", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsMainWindow.h:20, - from imred.cpp:8: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ resources/mpe.xpm:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | "----------------------------------------------------------------------------------------------------------+++++++'-", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10514,13 +9409,15 @@ resources/mpe.xpm:45:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | "----------------------------------------------------------------------------------------------------------++++++&--", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsToolBar.cpp:26: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ resources/mpe.xpm:46:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | "----------------------------------------------------------------------------------------------------------++++++,--", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ resources/mpe.xpm:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | "----------------------------------------------------------------------------------------------------------+++++#---", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10530,22 +9427,12 @@ resources/mpe.xpm:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | "---------------------------------------------------------------------------------------------------------'+++++>---", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ resources/mpe.xpm:50:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | "---------------------------------------------------------------------------------------------------------,++++.----", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ resources/mpe.xpm:51:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "---------------------------------------------------------------------------------------------------------*++++,----", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ resources/mpe.xpm:52:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "--------------------------------------------------->=** .... **=!---------------------------------------- +++#-----", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10558,14 +9445,6 @@ resources/mpe.xpm:55:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "------------------------------------------!*%++++++++++++++++++++++++++#;-------------------------------)+++;------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ resources/mpe.xpm:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | "----------------------------------------!*%++++++++++++++++++++++++++++++#=-----------------------------$++#-------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10575,16 +9454,6 @@ resources/mpe.xpm:58:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | "-------------------------------------'$+++++++++++++++++++++++++++++++++++++%,-------------------------)++$--------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ resources/mpe.xpm:59:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | "------------------------------------*+++++++++++++++++++++++++++++++++++++++++*------------------------#++=--------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10597,42 +9466,18 @@ resources/mpe.xpm:62:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | "--------------------------------;+++++++++$&*=>-----------------------',*.%++++++&------------------->++*----------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ resources/mpe.xpm:63:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | "-------------------------------*++++++#@,!---------------------------------')$++++;------------------@+#!----------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ resources/mpe.xpm:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "------------------------------&++++#@'---------------------------------------->*#++'----------------!%+=-----------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ resources/mpe.xpm:65:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | "-----------------------------&+++&=----------------------------------------------;%.----------------*+&------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resources/mpe.xpm:66:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | "----------------------------&++&>-------------------------------------------------! =--------------!%%!------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ resources/mpe.xpm:67:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "---------------------------&+.>-----------------------------------------------------!--------------@+,-------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10708,17 +9553,6 @@ resources/mpe.xpm:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | "---------=++*--------------------!$+++++++++++..***===========***..+++++++++++++#'---------------------------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from QFitsMainWindow.h:20, - from imred.cpp:8: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from QFitsMainWindow.h:20, - from imred.cpp:8: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ resources/mpe.xpm:92:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | "---------$++>---------------------!$+++++++++++++++++++++++++++++++++++++++++++ !----------------------------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10903,13 +9737,7 @@ resources/fileopen.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | "################" | ^~~~~~~~~~~~~~~~~~ -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from imred.cpp:12: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ -In file included from imred.cpp:22: +In file included from QFitsToolBar.cpp:35: resources/fileopen.xpm: At global scope: resources/fileopen.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4 | "16 16 5 1", @@ -10977,14 +9805,1036 @@ resources/fileopen.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | "################" | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:36: +resources/reload.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/reload.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/reload.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/reload.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | ".....xxxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".x..x.....x.....", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | ".xxx.......x....", + | ^~~~~~~~~~~~~~~~~~ dialogs.cpp: In constructor 'DpHelp::DpHelp(QWidget*)': dialogs.cpp:266:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 266 | for (int i = 0; i < entry.size(); i++) txt += entry.at(i).c_str(); | ~~^~~~~~~~~~~~~~ +resources/reload.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".xxx........x...", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".xxxx.......x...", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "..x.......xxxx..", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "..x........xxx..", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "...x.......xxx..", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "....x.....x..x..", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | ".....xxxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/reload.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:37: +resources/filesave.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 3 1", + | ^~~~~~~~~~~ +resources/filesave.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ +resources/filesave.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #808000", + | ^~~~~~~~~~~~~ +resources/filesave.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c none", + | ^~~~~~~~~~ +resources/filesave.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "+ +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "+ . ++++++++ + +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "+ . ++++++++ +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "+ .. .. +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "+ ............ +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "+ .. . +", + | ^~~~~~~~~~~~~~~~~~ dialogs.cpp: In function 'QString DpHelp2HTML(std::vector >)': dialogs.cpp:366:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 366 | for (int i = 0; i < what.size(); i++) { | ~~^~~~~~~~~~~~~ +resources/filesave.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "+ .. ++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "+ .. ++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "+ .. ++ . +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "++ +", + | ^~~~~~~~~~~~~~~~~~ +resources/filesave.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "++++++++++++++++" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:38: +resources/editcopy.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 4 1", + | ^~~~~~~~~~~ +resources/editcopy.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ +resources/editcopy.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #000080", + | ^~~~~~~~~~~~~ +resources/editcopy.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c #ffffff", + | ^~~~~~~~~~~~~ +resources/editcopy.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "@ c none", + | ^~~~~~~~~~ +resources/editcopy.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "@@@@@@@@@@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "@ @@@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "@ ++++ @@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "@ ++++ + @@@@@@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "@ + + ......@@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "@ +++++.++++..@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "@ + .++++.+.@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "@ +++++.+ +....", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "@ + .+++++++.", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "@ +++++.+ +.", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "@ .+++++++.", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "@@@@@@@.+ +.", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "@@@@@@@.+++++++.", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "@@@@@@@.........", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "@@@@@@@@@@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ +resources/editcopy.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "@@@@@@@@@@@@@@@@" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:40: +resources/flip.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/flip.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/flip.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/flip.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "....x.....x.....", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "...xx.....xx....", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "..xxxxxxxxxxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "...xx.....xx....", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "....x.....x.....", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flip.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:41: +resources/flop.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/flop.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/flop.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/flop.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "......xxx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".....xxxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | ".....xxxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "......xxx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/flop.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:42: +resources/rotate.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/rotate.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/rotate.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/rotate.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | ".......x........", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "......xx........", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".....xxxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "......xx..x.....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".......x...x....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "............x...", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "............x...", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "..x.........x...", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "..x.........x...", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "..x.........x...", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "...x.......x....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "....x.....x.....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | ".....xxxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:43: +resources/rotate2.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/rotate2.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/rotate2.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/rotate2.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "........x.......", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "........xx......", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "......xxxxx.....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | ".....x..xx......", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "....x...x.......", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "...x............", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "...x............", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "...x.........x..", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "...x.........x..", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "...x.........x..", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "....x.......x...", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ".....x.....x....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "......xxxxx.....", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/rotate2.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:44: +resources/zoomin.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/zoomin.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | ". c None", + | ^~~~~~~~~~ +resources/zoomin.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "x c black", + | ^~~~~~~~~~~ +resources/zoomin.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "........xxxxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".......x.....x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "......x.......x.", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "......x.......x.", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "......xx.....x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ".....xx.xxxxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "....xx.......x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "...xx........x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "..xx.......xxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | ".xx..........x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomin.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "xx...........x.." + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:45: +resources/zoomout.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/zoomout.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/zoomout.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/zoomout.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "........xxxxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | ".......x.....x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "......x.......x.", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | ".....x.........x", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "......x.......x.", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "......xx.....x..", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | ".....xx.xxxxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "....xx..........", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "...xx...........", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "..xx......xxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | ".xx.............", + | ^~~~~~~~~~~~~~~~~~ +resources/zoomout.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "xx.............." + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:46: +resources/movieplay.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "9 9 2 1", + | ^~~~~~~~~ +resources/movieplay.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "X c #000000", + | ^~~~~~~~~~~~~ +resources/movieplay.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | " c None", + | ^~~~~~~~~~ +resources/movieplay.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "X ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "XXX ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "XXXXX ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "XXXXXXX ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "XXXXXXXXX", + | ^~~~~~~~~~~ +resources/movieplay.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "XXXXXXX ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "XXXXX ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "XXX ", + | ^~~~~~~~~~~ +resources/movieplay.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "X " + | ^~~~~~~~~~~ +In file included from QFitsToolBar.cpp:47: +resources/moviepause.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "9 9 2 1", + | ^~~~~~~~~ +resources/moviepause.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "X c #000000", + | ^~~~~~~~~~~~~ +resources/moviepause.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | " c None", + | ^~~~~~~~~~ +resources/moviepause.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "XXX XXX", + | ^~~~~~~~~~~ +resources/moviepause.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "XXX XXX" + | ^~~~~~~~~~~ +In file included from QFitsToolBar.cpp:48: +resources/plus.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/plus.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/plus.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/plus.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "xxxxxxxxxxxxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "xxxxxxxxxxxxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/plus.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | ".......xx......." + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:49: +resources/minus.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/minus.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/minus.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/minus.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "xxxxxxxxxxxxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "xxxxxxxxxxxxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/minus.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:50: +resources/divide.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/divide.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/divide.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/divide.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "xxxxxxxxxxxxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "xxxxxxxxxxxxxxxx", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | ".......xx.......", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/divide.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:51: +resources/multiply.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/multiply.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/multiply.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/multiply.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "..xx........xx..", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "..xxx......xxx..", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "...xxx....xxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "....xxx..xxx....", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".....xxxxxx.....", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "......xxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "......xxxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | ".....xxxxxx.....", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "....xxx..xxx....", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "...xxx....xxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "..xxx......xxx..", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "..xx........xx..", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/multiply.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:52: +resources/power.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/power.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/power.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/power.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "........x.......", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | ".......xxx......", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "......xxxxx.....", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | ".....xxx.xxx....", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "....xxx...xxx...", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "...xxx.....xxx..", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "..xxx.......xxx.", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | ".xxx.........xxx", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ +resources/power.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:53: +resources/convolve.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ +resources/convolve.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | "x c black", + | ^~~~~~~~~~~ +resources/convolve.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | "! c none", + | ^~~~~~~~~~ +resources/convolve.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "!!!!!!!!!!!!!!!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "!!!!xxxxxxxx!!!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "!!!xxxxxxxxxx!!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "!!xx!!!!!!!!xx!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "!xx!xx!!!!xx!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "!xx!xxx!!xxx!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "!xx!!xxxxxx!!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "!xx!!!xxxx!!!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "!xx!!!xxxx!!!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "!xx!!xxxxxx!!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "!xx!xxx!!xxx!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "!xx!xx!!!!xx!xx!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "!!xx!!!!!!!!xx!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "!!!xxxxxxxxxx!!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "!!!!xxxxxxxx!!!!", + | ^~~~~~~~~~~~~~~~~~ +resources/convolve.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "!!!!!!!!!!!!!!!!" + | ^~~~~~~~~~~~~~~~~~ +QFitsToolBar.cpp: In constructor 'QFitsToolBar::QFitsToolBar(QFitsMainWindow*)': +QFitsToolBar.cpp:142:53: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] + 142 | comboRotate->insertItem(0, trUtf8("\x30\xc2\xb0")); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, + from QFitsToolBar.cpp:6: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here + 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ + | ^~~~~~ +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' + 178 | QT_TR_FUNCTIONS \ + | ^~~~~~~~~~~~~~~ +QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' + 24 | Q_OBJECT + | ^~~~~~~~ +QFitsToolBar.cpp:143:57: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] + 143 | comboRotate->insertItem(1, trUtf8("\x39\x30\xc2\xb0")); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, + from QFitsToolBar.cpp:6: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here + 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ + | ^~~~~~ +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' + 178 | QT_TR_FUNCTIONS \ + | ^~~~~~~~~~~~~~~ +QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' + 24 | Q_OBJECT + | ^~~~~~~~ +QFitsToolBar.cpp:144:61: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] + 144 | comboRotate->insertItem(2, trUtf8("\x31\x38\x30\xc2\xb0")); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, + from QFitsToolBar.cpp:6: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here + 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ + | ^~~~~~ +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' + 178 | QT_TR_FUNCTIONS \ + | ^~~~~~~~~~~~~~~ +QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' + 24 | Q_OBJECT + | ^~~~~~~~ +QFitsToolBar.cpp:145:61: warning: 'static QString QFitsToolBar::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] + 145 | comboRotate->insertItem(3, trUtf8("\x32\x37\x30\xc2\xb0")); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/qwindowdefs.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qwidget.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtooltip.h:44, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QToolTip:1, + from QFitsToolBar.cpp:6: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:134:41: note: declared here + 134 | QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ + | ^~~~~~ +/usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:178:5: note: in expansion of macro 'QT_TR_FUNCTIONS' + 178 | QT_TR_FUNCTIONS \ + | ^~~~~~~~~~~~~~~ +QFitsToolBar.h:24:5: note: in expansion of macro 'Q_OBJECT' + 24 | Q_OBJECT + | ^~~~~~~~ dialogs.cpp: In member function 'void dpImportDialog::updatePreview2(const QString&)': dialogs.cpp:1452:52: warning: unused parameter 'bla' [-Wunused-parameter] 1452 | void dpImportDialog::updatePreview2(const QString &bla) { @@ -10993,14 +10843,13 @@ dialogs.cpp:1456:41: warning: unused parameter 'bla' [-Wunused-parameter] 1456 | void dpImportDialog::updatePreview3(int bla) { | ~~~~^~~ -imred.cpp: In constructor 'imRedCblank::imRedCblank(QFitsMainWindow*)': -imred.cpp:975:15: warning: unused variable 'f' [-Wunused-variable] - 975 | Fits *f = sb->getDpData()->fvalue; - | ^ -imred.cpp: In member function 'virtual void imRedResize::accepted()': -imred.cpp:1083:15: warning: unused variable 'f' [-Wunused-variable] - 1083 | Fits *f = sb->getDpData()->fvalue; - | ^ +QFitsToolBar.cpp: In member function 'void QFitsToolBar::updateValues()': +QFitsToolBar.cpp:995:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 995 | if (c > 0) + | ^~ +QFitsToolBar.cpp:999:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 999 | if (movieSlider->value() != c) { + | ^~ dialogs.cpp: In member function 'void dpMpfitPopupWidget::parameterChanged(double)': dialogs.cpp:2113:50: warning: unused parameter 'v' [-Wunused-parameter] 2113 | void dpMpfitPopupWidget::parameterChanged(double v) { @@ -11029,10 +10878,6 @@ dialogs.cpp:2393:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2393 | for (int i = 0; i < variableList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ -imred.cpp: In constructor 'imRedSmooth::imRedSmooth(QFitsMainWindow*)': -imred.cpp:1277:15: warning: unused variable 'f' [-Wunused-variable] - 1277 | Fits *f = sb->getDpData()->fvalue; - | ^ dialogs.cpp:2395:84: warning: array subscript has type 'char' [-Wchar-subscripts] 2395 | mpfit_quick_vars[mpfitParameters->parameterNames.at(i).toStdString()[0]] = result.r8data[i]; | ^ @@ -11114,83 +10959,14 @@ dialogs.cpp:2701:25: warning: unused variable 'dfwhm' [-Wunused-variable] 2701 | double a, fwhm, da, dfwhm; | ^~~~~ -imred.cpp: In constructor 'imRedLongslit::imRedLongslit(QFitsMainWindow*)': -imred.cpp:1866:49: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] - 1866 | mainLayout->addWidget(plotarea, 4, 0); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QButtonGroup:1, - from imred.cpp:1: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ -imred.cpp: In member function 'void imRedLongslit::someValueChanged(const QString&)': -imred.cpp:1954:53: warning: unused parameter 'v' [-Wunused-parameter] - 1954 | void imRedLongslit::someValueChanged(const QString &v) { - | ~~~~~~~~~~~~~~~^ -imred.cpp: In member function 'void imRedEllipticalProfile::someValueChanged(const QString&)': -imred.cpp:2135:62: warning: unused parameter 'v' [-Wunused-parameter] - 2135 | void imRedEllipticalProfile::someValueChanged(const QString &v) { - | ~~~~~~~~~~~~~~~^ -In file included from QFitsToolBar.cpp:53: -resources/convolve.xpm: At global scope: -resources/convolve.xpm:2:14: warning: 'convolve' defined but not used [-Wunused-variable] - 2 | static char *convolve[] = { - | ^~~~~~~~ -In file included from QFitsToolBar.cpp:52: -resources/power.xpm:2:14: warning: 'power' defined but not used [-Wunused-variable] - 2 | static char *power[] = { - | ^~~~~ -In file included from QFitsToolBar.cpp:51: -resources/multiply.xpm:2:14: warning: 'multiply' defined but not used [-Wunused-variable] - 2 | static char *multiply[] = { - | ^~~~~~~~ -In file included from QFitsToolBar.cpp:50: -resources/divide.xpm:2:14: warning: 'divide' defined but not used [-Wunused-variable] - 2 | static char *divide[] = { - | ^~~~~~ -In file included from QFitsToolBar.cpp:49: -resources/minus.xpm:2:14: warning: 'minus_xpm' defined but not used [-Wunused-variable] - 2 | static char *minus_xpm[] = { - | ^~~~~~~~~ -In file included from QFitsToolBar.cpp:48: -resources/plus.xpm:2:14: warning: 'plus_xpm' defined but not used [-Wunused-variable] - 2 | static char *plus_xpm[] = { - | ^~~~~~~~ -In file included from QFitsToolBar.cpp:47: -resources/moviepause.xpm:2:14: warning: 'moviepause' defined but not used [-Wunused-variable] - 2 | static char *moviepause[] = { - | ^~~~~~~~~~ -In file included from QFitsToolBar.cpp:46: -resources/movieplay.xpm:2:14: warning: 'movieplay' defined but not used [-Wunused-variable] - 2 | static char *movieplay[] = { - | ^~~~~~~~~ -In file included from QFitsToolBar.cpp:43: -resources/rotate2.xpm:2:14: warning: 'rotate2_icon' defined but not used [-Wunused-variable] - 2 | static char *rotate2_icon[] = { - | ^~~~~~~~~~~~ -In file included from QFitsToolBar.cpp:42: -resources/rotate.xpm:2:14: warning: 'rotate_icon' defined but not used [-Wunused-variable] - 2 | static char *rotate_icon[] = { - | ^~~~~~~~~~~ -In file included from QFitsToolBar.cpp:41: -resources/flop.xpm:2:14: warning: 'flop_icon' defined but not used [-Wunused-variable] - 2 | static char *flop_icon[] = { - | ^~~~~~~~~ -In file included from QFitsToolBar.cpp:40: -resources/flip.xpm:2:14: warning: 'flip_icon' defined but not used [-Wunused-variable] - 2 | static char *flip_icon[] = { - | ^~~~~~~~~ -In file included from QFitsToolBar.cpp:36: -resources/reload.xpm:2:14: warning: 'reload' defined but not used [-Wunused-variable] - 2 | static char *reload[] = { - | ^~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qt_mainwindow.o qt_mainwindow.cpp -In file included from QFitsMainWindow.h:20, - from QFitsToolBar.cpp:16: +In file included from QFitsCubeSpectrum.h:12, + from QFitsCubeSpectrum.cpp:10: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ +In file included from RGBDialog.h:12, + from RGBDialog.cpp:17: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; @@ -11287,12 +11063,211 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsMainWindow.h:20, + from imred.cpp:8: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsMainWindow.h:20, + from imred.cpp:8: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from QFitsMainWindow.h:20, + from imred.cpp:8: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from QFitsMainWindow.h:20, + from imred.cpp:8: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from imred.cpp:12: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +In file included from imred.cpp:22: +resources/fileopen.xpm: At global scope: +resources/fileopen.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 5 1", + | ^~~~~~~~~~~ +resources/fileopen.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ +resources/fileopen.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #ffff00", + | ^~~~~~~~~~~~~ +resources/fileopen.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c #808000", + | ^~~~~~~~~~~~~ +resources/fileopen.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "@ c #ffffff", + | ^~~~~~~~~~~~~ +resources/fileopen.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "# c none", + | ^~~~~~~~~~ +resources/fileopen.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "################", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "################", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "######### ####", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "######## ### # #", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "############# #", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "# ######## #", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | " @.@ #####", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | " .@.@.@.@. #####", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | " @.@.@.@.@ #####", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | " .@.@ #", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | " @.@ +++++++++ #", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | " .@ +++++++++ ##", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | " @ +++++++++ ###", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | " +++++++++ ####", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | " #####", + | ^~~~~~~~~~~~~~~~~~ +resources/fileopen.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "################" + | ^~~~~~~~~~~~~~~~~~ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, from QFitsViewingTools.cpp:10: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ +imred.cpp: In constructor 'imRedCblank::imRedCblank(QFitsMainWindow*)': +imred.cpp:975:15: warning: unused variable 'f' [-Wunused-variable] + 975 | Fits *f = sb->getDpData()->fvalue; + | ^ +imred.cpp: In member function 'virtual void imRedResize::accepted()': +imred.cpp:1083:15: warning: unused variable 'f' [-Wunused-variable] + 1083 | Fits *f = sb->getDpData()->fvalue; + | ^ +imred.cpp: In constructor 'imRedSmooth::imRedSmooth(QFitsMainWindow*)': +imred.cpp:1277:15: warning: unused variable 'f' [-Wunused-variable] + 1277 | Fits *f = sb->getDpData()->fvalue; + | ^ +imred.cpp: In constructor 'imRedLongslit::imRedLongslit(QFitsMainWindow*)': +imred.cpp:1866:49: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 1866 | mainLayout->addWidget(plotarea, 4, 0); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtWidgets/QButtonGroup:1, + from imred.cpp:1: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +imred.cpp: In member function 'void imRedLongslit::someValueChanged(const QString&)': +imred.cpp:1954:53: warning: unused parameter 'v' [-Wunused-parameter] + 1954 | void imRedLongslit::someValueChanged(const QString &v) { + | ~~~~~~~~~~~~~~~^ +imred.cpp: In member function 'void imRedEllipticalProfile::someValueChanged(const QString&)': +imred.cpp:2135:62: warning: unused parameter 'v' [-Wunused-parameter] + 2135 | void imRedEllipticalProfile::someValueChanged(const QString &v) { + | ~~~~~~~~~~~~~~~^ In file included from QFitsViewingTools.cpp:19: resources/xicon.xpm: At global scope: resources/xicon.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -11479,6 +11454,69 @@ /usr/include/aarch64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ +In file included from QFitsToolBar.cpp:53: +resources/convolve.xpm: At global scope: +resources/convolve.xpm:2:14: warning: 'convolve' defined but not used [-Wunused-variable] + 2 | static char *convolve[] = { + | ^~~~~~~~ +In file included from QFitsToolBar.cpp:52: +resources/power.xpm:2:14: warning: 'power' defined but not used [-Wunused-variable] + 2 | static char *power[] = { + | ^~~~~ +In file included from QFitsToolBar.cpp:51: +resources/multiply.xpm:2:14: warning: 'multiply' defined but not used [-Wunused-variable] + 2 | static char *multiply[] = { + | ^~~~~~~~ +In file included from QFitsToolBar.cpp:50: +resources/divide.xpm:2:14: warning: 'divide' defined but not used [-Wunused-variable] + 2 | static char *divide[] = { + | ^~~~~~ +In file included from QFitsToolBar.cpp:49: +resources/minus.xpm:2:14: warning: 'minus_xpm' defined but not used [-Wunused-variable] + 2 | static char *minus_xpm[] = { + | ^~~~~~~~~ +In file included from QFitsToolBar.cpp:48: +resources/plus.xpm:2:14: warning: 'plus_xpm' defined but not used [-Wunused-variable] + 2 | static char *plus_xpm[] = { + | ^~~~~~~~ +In file included from QFitsToolBar.cpp:47: +resources/moviepause.xpm:2:14: warning: 'moviepause' defined but not used [-Wunused-variable] + 2 | static char *moviepause[] = { + | ^~~~~~~~~~ +In file included from QFitsToolBar.cpp:46: +resources/movieplay.xpm:2:14: warning: 'movieplay' defined but not used [-Wunused-variable] + 2 | static char *movieplay[] = { + | ^~~~~~~~~ +In file included from QFitsToolBar.cpp:43: +resources/rotate2.xpm:2:14: warning: 'rotate2_icon' defined but not used [-Wunused-variable] + 2 | static char *rotate2_icon[] = { + | ^~~~~~~~~~~~ +In file included from QFitsToolBar.cpp:42: +resources/rotate.xpm:2:14: warning: 'rotate_icon' defined but not used [-Wunused-variable] + 2 | static char *rotate_icon[] = { + | ^~~~~~~~~~~ +In file included from QFitsToolBar.cpp:41: +resources/flop.xpm:2:14: warning: 'flop_icon' defined but not used [-Wunused-variable] + 2 | static char *flop_icon[] = { + | ^~~~~~~~~ +In file included from QFitsToolBar.cpp:40: +resources/flip.xpm:2:14: warning: 'flip_icon' defined but not used [-Wunused-variable] + 2 | static char *flip_icon[] = { + | ^~~~~~~~~ +In file included from QFitsToolBar.cpp:36: +resources/reload.xpm:2:14: warning: 'reload' defined but not used [-Wunused-variable] + 2 | static char *reload[] = { + | ^~~~~~ +dialogs.cpp: In member function 'void dpMpfitDialog::loadParams()': +dialogs.cpp:2497:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2497 | fread(newinput, sizeof(char), flength, fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from QFitsMainWindow.h:20, + from QFitsToolBar.cpp:16: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -11495,6 +11533,13 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +In file included from RGBDialog.h:12, + from dialogs.h:39, + from dialogs.cpp:25: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -11612,6 +11657,7 @@ resources/xicon.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | " ...... " | ^~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qt_mainwindow.o qt_mainwindow.cpp qtdpuser.cpp: In function 'int dp_output_string(const char*, const char*)': qtdpuser.cpp:134:34: warning: unused parameter 'dummy' [-Wunused-parameter] 134 | int dp_output_string(const char *dummy, const char *msg) { @@ -11657,6 +11703,12 @@ qtdpuser.cpp:536:24: warning: unused variable 'y' [-Wunused-variable] 536 | int x, y; | ^ +In file included from QFitsViewingTools.h:13, + from QFitsViewingTools.cpp:7: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ qtdpuser.cpp: In member function 'void qtdpuser::enableRedirector()': qtdpuser.cpp:360:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 360 | freopen(redirector.fileName().toStdString().c_str(), "w", stdout); @@ -11666,35 +11718,18 @@ 382 | freopen(redirector.fileName().toStdString().c_str(), "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qt_mdichild.o qt_mdichild.cpp -In file included from QFitsViewingTools.h:13, - from QFitsViewingTools.cpp:7: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -dialogs.cpp: In member function 'void dpMpfitDialog::loadParams()': -dialogs.cpp:2497:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2497 | fread(newinput, sizeof(char), flength, fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from QFitsMainWindow.h:20, from imred.cpp:8: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -In file included from RGBDialog.h:12, - from dialogs.h:39, - from dialogs.cpp:25: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o highlighter.o highlighter.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsPreferences.o QFitsPreferences.cpp qtdpuser.cpp: In member function 'void qtdpuser::fileNameCompletion()': qtdpuser.cpp:669:18: warning: 'delimiter' may be used uninitialized in this function [-Wmaybe-uninitialized] 669 | else if (delimiter == '\'') | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsPreferences.o QFitsPreferences.cpp qtdpuser.cpp: In member function 'virtual void qtdpuser::keyPressEvent(QKeyEvent*)': qtdpuser.cpp:529:30: warning: 'delimiter' may be used uninitialized in this function [-Wmaybe-uninitialized] 529 | else if (delimiter == '\'') @@ -11705,6 +11740,7 @@ QFitsPreferences.cpp:223:44: warning: unused parameter 'value' [-Wunused-parameter] 223 | void QFitsPrefDialog::updateFontSample(int value) { | ~~~~^~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixwindow.o extra/tetrixwindow.cpp In file included from qt_mainwindow.cpp:31: resources/filenew.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4 | "22 22 5 1", @@ -12210,7 +12246,6 @@ resources/editpaste.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | "%%%%%%%%%%%%%%%%%%%%%%", | ^~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixwindow.o extra/tetrixwindow.cpp extra/tetrixpiece.cpp: In member function 'void TetrixPiece::setRandomShape()': extra/tetrixpiece.cpp:52:33: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 52 | setShape(TetrixShape(qrand() % 7 + 1)); @@ -12220,23 +12255,6 @@ /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ -imred.cpp: In member function 'void imRedMarkpos::newPosition(int, int)': -imred.cpp:2277:28: warning: 'yItem' may be used uninitialized in this function [-Wmaybe-uninitialized] - 2277 | positionsTable->setItem(positionsTable->rowCount() - 1, 1, yItem); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -imred.cpp:2275:28: warning: 'xItem' may be used uninitialized in this function [-Wmaybe-uninitialized] - 2275 | positionsTable->setItem(positionsTable->rowCount() - 1, 0, xItem); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -imred.cpp: In member function 'void imRedMarkpos::updateMethod()': -imred.cpp:2345:32: warning: 'yItem' may be used uninitialized in this function [-Wmaybe-uninitialized] - 2345 | positionsTable->setItem(i / 2, 1, yItem); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -imred.cpp:2343:32: warning: 'xItem' may be used uninitialized in this function [-Wmaybe-uninitialized] - 2343 | positionsTable->setItem(i / 2, 0, xItem); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qcustomplot.o QCustomPlot/qcustomplot.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QPgplot.o QPgplot.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget3D.o QFitsWidgets/QFitsWidget3D.cpp extra/tetrixboard.cpp: In member function 'void TetrixBoard::showNextPiece()': extra/tetrixboard.cpp:304:75: warning: 'const QBrush& QPalette::background() const' is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations] 304 | painter.fillRect(pixmap.rect(), nextPieceLabel->palette().background()); @@ -12247,6 +12265,10 @@ /usr/include/aarch64-linux-gnu/qt5/QtGui/qpalette.h:149:26: note: declared here 149 | inline const QBrush &background() const { return window(); } | ^~~~~~~~~~ +imred.cpp: In member function 'void imRedMarkpos::newPosition(int, int)': +imred.cpp:2277:28: warning: 'yItem' may be used uninitialized in this function [-Wmaybe-uninitialized] + 2277 | positionsTable->setItem(positionsTable->rowCount() - 1, 1, yItem); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra/tetrixboard.cpp: In member function 'void TetrixBoard::drawSquare(QPainter&, int, int, TetrixShape)': extra/tetrixboard.cpp:344:33: warning: 'QColor QColor::light(int) const' is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations] 344 | painter.setPen(color.light()); @@ -12258,6 +12280,9 @@ /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:233:30: note: declared here 233 | Q_REQUIRED_RESULT QColor light(int f = 150) const noexcept; | ^~~~~ +imred.cpp:2275:28: warning: 'xItem' may be used uninitialized in this function [-Wmaybe-uninitialized] + 2275 | positionsTable->setItem(positionsTable->rowCount() - 1, 0, xItem); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra/tetrixboard.cpp:348:32: warning: 'QColor QColor::dark(int) const' is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations] 348 | painter.setPen(color.dark()); | ^ @@ -12268,8 +12293,19 @@ /usr/include/aarch64-linux-gnu/qt5/QtGui/qcolor.h:235:30: note: declared here 235 | Q_REQUIRED_RESULT QColor dark(int f = 200) const noexcept; | ^~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qcustomplot.o QCustomPlot/qcustomplot.cpp +imred.cpp: In member function 'void imRedMarkpos::updateMethod()': +imred.cpp:2345:32: warning: 'yItem' may be used uninitialized in this function [-Wmaybe-uninitialized] + 2345 | positionsTable->setItem(i / 2, 1, yItem); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +imred.cpp:2343:32: warning: 'xItem' may be used uninitialized in this function [-Wmaybe-uninitialized] + 2343 | positionsTable->setItem(i / 2, 0, xItem); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QPgplot.o QPgplot.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget3D.o QFitsWidgets/QFitsWidget3D.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView3D.o QFitsViews/QFitsView3D.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.yacchelper.o ../dpuser/dpuser.yacchelper.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o functions.o ../dpuser/functions.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser.yacchelper.cpp:10: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': @@ -12321,117 +12357,6 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o functions.o ../dpuser/functions.cpp -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ -QPgplot.cpp: In member function 'virtual void QPgplot::paintEvent(QPaintEvent*)': -QPgplot.cpp:46:39: warning: unused parameter 'e' [-Wunused-parameter] - 46 | void QPgplot::paintEvent(QPaintEvent *e) { - | ~~~~~~~~~~~~~^ -QPgplot.cpp: In function 'void write_image_file(DeviceData*)': -QPgplot.cpp:187:42: warning: unused parameter 'dev' [-Wunused-parameter] - 187 | static void write_image_file(DeviceData *dev) { - | ~~~~~~~~~~~~^~~ -QPgplot.cpp: In function 'void get_default_dimensions(int*, int*)': -QPgplot.cpp:309:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 309 | width_string = "QPGPLOT_DEFAULT_WIDTH"; - | ^~~~~~~~~~~~~~~~~~~~~~~ -QPgplot.cpp:311:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 311 | height_string = "QPGPLOT_DEFAULT_HEIGHT"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -QPgplot.cpp: In function 'void qtdriv_(int*, float*, int*, char*, int*, int)': -QPgplot.cpp:104:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 104 | #define PNG_IDENT_BASIC "PGPLOT /qt" /* used in warning messages */ - | ^~~~~~~~~~~~ -QPgplot.cpp:473:14: note: in expansion of macro 'PNG_IDENT_BASIC' - 473 | png_ident = PNG_IDENT_BASIC; - | ^~~~~~~~~~~~~~~ -QPgplot.cpp:108:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 108 | #define DEVICE_NAME_BASIC "QT (Qt Widget)" - | ^~~~~~~~~~~~~~~~ -QPgplot.cpp:488:10: note: in expansion of macro 'DEVICE_NAME_BASIC' - 488 | name = DEVICE_NAME_BASIC; - | ^~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o y.tab.o ../dpuser/parser/y.tab.cpp -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../QFitsView/QFitsViews/QFitsView3D.h:7, - from QFitsWidgets/QFitsWidget3D.cpp:2: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../QFitsView/QFitsViews/QFitsView3D.h:7, - from QFitsWidgets/QFitsWidget3D.cpp:2: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ ../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': ../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; @@ -12456,29 +12381,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from ../QFitsView/QFitsViews/QFitsView3D.h:7, - from QFitsWidgets/QFitsWidget3D.cpp:2: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../QFitsView/QFitsViews/QFitsView3D.h:7, - from QFitsWidgets/QFitsWidget3D.cpp:2: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -In file included from /usr/include/string.h:495, - from QPgplot.cpp:34: -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'void qtdriv_(int*, float*, int*, char*, int*, int)' at QPgplot.cpp:519:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'void qtdriv_(int*, float*, int*, char*, int*, int)' at QPgplot.cpp:525:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/functions.cpp:21: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': @@ -12554,10 +12456,39 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.input.o ../dpuser/dpuser.input.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o procedures.o ../dpuser/procedures.cpp +QPgplot.cpp: In member function 'virtual void QPgplot::paintEvent(QPaintEvent*)': +QPgplot.cpp:46:39: warning: unused parameter 'e' [-Wunused-parameter] + 46 | void QPgplot::paintEvent(QPaintEvent *e) { + | ~~~~~~~~~~~~~^ +QPgplot.cpp: In function 'void write_image_file(DeviceData*)': +QPgplot.cpp:187:42: warning: unused parameter 'dev' [-Wunused-parameter] + 187 | static void write_image_file(DeviceData *dev) { + | ~~~~~~~~~~~~^~~ +QPgplot.cpp: In function 'void get_default_dimensions(int*, int*)': +QPgplot.cpp:309:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 309 | width_string = "QPGPLOT_DEFAULT_WIDTH"; + | ^~~~~~~~~~~~~~~~~~~~~~~ +QPgplot.cpp:311:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 311 | height_string = "QPGPLOT_DEFAULT_HEIGHT"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +QPgplot.cpp: In function 'void qtdriv_(int*, float*, int*, char*, int*, int)': +QPgplot.cpp:104:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 104 | #define PNG_IDENT_BASIC "PGPLOT /qt" /* used in warning messages */ + | ^~~~~~~~~~~~ +QPgplot.cpp:473:14: note: in expansion of macro 'PNG_IDENT_BASIC' + 473 | png_ident = PNG_IDENT_BASIC; + | ^~~~~~~~~~~~~~~ +QPgplot.cpp:108:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 108 | #define DEVICE_NAME_BASIC "QT (Qt Widget)" + | ^~~~~~~~~~~~~~~~ +QPgplot.cpp:488:10: note: in expansion of macro 'DEVICE_NAME_BASIC' + 488 | name = DEVICE_NAME_BASIC; + | ^~~~~~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, - from ast.y:13: + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../QFitsView/QFitsViews/QFitsView3D.h:7, + from QFitsWidgets/QFitsWidget3D.cpp:2: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -12570,7 +12501,10 @@ 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ In file included from ../dpuser/functions.h:9, - from ast.y:13: + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../QFitsView/QFitsViews/QFitsView3D.h:7, + from QFitsWidgets/QFitsWidget3D.cpp:2: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -12631,16 +12565,17 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from ../dpuser/dpuser.yacchelper.cpp:14: +In file included from ../QFitsView/QFitsViews/QFitsView3D.h:7, + from QFitsWidgets/QFitsWidget3D.cpp:2: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ -In file included from ../dpuser/dpuser.yacchelper.cpp:14: +In file included from ../QFitsView/QFitsViews/QFitsView3D.h:7, + from QFitsWidgets/QFitsWidget3D.cpp:2: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.yy.o ../dpuser/parser/lex.yy.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -12733,100 +12668,34 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o svn_revision.o ../dpuser/parser/svn_revision.cpp -../dpuser/parser/svn_revision.cpp: In function 'char* GetRevString()': -../dpuser/parser/svn_revision.cpp:3:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3 | char* GetRevString() { return "Rev. XXX"; } - | ^~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser_utils.o ../dpuser/dpuser_utils.cpp -QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::setMode(QCPLayer::LayerMode)': -QCustomPlot/qcustomplot.cpp:1108:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1108 | mPaintBuffer.data()->setInvalidated(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::drawToPaintBuffer()': -QCustomPlot/qcustomplot.cpp:1145:49: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1145 | if (QCPPainter *painter = mPaintBuffer.data()->startPainting()) - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp:1152:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1152 | mPaintBuffer.data()->donePainting(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::replot()': -QCustomPlot/qcustomplot.cpp:1178:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1178 | mPaintBuffer.data()->clear(Qt::transparent); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp:1180:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1180 | mPaintBuffer.data()->setInvalidated(false); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o y.tab.o ../dpuser/parser/y.tab.cpp +In file included from ../dpuser/dpuser.yacchelper.cpp:14: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../dpuser/dpuser.yacchelper.cpp:14: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +In file included from /usr/include/string.h:495, + from QPgplot.cpp:34: +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'void qtdriv_(int*, float*, int*, char*, int*, int)' at QPgplot.cpp:519:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'void qtdriv_(int*, float*, int*, char*, int*, int)' at QPgplot.cpp:525:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, from QFitsViews/QFitsView3D.cpp:16: ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::addChild(QCPLayerable*, bool)': -QCustomPlot/qcustomplot.cpp:1207:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1207 | mPaintBuffer.data()->setInvalidated(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::removeChild(QCPLayerable*)': -QCustomPlot/qcustomplot.cpp:1226:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] - 1226 | mPaintBuffer.data()->setInvalidated(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ In file included from ../libfits/astrolib.h:4, from ../dpuser/functions.cpp:26: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': @@ -12838,6 +12707,7 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.input.o ../dpuser/dpuser.input.cpp ../dpuser/functions.cpp: In constructor 'FunctionDeclaration::FunctionDeclaration(char*, int, int, long int*, int, char**)': ../dpuser/functions.cpp:85:12: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 85 | name = n; @@ -13211,22 +13081,12 @@ ../dpuser/functions.cpp:336:1: warning: missing initializer for member '_function_declarations::options' [-Wmissing-field-initializers] 336 | }; | ^ -QCustomPlot/qcustomplot.cpp: In member function 'Qt::Alignment QCPLayoutInset::insetAlignment(int) const': -QCustomPlot/qcustomplot.cpp:4891:12: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] - 4891 | return 0; - | ^ ../dpuser/functions.cpp:139:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | { "arg", 1, 1, { NUMBER|typeFits }, 0 }, | ^~~~~ ../dpuser/functions.cpp:336:1: warning: missing initializer for member '_function_declarations::options' [-Wmissing-field-initializers] 336 | }; | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ ../dpuser/functions.cpp:336:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../dpuser/functions.cpp:336:1: warning: missing initializer for member '_function_declarations::options' [-Wmissing-field-initializers] ../dpuser/functions.cpp:336:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -13719,56 +13579,6 @@ ../dpuser/functions.cpp:449:42: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 449 | } else if (funcs[id].args[i] == typeId|ANYTHING) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ -QCustomPlot/qcustomplot.cpp: In static member function 'static double QCPAxisTickerDateTime::dateTimeToKey(QDate)': -QCustomPlot/qcustomplot.cpp:6137:24: warning: 'QDateTime::QDateTime(const QDate&)' is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] - 6137 | return QDateTime(date).toMSecsSinceEpoch()/1000.0; - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/QDateTime:1, - from QCustomPlot/qcustomplot.h:62, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qdatetime.h:298:57: note: declared here - 298 | QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &); - | ^~~~~~~~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPAxisTickerText::addTicks(const QMap&)': -QCustomPlot/qcustomplot.cpp:6620:21: warning: 'QMap& QMap::unite(const QMap&) [with Key = double; T = QString]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] - 6620 | mTicks.unite(ticks); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qvariant.h:47, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:50, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qmap.h:1374:15: note: declared here - 1374 | QMap &QMap::unite(const QMap &other) - | ^~~~~~~~~~~~ -QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCPAxis::wheelEvent(QWheelEvent*)': -QCustomPlot/qcustomplot.cpp:8924:42: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] - 8924 | const double wheelSteps = event->delta()/120.0; // a single step delta is +/-120 usually - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here - 219 | inline int delta() const { return qt4D; } - | ^~~~~ -QCustomPlot/qcustomplot.cpp:8926:80: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] - 8926 | scaleRange(factor, pixelToCoord(orientation() == Qt::Horizontal ? event->pos().x() : event->pos().y())); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here - 225 | inline QPoint pos() const { return p.toPoint(); } - | ^~~ -QCustomPlot/qcustomplot.cpp:8926:99: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] - 8926 | scaleRange(factor, pixelToCoord(orientation() == Qt::Horizontal ? event->pos().x() : event->pos().y())); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here - 225 | inline QPoint pos() const { return p.toPoint(); } - | ^~~ ../dpuser/functions.cpp:2504:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2504 | ret = XPAGet(xpa, xpaServer, "fits size", NULL, | ^~~~~~~~~~~ @@ -13823,15 +13633,6 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ -In file included from ast.y:19: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ast.y:19: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ ../dpuser/functions.cpp:2552:55: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 2552 | tmp = tmp.stripWhiteSpace(); | ^ @@ -13954,6 +13755,272 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ +../dpuser/functions.cpp:4969:65: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] + 4969 | *rv.svalue = funcargs[0].svalue->simplifyWhiteSpace(); + | ^ +In file included from ../dpuser/dpuser.h:10, + from ../dpuser/functions.cpp:20: +../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' + 19 | dpString(const dpString &); + | ^~~~~~~~ +../dpuser/functions.cpp:5117:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5117 | if (order < derivative.toInt()) throw dpuserTypeException("poly: The order of the polynomial must be greater than the order of the derivative"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/functions.cpp:5197:65: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] + 5197 | (_ISINF(funcargs[0].cvalue->imag()) < 0)) || + | ^ +../dpuser/functions.cpp:5198:66: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] + 5198 | ((_ISINF(funcargs[0].cvalue->real()) < 0) && + | ^ +../dpuser/functions.cpp:5207:64: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] + 5207 | } else if ((_ISINF(funcargs[0].cvalue->real()) < 0) || + | ^ +../dpuser/functions.cpp:5208:64: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] + 5208 | (_ISINF(funcargs[0].cvalue->imag()) < 0)) { + | ^ +../dpuser/functions.cpp:5221:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5221 | dpuserTypeException e("ERROR: Data must be two dimensional!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/functions.cpp:5278:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5278 | dpuserTypeException e("ERROR: Data must be two dimensional!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/functions.cpp:5285:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5285 | dpuserTypeException e("ERROR: Data and errors don't have the same size!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/functions.cpp:5348:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5348 | dpuserTypeException e("ERROR: Data must be two dimensional!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/functions.cpp:395:16: warning: unused variable 'arguments' [-Wunused-variable] + 395 | dpuserType arguments[20]; + | ^~~~~~~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::setMode(QCPLayer::LayerMode)': +QCustomPlot/qcustomplot.cpp:1108:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1108 | mPaintBuffer.data()->setInvalidated(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::drawToPaintBuffer()': +QCustomPlot/qcustomplot.cpp:1145:49: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1145 | if (QCPPainter *painter = mPaintBuffer.data()->startPainting()) + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp:1152:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1152 | mPaintBuffer.data()->donePainting(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::replot()': +QCustomPlot/qcustomplot.cpp:1178:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1178 | mPaintBuffer.data()->clear(Qt::transparent); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp:1180:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1180 | mPaintBuffer.data()->setInvalidated(false); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::addChild(QCPLayerable*, bool)': +QCustomPlot/qcustomplot.cpp:1207:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1207 | mPaintBuffer.data()->setInvalidated(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPLayer::removeChild(QCPLayerable*)': +QCustomPlot/qcustomplot.cpp:1226:25: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 1226 | mPaintBuffer.data()->setInvalidated(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o procedures.o ../dpuser/procedures.cpp +In file included from ../dpuser/functions.h:9, + from ast.y:13: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ast.y:13: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +QCustomPlot/qcustomplot.cpp: In member function 'Qt::Alignment QCPLayoutInset::insetAlignment(int) const': +QCustomPlot/qcustomplot.cpp:4891:12: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 4891 | return 0; + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +QCustomPlot/qcustomplot.cpp: In static member function 'static double QCPAxisTickerDateTime::dateTimeToKey(QDate)': +QCustomPlot/qcustomplot.cpp:6137:24: warning: 'QDateTime::QDateTime(const QDate&)' is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] + 6137 | return QDateTime(date).toMSecsSinceEpoch()/1000.0; + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/QDateTime:1, + from QCustomPlot/qcustomplot.h:62, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qdatetime.h:298:57: note: declared here + 298 | QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &); + | ^~~~~~~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPAxisTickerText::addTicks(const QMap&)': +QCustomPlot/qcustomplot.cpp:6620:21: warning: 'QMap& QMap::unite(const QMap&) [with Key = double; T = QString]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] + 6620 | mTicks.unite(ticks); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qvariant.h:47, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:50, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qmap.h:1374:15: note: declared here + 1374 | QMap &QMap::unite(const QMap &other) + | ^~~~~~~~~~~~ +QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCPAxis::wheelEvent(QWheelEvent*)': +QCustomPlot/qcustomplot.cpp:8924:42: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] + 8924 | const double wheelSteps = event->delta()/120.0; // a single step delta is +/-120 usually + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here + 219 | inline int delta() const { return qt4D; } + | ^~~~~ +QCustomPlot/qcustomplot.cpp:8926:80: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] + 8926 | scaleRange(factor, pixelToCoord(orientation() == Qt::Horizontal ? event->pos().x() : event->pos().y())); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here + 225 | inline QPoint pos() const { return p.toPoint(); } + | ^~~ +QCustomPlot/qcustomplot.cpp:8926:99: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] + 8926 | scaleRange(factor, pixelToCoord(orientation() == Qt::Horizontal ? event->pos().x() : event->pos().y())); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here + 225 | inline QPoint pos() const { return p.toPoint(); } + | ^~~ +../dpuser/functions.cpp:1569:26: warning: this statement may fall through [-Wimplicit-fallthrough=] + 1569 | case 46: rv.type = typeDbl; + | ~~~~~~~~^~~~~~~~~ +../dpuser/functions.cpp:1570:9: note: here + 1570 | case 45: { + | ^~~~ +../dpuser/functions.cpp:2633:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2633 | fread(newinput, sizeof(char), flength, fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.yy.o ../dpuser/parser/lex.yy.cpp In file included from QCustomPlot/qcustomplot.h:29, from QCustomPlot/qcustomplot.cpp:26: QCustomPlot/qcustomplot.cpp: In destructor 'virtual QCPItemAnchor::~QCPItemAnchor()': @@ -13973,14 +14040,6 @@ /usr/include/aarch64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ -../dpuser/functions.cpp:4969:65: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] - 4969 | *rv.svalue = funcargs[0].svalue->simplifyWhiteSpace(); - | ^ -In file included from ../dpuser/dpuser.h:10, - from ../dpuser/functions.cpp:20: -../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' - 19 | dpString(const dpString &); - | ^~~~~~~~ In file included from QCustomPlot/qcustomplot.h:29, from QCustomPlot/qcustomplot.cpp:26: QCustomPlot/qcustomplot.cpp:11331:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] @@ -13999,30 +14058,6 @@ /usr/include/aarch64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ -../dpuser/functions.cpp:5117:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5117 | if (order < derivative.toInt()) throw dpuserTypeException("poly: The order of the polynomial must be greater than the order of the derivative"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/functions.cpp:5197:65: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] - 5197 | (_ISINF(funcargs[0].cvalue->imag()) < 0)) || - | ^ -../dpuser/functions.cpp:5198:66: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] - 5198 | ((_ISINF(funcargs[0].cvalue->real()) < 0) && - | ^ -../dpuser/functions.cpp:5207:64: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] - 5207 | } else if ((_ISINF(funcargs[0].cvalue->real()) < 0) || - | ^ -../dpuser/functions.cpp:5208:64: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] - 5208 | (_ISINF(funcargs[0].cvalue->imag()) < 0)) { - | ^ -../dpuser/functions.cpp:5221:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5221 | dpuserTypeException e("ERROR: Data must be two dimensional!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/functions.cpp:5278:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5278 | dpuserTypeException e("ERROR: Data must be two dimensional!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/functions.cpp:5285:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5285 | dpuserTypeException e("ERROR: Data and errors don't have the same size!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from QCustomPlot/qcustomplot.h:29, from QCustomPlot/qcustomplot.cpp:26: QCustomPlot/qcustomplot.cpp: In destructor 'virtual QCPItemPosition::~QCPItemPosition()': @@ -14060,9 +14095,142 @@ /usr/include/aarch64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ -../dpuser/functions.cpp:5348:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5348 | dpuserTypeException e("ERROR: Data must be two dimensional!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../libfits/astrolib.h:4, + from ../dpuser/functions.cpp:26: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ +QCustomPlot/qcustomplot.cpp: In constructor 'QCustomPlot::QCustomPlot(QWidget*)': +QCustomPlot/qcustomplot.cpp:12879:32: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QCP::Interaction; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] +12879 | mOpenGlCacheLabelsBackup(true) + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +QCustomPlot/qcustomplot.cpp: In member function 'bool QCustomPlot::removeLayer(QCPLayer*)': +QCustomPlot/qcustomplot.cpp:14126:30: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] +14126 | layer->mPaintBuffer.data()->setInvalidated(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp: In member function 'bool QCustomPlot::moveLayer(QCPLayer*, QCPLayer*, QCustomPlot::LayerInsertMode)': +QCustomPlot/qcustomplot.cpp:14163:30: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] +14163 | layer->mPaintBuffer.data()->setInvalidated(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp:14165:35: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] +14165 | otherLayer->mPaintBuffer.data()->setInvalidated(); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here + 562 | T *data() const noexcept { return internalData(); } + | ^~~~ +QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCustomPlot::wheelEvent(QWheelEvent*)': +QCustomPlot/qcustomplot.cpp:14944:64: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] +14944 | QList candidates = layerableListAt(event->pos(), false); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here + 225 | inline QPoint pos() const { return p.toPoint(); } + | ^~~ +QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCustomPlot::processRectSelection(QRect, QMouseEvent*)': +QCustomPlot/qcustomplot.cpp:15289:137: warning: 'QMap::iterator QMap::insertMulti(const Key&, const T&) [with Key = int; T = QPair]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] +15289 | potentialSelections.insertMulti(dataSel.dataPointCount(), QPair(plottable, dataSel)); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qvariant.h:47, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:50, + from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qmap.h:1362:33: note: declared here + 1362 | typename QMap::iterator QMap::insertMulti(const Key &key, const T &value) + | ^~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o svn_revision.o ../dpuser/parser/svn_revision.cpp +QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCPAxisRect::wheelEvent(QWheelEvent*)': +QCustomPlot/qcustomplot.cpp:17896:40: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] +17896 | double wheelSteps = event->delta()/120.0; // a single step delta is +/-120 usually + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here + 219 | inline int delta() const { return qt4D; } + | ^~~~~ +QCustomPlot/qcustomplot.cpp:17903:108: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] +17903 | mRangeZoomHorzAxis.at(i)->scaleRange(factor, mRangeZoomHorzAxis.at(i)->pixelToCoord(event->pos().x())); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here + 225 | inline QPoint pos() const { return p.toPoint(); } + | ^~~ +QCustomPlot/qcustomplot.cpp:17912:108: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] +17912 | mRangeZoomVertAxis.at(i)->scaleRange(factor, mRangeZoomVertAxis.at(i)->pixelToCoord(event->pos().y())); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here + 225 | inline QPoint pos() const { return p.toPoint(); } + | ^~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPColorScale::setRangeDrag(bool)': +QCustomPlot/qcustomplot.cpp:19543:37: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] +19543 | mAxisRect.data()->setRangeDrag(0); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +QCustomPlot/qcustomplot.cpp: In member function 'void QCPColorScale::setRangeZoom(bool)': +QCustomPlot/qcustomplot.cpp:19563:37: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] +19563 | mAxisRect.data()->setRangeZoom(0); + | ^ +In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +../dpuser/parser/svn_revision.cpp: In function 'char* GetRevString()': +../dpuser/parser/svn_revision.cpp:3:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3 | char* GetRevString() { return "Rev. XXX"; } + | ^~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser_utils.o ../dpuser/dpuser_utils.cpp +In file included from ast.y:19: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ast.y:19: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ In file included from ast.y:8: ast.y: At global scope: ../dpuser/dpuser.h:19:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -14084,19 +14252,6 @@ ast.y:346:63: warning: unused parameter 'file' [-Wunused-parameter] ast.y:346:73: warning: unused parameter 'line' [-Wunused-parameter] ast.y:346:83: warning: unused parameter 'gsl_errno' [-Wunused-parameter] -../dpuser/functions.cpp:395:16: warning: unused variable 'arguments' [-Wunused-variable] - 395 | dpuserType arguments[20]; - | ^~~~~~~~~ -QCustomPlot/qcustomplot.cpp: In constructor 'QCustomPlot::QCustomPlot(QWidget*)': -QCustomPlot/qcustomplot.cpp:12879:32: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QCP::Interaction; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] -12879 | mOpenGlCacheLabelsBackup(true) - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../dpuser/dpuser.input.cpp:7: @@ -14183,63 +14338,10 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -QCustomPlot/qcustomplot.cpp: In member function 'bool QCustomPlot::removeLayer(QCPLayer*)': -QCustomPlot/qcustomplot.cpp:14126:30: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] -14126 | layer->mPaintBuffer.data()->setInvalidated(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp: In member function 'bool QCustomPlot::moveLayer(QCPLayer*, QCPLayer*, QCustomPlot::LayerInsertMode)': -QCustomPlot/qcustomplot.cpp:14163:30: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] -14163 | layer->mPaintBuffer.data()->setInvalidated(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp:14165:35: warning: 'T* QWeakPointer::data() const [with T = QCPAbstractPaintBuffer]' is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] -14165 | otherLayer->mPaintBuffer.data()->setInvalidated(); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/aarch64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCustomPlot::wheelEvent(QWheelEvent*)': -QCustomPlot/qcustomplot.cpp:14944:64: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] -14944 | QList candidates = layerableListAt(event->pos(), false); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here - 225 | inline QPoint pos() const { return p.toPoint(); } - | ^~~ -QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCustomPlot::processRectSelection(QRect, QMouseEvent*)': -QCustomPlot/qcustomplot.cpp:15289:137: warning: 'QMap::iterator QMap::insertMulti(const Key&, const T&) [with Key = int; T = QPair]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] -15289 | potentialSelections.insertMulti(dataSel.dataPointCount(), QPair(plottable, dataSel)); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qvariant.h:47, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:50, - from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qmap.h:1362:33: note: declared here - 1362 | typename QMap::iterator QMap::insertMulti(const Key &key, const T &value) - | ^~~~~~~~~~~~ +QFitsViews/QFitsView3D.cpp: In member function 'void QFitsView3D::newData()': +QFitsViews/QFitsView3D.cpp:408:25: warning: unused variable 'm' [-Wunused-variable] + 408 | dpint64 n1, n2, n3, m; + | ^ ../dpuser/dpuser.input.cpp: In function 'char* tweakInput(char*)': ../dpuser/dpuser.input.cpp:80:11: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 80 | inp = result; @@ -14310,68 +14412,6 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ -QCustomPlot/qcustomplot.cpp: In member function 'virtual void QCPAxisRect::wheelEvent(QWheelEvent*)': -QCustomPlot/qcustomplot.cpp:17896:40: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] -17896 | double wheelSteps = event->delta()/120.0; // a single step delta is +/-120 usually - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here - 219 | inline int delta() const { return qt4D; } - | ^~~~~ -QCustomPlot/qcustomplot.cpp:17903:108: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] -17903 | mRangeZoomHorzAxis.at(i)->scaleRange(factor, mRangeZoomHorzAxis.at(i)->pixelToCoord(event->pos().x())); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here - 225 | inline QPoint pos() const { return p.toPoint(); } - | ^~~ -QCustomPlot/qcustomplot.cpp:17912:108: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] -17912 | mRangeZoomVertAxis.at(i)->scaleRange(factor, mRangeZoomVertAxis.at(i)->pixelToCoord(event->pos().y())); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here - 225 | inline QPoint pos() const { return p.toPoint(); } - | ^~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPColorScale::setRangeDrag(bool)': -QCustomPlot/qcustomplot.cpp:19543:37: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] -19543 | mAxisRect.data()->setRangeDrag(0); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ -QCustomPlot/qcustomplot.cpp: In member function 'void QCPColorScale::setRangeZoom(bool)': -QCustomPlot/qcustomplot.cpp:19563:37: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] -19563 | mAxisRect.data()->setRangeZoom(0); - | ^ -In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/aarch64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ast.l:5: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -14429,6 +14469,61 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from ./QFitsMainWindow.h:20, + from ../dpuser/procedures.cpp:23: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ./QFitsMainWindow.h:20, + from ../dpuser/procedures.cpp:23: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from ../dpuser/procedures.cpp:25: +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': +../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ast.l:5: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ast.l:5: @@ -14450,26 +14545,6 @@ ../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ ../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': ../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } @@ -14478,10 +14553,6 @@ ../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ ../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': ../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] 310 | ASTNode *argument; @@ -14516,32 +14587,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from ./QFitsMainWindow.h:20, - from ../dpuser/procedures.cpp:23: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ./QFitsMainWindow.h:20, - from ../dpuser/procedures.cpp:23: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -../dpuser/functions.cpp:1569:26: warning: this statement may fall through [-Wimplicit-fallthrough=] - 1569 | case 46: rv.type = typeDbl; - | ~~~~~~~~^~~~~~~~~ -../dpuser/functions.cpp:1570:9: note: here - 1570 | case 45: { - | ^~~~ -../dpuser/functions.cpp:2633:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2633 | fread(newinput, sizeof(char), flength, fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from ../dpuser/procedures.cpp:25: -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ In file included from ast.l:7: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] @@ -14553,14 +14598,7 @@ | ^~~~~ ast.l: In function 'int yylex()': ast.l:100:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] -In file included from ../libfits/astrolib.h:4, - from ../dpuser/functions.cpp:26: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ ast.l:64:7: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.procs.o ../dpuser/dpuser.procs.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../dpuser/dpuser_utils.cpp:12: @@ -14662,6 +14700,7 @@ ../dpuser/dpuser_utils.cpp:100:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | ret = XPAGet(xpa, xpaServer, "fits size", NULL, | ^~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.procs.o ../dpuser/dpuser.procs.cpp ../dpuser/dpuser_utils.cpp: In function 'int read_inp(char*)': ../dpuser/dpuser_utils.cpp:176:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | res = readline(""); @@ -14779,6 +14818,18 @@ ../dpuser/dpuser_utils.cpp:1534:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1534 | for (i = 0; i < funcs.size(); i++) { | ~~^~~~~~~~~~~~~~ +In file included from QFitsViews/QFitsView3D.h:7, + from QFitsViews/QFitsView3D.cpp:12: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o y.mpfit.o ../dpuser/mpfit/y.mpfit.cpp +In file included from ../dpuser/dpuser_utils.cpp:13: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser.procs.cpp:6: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': @@ -14854,20 +14905,50 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from ../dpuser/dpuser_utils.cpp:13: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -QFitsViews/QFitsView3D.cpp: In member function 'void QFitsView3D::newData()': -QFitsViews/QFitsView3D.cpp:408:25: warning: unused variable 'm' [-Wunused-variable] - 408 | dpint64 n1, n2, n3, m; - | ^ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o y.mpfit.o ../dpuser/mpfit/y.mpfit.cpp +In file included from mpfit.y:5: +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitunaryMinusNode::~mpfitunaryMinusNode()': +../dpuser/mpfit/mpfitAST.h:40:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 40 | ~mpfitunaryMinusNode() { delete exp; } + | ^~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode::~mpfitfunctionNode()': +../dpuser/mpfit/mpfitAST.h:59:26: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 59 | ~mpfitfunctionNode() { delete arg; } + | ^~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode2::~mpfitfunctionNode2()': +../dpuser/mpfit/mpfitAST.h:68:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:68:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode3::~mpfitfunctionNode3()': +../dpuser/mpfit/mpfitAST.h:77:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:77:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:77:53: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitoperator_node::~mpfitoperator_node()': +../dpuser/mpfit/mpfitAST.h:84:29: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 84 | ~mpfitoperator_node() { delete left; delete right; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:84:42: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 84 | ~mpfitoperator_node() { delete left; delete right; } + | ^~~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitassignmentNode::~mpfitassignmentNode()': +../dpuser/mpfit/mpfitAST.h:124:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 124 | ~mpfitassignmentNode() { delete exp; } + | ^~~~~~~~~~ +mpfit.y: In function 'int mpfitparse()': +mpfit.y:33:89: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] ../dpuser/dpuser_utils.cpp: In function 'bool CubeMerge(const char*, dpStringList&)': ../dpuser/dpuser_utils.cpp:1101:46: warning: 'bi' may be used uninitialized in this function [-Wmaybe-uninitialized] 1101 | dpint64 memsize = (dpint64)n1 * n2 * (abs(bi) / 8); | ~~~^~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.mpfit.o ../dpuser/mpfit/lex.mpfit.cpp In file included from ../dpuser/dpuser.procs.cpp:9: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] @@ -14877,7 +14958,9 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -In file included from mpfit.y:5: +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfitAST.o ../dpuser/mpfit/mpfitAST.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuserType.o ../dpuser/dpuserType.cpp +In file included from mpfit.l:5: ../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitunaryMinusNode::~mpfitunaryMinusNode()': ../dpuser/mpfit/mpfitAST.h:40:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 40 | ~mpfitunaryMinusNode() { delete exp; } @@ -14914,8 +14997,6 @@ ../dpuser/mpfit/mpfitAST.h:124:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 124 | ~mpfitassignmentNode() { delete exp; } | ^~~~~~~~~~ -mpfit.y: In function 'int mpfitparse()': -mpfit.y:33:89: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] ../dpuser/dpuser.procs.cpp: In function 'void mem()': ../dpuser/dpuser.procs.cpp:201:23: warning: comparison of integer expressions of different signedness: 'dpint64' {aka 'long long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 201 | for (n = 1; n < userfunction_arguments[fnc.first].size(); n++) { @@ -15072,20 +15153,6 @@ ../dpuser/dpuser.procs.cpp:727:8: warning: unused variable 'f' [-Wunused-variable] 727 | char *f; | ^ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.mpfit.o ../dpuser/mpfit/lex.mpfit.cpp -In file included from QFitsViews/QFitsView3D.h:7, - from QFitsViews/QFitsView3D.cpp:12: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -../dpuser/dpuser.procs.cpp: In function 'void print(dpuserType&, int)': -../dpuser/dpuser.procs.cpp:77:13: warning: this statement may fall through [-Wimplicit-fallthrough=] - 77 | if (!v.fvalue->ReadFITS(v.ffvalue->c_str())) break; - | ^~ -../dpuser/dpuser.procs.cpp:78:3: note: here - 78 | case typeFits: { - | ^~~~ ../dpuser/procedures.cpp: At global scope: ../dpuser/procedures.cpp:73:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | { "pgarro", 4, 4, { REALNUM, REALNUM, REALNUM, REALNUM }, 0 }, @@ -15355,6 +15422,10 @@ ../dpuser/procedures.cpp:117:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | { "pgmove", 2, 2, { REALNUM, REALNUM }, 0 }, | ^~~~~~~~ +../dpuser/functions.cpp: In function 'dpuserType resolveFunction(int, std::vector, std::vector >)': +../dpuser/functions.cpp:2734:41: warning: 'comment' may be used uninitialized in this function [-Wmaybe-uninitialized] + 2734 | if (has_comment && fl[0] == comment) fl = ""; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ @@ -15728,11 +15799,6 @@ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] ../dpuser/procedures.cpp:304:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] -In file included from ../dpuser/dpuser.procs.cpp:9: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ ../dpuser/procedures.cpp:304:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] ../dpuser/procedures.cpp:304:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -15827,7 +15893,6 @@ ../dpuser/procedures.cpp:2115:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2115 | ret = XPASet(xpa, xpaServer, "scale minmax", NULL, | ^~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfitAST.o ../dpuser/mpfit/mpfitAST.cpp ../dpuser/procedures.cpp:2516:27: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 2516 | key = "t"; | ^~~ @@ -15889,6 +15954,43 @@ ../dpuser/procedures.cpp:3096:33: warning: variable 'zoomLevel' set but not used [-Wunused-but-set-variable] 3096 | int zoomLevel = -100; | ^~~~~~~~~ +In file included from ../dpuser/mpfit/mpfitAST.cpp:2: +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitunaryMinusNode::~mpfitunaryMinusNode()': +../dpuser/mpfit/mpfitAST.h:40:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 40 | ~mpfitunaryMinusNode() { delete exp; } + | ^~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode::~mpfitfunctionNode()': +../dpuser/mpfit/mpfitAST.h:59:26: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 59 | ~mpfitfunctionNode() { delete arg; } + | ^~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode2::~mpfitfunctionNode2()': +../dpuser/mpfit/mpfitAST.h:68:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:68:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode3::~mpfitfunctionNode3()': +../dpuser/mpfit/mpfitAST.h:77:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:77:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:77:53: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitoperator_node::~mpfitoperator_node()': +../dpuser/mpfit/mpfitAST.h:84:29: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 84 | ~mpfitoperator_node() { delete left; delete right; } + | ^~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h:84:42: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 84 | ~mpfitoperator_node() { delete left; delete right; } + | ^~~~~~~~~~~~ +../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitassignmentNode::~mpfitassignmentNode()': +../dpuser/mpfit/mpfitAST.h:124:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 124 | ~mpfitassignmentNode() { delete exp; } + | ^~~~~~~~~~ ../dpuser/procedures.cpp:3188:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] 3188 | for (unsigned long i = 0; i < pgVariables[0].fvalue->Nelements() * 8 * 2; i += 8) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15981,6 +16083,13 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ +../dpuser/dpuser.procs.cpp: In function 'void print(dpuserType&, int)': +../dpuser/dpuser.procs.cpp:77:13: warning: this statement may fall through [-Wimplicit-fallthrough=] + 77 | if (!v.fvalue->ReadFITS(v.ffvalue->c_str())) break; + | ^~ +../dpuser/dpuser.procs.cpp:78:3: note: here + 78 | case typeFits: { + | ^~~~ ../dpuser/procedures.cpp:3528:26: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 3528 | filter = "*"; | ^~~ @@ -15992,6 +16101,10 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ +../dpuser/mpfit/mpfitAST.cpp: In member function 'virtual double mpfitvariableNode::evaluate()': +../dpuser/mpfit/mpfitAST.cpp:65:42: warning: array subscript has type 'char' [-Wchar-subscripts] + 65 | if (onechar) return mpfit_quick_vars[first_character]; + | ^~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:3533:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3533 | for (int i = 0; i < listing.size(); i++) { | ~~^~~~~~~~~~~~~~~~ @@ -16004,89 +16117,11 @@ ../dpuser/procedures.cpp:519:14: warning: unused variable 'data5' [-Wunused-variable] 519 | *data5 = NULL; | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuserType.o ../dpuser/dpuserType.cpp -In file included from mpfit.l:5: -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitunaryMinusNode::~mpfitunaryMinusNode()': -../dpuser/mpfit/mpfitAST.h:40:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 40 | ~mpfitunaryMinusNode() { delete exp; } - | ^~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode::~mpfitfunctionNode()': -../dpuser/mpfit/mpfitAST.h:59:26: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 59 | ~mpfitfunctionNode() { delete arg; } - | ^~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode2::~mpfitfunctionNode2()': -../dpuser/mpfit/mpfitAST.h:68:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:68:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode3::~mpfitfunctionNode3()': -../dpuser/mpfit/mpfitAST.h:77:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:77:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:77:53: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitoperator_node::~mpfitoperator_node()': -../dpuser/mpfit/mpfitAST.h:84:29: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 84 | ~mpfitoperator_node() { delete left; delete right; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:84:42: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 84 | ~mpfitoperator_node() { delete left; delete right; } - | ^~~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitassignmentNode::~mpfitassignmentNode()': -../dpuser/mpfit/mpfitAST.h:124:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 124 | ~mpfitassignmentNode() { delete exp; } - | ^~~~~~~~~~ -In file included from ../dpuser/mpfit/mpfitAST.cpp:2: -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitunaryMinusNode::~mpfitunaryMinusNode()': -../dpuser/mpfit/mpfitAST.h:40:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 40 | ~mpfitunaryMinusNode() { delete exp; } - | ^~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode::~mpfitfunctionNode()': -../dpuser/mpfit/mpfitAST.h:59:26: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 59 | ~mpfitfunctionNode() { delete arg; } - | ^~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode2::~mpfitfunctionNode2()': -../dpuser/mpfit/mpfitAST.h:68:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:68:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 68 | ~mpfitfunctionNode2() { delete arg1; delete arg2; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitfunctionNode3::~mpfitfunctionNode3()': -../dpuser/mpfit/mpfitAST.h:77:27: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:77:40: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:77:53: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 77 | ~mpfitfunctionNode3() { delete arg1; delete arg2; delete arg3; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitoperator_node::~mpfitoperator_node()': -../dpuser/mpfit/mpfitAST.h:84:29: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 84 | ~mpfitoperator_node() { delete left; delete right; } - | ^~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h:84:42: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 84 | ~mpfitoperator_node() { delete left; delete right; } - | ^~~~~~~~~~~~ -../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitassignmentNode::~mpfitassignmentNode()': -../dpuser/mpfit/mpfitAST.h:124:28: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 124 | ~mpfitassignmentNode() { delete exp; } - | ^~~~~~~~~~ -../dpuser/mpfit/mpfitAST.cpp: In member function 'virtual double mpfitvariableNode::evaluate()': -../dpuser/mpfit/mpfitAST.cpp:65:42: warning: array subscript has type 'char' [-Wchar-subscripts] - 65 | if (onechar) return mpfit_quick_vars[first_character]; - | ^~~~~~~~~~~~~~~ -../dpuser/functions.cpp: In function 'dpuserType resolveFunction(int, std::vector, std::vector >)': -../dpuser/functions.cpp:2734:41: warning: 'comment' may be used uninitialized in this function [-Wmaybe-uninitialized] - 2734 | if (has_comment && fl[0] == comment) fl = ""; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +In file included from ../dpuser/dpuser.procs.cpp:9: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuserAST.o ../dpuser/dpuserAST.cpp ../dpuser/mpfit/mpfitAST.cpp: In member function 'virtual double mpfitfunctionNode3::evaluate()': ../dpuser/mpfit/mpfitAST.cpp:161:9: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -16095,27 +16130,6 @@ ../dpuser/mpfit/mpfitAST.cpp:163:5: note: here 163 | default: return a3; break; | ^~~~~~~ -../dpuser/procedures.cpp:1888:19: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1888 | system(arg[0].svalue->c_str()); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./QFitsMainWindow.h:20, - from ../dpuser/procedures.cpp:23: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -In file included from ../dpuser/dpuserAST.cpp:4: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from mpfit.l:6: @@ -16130,25 +16144,6 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/dpuserAST.cpp:4: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from mpfit.l:6: @@ -16156,10 +16151,6 @@ ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ ../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': ../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -16171,23 +16162,9 @@ ../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] 271 | ASTNode *stmt = NULL; | ^~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ ../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ ../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': ../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } @@ -16230,6 +16207,57 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ +mpfit.l: In function 'int mpfitlex()': +mpfit.l:33:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] +In file included from ../dpuser/dpuserAST.cpp:4: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/dpuserAST.cpp:4: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ ../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': ../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; @@ -16254,8 +16282,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -mpfit.l: In function 'int mpfitlex()': -mpfit.l:33:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] lex.mpfit.c: At global scope: lex.mpfit.c:1175:17: warning: 'void mpfitunput(int, char*)' defined but not used [-Wunused-function] In file included from ../dpuser/functions.h:9, @@ -16723,6 +16749,9 @@ ../dpuser/dpuserType.cpp:1621:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1621 | for (int i = 0; i < size(); i++) { | ~~^~~~~~~~ +../dpuser/procedures.cpp:1888:19: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1888 | system(arg[0].svalue->c_str()); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/dpuserType.cpp: In member function 'dpuserType dpuserType::operator-()': ../dpuser/dpuserType.cpp:371:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 371 | if (!result.fvalue->ReadFITS(ffvalue->c_str())) { @@ -16730,21 +16759,12 @@ ../dpuser/dpuserType.cpp:375:9: note: here 375 | case typeFits: | ^~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o gdl_dpuser.o ../dpuser/gdl_dpuser.cpp -../dpuser/gdl_dpuser.cpp:28:41: warning: "/*" within comment [-Wcomment] - 28 | * - ar rv gdl.a src/CMakeFiles/gdl.dir/*.o src/antlr/CMakeFiles/antlr.dir/*.o - | -../dpuser/gdl_dpuser.cpp:28:76: warning: "/*" within comment [-Wcomment] -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o python_dpuser.o ../dpuser/python_dpuser.cpp -../dpuser/python_dpuser.cpp:506:1: warning: multi-line comment [-Wcomment] - 506 | // PyErr_Format(PyExc_RuntimeError, "module compiled against "\ - | ^ -../dpuser/python_dpuser.cpp:512:1: warning: multi-line comment [-Wcomment] - 512 | // PyErr_Format(PyExc_RuntimeError, "module compiled against "\ - | ^ -../dpuser/python_dpuser.cpp:535:1: warning: multi-line comment [-Wcomment] - 535 | // PyErr_Format(PyExc_RuntimeError, "FATAL: module compiled as "\ - | ^ +In file included from ./QFitsMainWindow.h:20, + from ../dpuser/procedures.cpp:23: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/dpuserAST.cpp:10: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] @@ -16754,6 +16774,7 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o gdl_dpuser.o ../dpuser/gdl_dpuser.cpp ../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType assignmentNode::evaluate()': ../dpuser/dpuserAST.cpp:45:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | if (intermittent.type == typeUnknown) throw dpuserTypeException("Cannot assign this to a variable\n"); @@ -16788,6 +16809,10 @@ ../dpuser/dpuserAST.cpp:213:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | for (int i = 0; i < args.size(); i++) { | ~~^~~~~~~~~~~~~ +../dpuser/gdl_dpuser.cpp:28:41: warning: "/*" within comment [-Wcomment] + 28 | * - ar rv gdl.a src/CMakeFiles/gdl.dir/*.o src/antlr/CMakeFiles/antlr.dir/*.o + | +../dpuser/gdl_dpuser.cpp:28:76: warning: "/*" within comment [-Wcomment] ../dpuser/dpuserAST.cpp: In constructor 'procedureNode::procedureNode(std::string)': ../dpuser/dpuserAST.cpp:281:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 281 | if (builtin_id >= procs.size()) builtin_id = -1; @@ -16814,7 +16839,6 @@ ../dpuser/dpuserAST.cpp:362:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 362 | for (int i = 0; i < args.size(); i++) { | ~~^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o arithmetics.o ../dpuser/arithmetics.cpp ../dpuser/dpuserAST.cpp:391:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 391 | for (int i = 0; i < arguments.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ @@ -16891,7 +16915,16 @@ ../dpuser/dpuserAST.cpp:1143:31: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1143 | } else if (indices[0] > dpuser_vars[id].dparrvalue->size()-1) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o boolean.o ../dpuser/boolean.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o python_dpuser.o ../dpuser/python_dpuser.cpp +../dpuser/python_dpuser.cpp:506:1: warning: multi-line comment [-Wcomment] + 506 | // PyErr_Format(PyExc_RuntimeError, "module compiled against "\ + | ^ +../dpuser/python_dpuser.cpp:512:1: warning: multi-line comment [-Wcomment] + 512 | // PyErr_Format(PyExc_RuntimeError, "module compiled against "\ + | ^ +../dpuser/python_dpuser.cpp:535:1: warning: multi-line comment [-Wcomment] + 535 | // PyErr_Format(PyExc_RuntimeError, "FATAL: module compiled as "\ + | ^ ../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType procedureNode::evaluate()': ../dpuser/dpuserAST.cpp:426:1: warning: control reaches end of non-void function [-Wreturn-type] 426 | } @@ -16904,116 +16937,13 @@ ../dpuser/dpuserAST.cpp:1193:1: warning: control reaches end of non-void function [-Wreturn-type] 1193 | } | ^ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../dpuser/python_dpuser.cpp:9: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../dpuser/python_dpuser.cpp:9: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ -In file included from ../dpuser/python_dpuser.cpp:10: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../dpuser/python_dpuser.cpp:10: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -../dpuser/python_dpuser.cpp: In function 'int call_python(std::string, std::vector*, std::vector >, std::map, std::pair, dpuserType> >*, bool, dpuserType&)': -../dpuser/python_dpuser.cpp:983:29: warning: unused parameter 'func_or_pro' [-Wunused-parameter] - 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { - | ~~~~~~~~~~~~^~~~~~~~~~~ -../dpuser/python_dpuser.cpp:983:67: warning: unused parameter 'args' [-Wunused-parameter] - 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ -../dpuser/python_dpuser.cpp:983:98: warning: unused parameter 'variables' [-Wunused-parameter] - 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -../dpuser/python_dpuser.cpp:983:169: warning: unused parameter 'keyw' [-Wunused-parameter] - 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ -../dpuser/python_dpuser.cpp:983:180: warning: unused parameter 'isFunction' [-Wunused-parameter] - 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { - | ~~~~~^~~~~~~~~~ -../dpuser/python_dpuser.cpp:983:204: warning: unused parameter 'rv' [-Wunused-parameter] - 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { - | ~~~~~~~~~~~~^~ In file included from ../dpuser/dpuserAST.cpp:10: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o arithmetics.o ../dpuser/arithmetics.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o boolean.o ../dpuser/boolean.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../dpuser/gdl_dpuser.cpp:33: @@ -17119,12 +17049,9 @@ ../dpuser/gdl_dpuser.cpp:669:201: warning: unused parameter 'rv' [-Wunused-parameter] 669 | int call_gdl(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { | ~~~~~~~~~~~~^~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o helpmap.o ../dpuser/doc/helpmap.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpstring.o ../utils/dpstring.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../dpuser/arithmetics.cpp:3: + from ../dpuser/python_dpuser.cpp:9: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -17138,8 +17065,7 @@ | ~~~~~~~~~~~~^~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../dpuser/arithmetics.cpp:3: + from ../dpuser/python_dpuser.cpp:9: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -17158,21 +17084,6 @@ ../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } | ^~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../dpuser/boolean.cpp:3: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ ../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': ../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } @@ -17215,10 +17126,55 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o helpmap.o ../dpuser/doc/helpmap.cpp +In file included from ../dpuser/python_dpuser.cpp:10: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../dpuser/python_dpuser.cpp:10: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +../dpuser/python_dpuser.cpp: In function 'int call_python(std::string, std::vector*, std::vector >, std::map, std::pair, dpuserType> >*, bool, dpuserType&)': +../dpuser/python_dpuser.cpp:983:29: warning: unused parameter 'func_or_pro' [-Wunused-parameter] + 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { + | ~~~~~~~~~~~~^~~~~~~~~~~ +../dpuser/python_dpuser.cpp:983:67: warning: unused parameter 'args' [-Wunused-parameter] + 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ +../dpuser/python_dpuser.cpp:983:98: warning: unused parameter 'variables' [-Wunused-parameter] + 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +../dpuser/python_dpuser.cpp:983:169: warning: unused parameter 'keyw' [-Wunused-parameter] + 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ +../dpuser/python_dpuser.cpp:983:180: warning: unused parameter 'isFunction' [-Wunused-parameter] + 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { + | ~~~~~^~~~~~~~~~ +../dpuser/python_dpuser.cpp:983:204: warning: unused parameter 'rv' [-Wunused-parameter] + 983 | int call_python(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { + | ~~~~~~~~~~~~^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpstring.o ../utils/dpstring.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../dpuser/boolean.cpp:3: + from ../dpuser/arithmetics.cpp:3: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../dpuser/arithmetics.cpp:3: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -17288,15 +17244,6 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -In file included from ../dpuser/boolean.cpp:3: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../dpuser/boolean.cpp:3: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ ../dpuser/arithmetics.cpp: In member function 'virtual dpuserType divideNode::evaluate()': ../dpuser/arithmetics.cpp:778:65: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] 778 | *result.cvalue = leftvalue.lvalue / *rightvalue.cvalue; @@ -17418,6 +17365,94 @@ 1164 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o dpstringlist.o ../utils/dpstringlist.cpp +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../dpuser/boolean.cpp:3: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../dpuser/boolean.cpp:3: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from ../dpuser/boolean.cpp:3: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../dpuser/boolean.cpp:3: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ ../dpuser/boolean.cpp: In member function 'virtual dpuserType greaterThanNode::evaluate()': ../dpuser/boolean.cpp:32:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | if (!rightvalue.fvalue->ReadFITS(rightvalue.ffvalue->c_str())) break; @@ -17573,11 +17608,6 @@ ../dpuser/boolean.cpp:580:9: note: here 580 | case typeFits: switch(rightvalue.type) { | ^~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o regex_sr.o ../utils/regex/regex_sr.cpp -../utils/regex/regex_sr.cpp: In constructor 'CRegExp::CRegExp()': -../utils/regex/regex_sr.cpp:50:9: warning: unused variable 'regmlen' [-Wunused-variable] - 50 | int regmlen = 0; - | ^~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../utils/dpstring.cpp:5: @@ -17767,8 +17797,6 @@ ../utils/dpstring.cpp:352:9: warning: comparison of integer expressions of different signedness: 'long int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 352 | if (rv >= size()) rv = -1; | ~~~^~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfit.o ../utils/cmpfit/mpfit.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o kabsch2d.o ../utils/kabsch/kabsch2d.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../utils/dpstringlist.cpp:10: @@ -17900,12 +17928,19 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o 3d_stuff.o ../libfits/3d_stuff.cpp -gcc -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o cube.o ../libfits/cube.c +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o regex_sr.o ../utils/regex/regex_sr.cpp ../utils/dpstringlist.cpp: In member function 'bool dpStringList::readFile(const dpString&)': ../utils/dpstringlist.cpp:196:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 196 | fread(newinput, sizeof(char), flength, fd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../utils/regex/regex_sr.cpp: In constructor 'CRegExp::CRegExp()': +../utils/regex/regex_sr.cpp:50:9: warning: unused variable 'regmlen' [-Wunused-variable] + 50 | int regmlen = 0; + | ^~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfit.o ../utils/cmpfit/mpfit.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o kabsch2d.o ../utils/kabsch/kabsch2d.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o 3d_stuff.o ../libfits/3d_stuff.cpp +gcc -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o cube.o ../libfits/cube.c ../libfits/cube.c: In function 'interpol': ../libfits/cube.c:121:57: warning: 'selected.w' may be used uninitialized in this function [-Wmaybe-uninitialized] 121 | mycube[index(dim,point.x, point.y, point.z)] = selected.w; @@ -17925,49 +17960,6 @@ 254 | mycube[index(dim,(unsigned short )igndata[i].x,(unsigned short )igndata[i].y,(unsigned short )igndata[i].z)] = selected.w; | ~~~~~~~~^~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits.o ../libfits/fits.cpp -../libfits/fits.cpp:192: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 192 | #pragma omp parallel for - | -../libfits/fits.cpp:196: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 196 | #pragma omp parallel for - | -../libfits/fits.cpp:200: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 200 | #pragma omp parallel for - | -../libfits/fits.cpp:204: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 204 | #pragma omp parallel for - | -../libfits/fits.cpp:208: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 208 | #pragma omp parallel for - | -../libfits/fits.cpp:212: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 212 | #pragma omp parallel for - | -../libfits/fits.cpp:216: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 216 | #pragma omp parallel for - | -../libfits/fits.cpp:251: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 251 | #pragma omp parallel for - | -../libfits/fits.cpp:255: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 255 | #pragma omp parallel for - | -../libfits/fits.cpp:259: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 259 | #pragma omp parallel for - | -../libfits/fits.cpp:263: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 263 | #pragma omp parallel for - | -../libfits/fits.cpp:267: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 267 | #pragma omp parallel for - | -../libfits/fits.cpp:271: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 271 | #pragma omp parallel for - | -../libfits/fits.cpp:275: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] - 275 | #pragma omp parallel for - | -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_cube.o ../libfits/fits_cube.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../utils/cmpfit/mpfit.cpp:25: @@ -18041,10 +18033,53 @@ ../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } | ^~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_cube.o ../libfits/fits_cube.cpp ../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ +../libfits/fits.cpp:192: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 192 | #pragma omp parallel for + | +../libfits/fits.cpp:196: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 196 | #pragma omp parallel for + | +../libfits/fits.cpp:200: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 200 | #pragma omp parallel for + | +../libfits/fits.cpp:204: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 204 | #pragma omp parallel for + | +../libfits/fits.cpp:208: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 208 | #pragma omp parallel for + | +../libfits/fits.cpp:212: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 212 | #pragma omp parallel for + | +../libfits/fits.cpp:216: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 216 | #pragma omp parallel for + | +../libfits/fits.cpp:251: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 251 | #pragma omp parallel for + | +../libfits/fits.cpp:255: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 255 | #pragma omp parallel for + | +../libfits/fits.cpp:259: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 259 | #pragma omp parallel for + | +../libfits/fits.cpp:263: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 263 | #pragma omp parallel for + | +../libfits/fits.cpp:267: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 267 | #pragma omp parallel for + | +../libfits/fits.cpp:271: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 271 | #pragma omp parallel for + | +../libfits/fits.cpp:275: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] + 275 | #pragma omp parallel for + | g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_dpl.o ../libfits/fits_dpl.cpp ../libfits/fits_cube.cpp:1875: warning: "COLLAPSEACTION" redefined 1875 | #define COLLAPSEACTION(source,dest) if ((source)!=ignore) ((dest)+=(source)) @@ -18255,6 +18290,7 @@ ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_exc.o ../libfits/fits_exc.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18364,6 +18400,11 @@ ../libfits/dpheader.cpp:991:12: warning: unused variable 'l' [-Wunused-variable] 991 | int i, l; | ^ +In file included from ../libfits/dpheader.cpp:18: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18452,7 +18493,6 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_exc.o ../libfits/fits_exc.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18549,15 +18589,21 @@ ../libfits/fits_cube.cpp:178:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 178 | int m, status; | ^~~~~~ -In file included from ../libfits/dpheader.cpp:18: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ ../libfits/fits_cube.cpp: In member function 'bool Fits::ssa(Fits&, int, int, int, Fits*, Fits*, Fits*, Fits*)': ../libfits/fits_cube.cpp:485:18: warning: variable 'c' set but not used [-Wunused-but-set-variable] 485 | int xmax, ymax, c; | ^ +In file included from /usr/include/string.h:495, + from ../libfits/dpheader.cpp:15: +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'bool verifyFitsKey(char*)' at ../libfits/dpheader.cpp:867:12: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libfits/dpheader.cpp: In function 'bool verifyFitsKey(char*)': +../libfits/dpheader.cpp:867:30: note: length computed here + 867 | strncpy(key, work, strlen(work) + 1); + | ~~~~~~^~~~~~ ../libfits/fits_cube.cpp: In member function 'bool Fits::sssa(const char*, Fits, int, Fits*, Fits*, Fits*, Fits*)': ../libfits/fits_cube.cpp:920:46: warning: variable 'has_mask' set but not used [-Wunused-but-set-variable] 920 | int has_sky = 0, has_flat = 0, has_dpl = 0, has_mask = 0; @@ -18591,27 +18637,58 @@ ../libfits/fits.cpp:62:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | scanf("%s", fname); | ~~~~~^~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from ../libfits/dpheader.cpp:15: +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetIntKey(const char*, int, const char*)' at ../libfits/dpheader.cpp:887:39: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetIntKey(const char*, int, const char*)' at ../libfits/dpheader.cpp:894:12: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying between 0 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetIntKey(const char*, int, const char*)' at ../libfits/dpheader.cpp:899:32: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libfits/fits.cpp:20: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -../libfits/fits_cube.cpp: In member function 'bool Fits::cube2single(char*, char*, int, char*)': -../libfits/fits_cube.cpp:2127:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] - 2127 | int i, j, n, z = 0; - | ^ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_file.o ../libfits/fits_file.cpp -In file included from /usr/include/string.h:495, - from ../libfits/dpheader.cpp:15: -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'bool verifyFitsKey(char*)' at ../libfits/dpheader.cpp:867:12: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetFloatKey(const char*, double, const char*)' at ../libfits/dpheader.cpp:944:39: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetFloatKey(const char*, double, const char*)' at ../libfits/dpheader.cpp:951:12: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying between 0 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetFloatKey(const char*, double, const char*)' at ../libfits/dpheader.cpp:956:35: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetStringKey(const char*, const char*, const char*)' at ../libfits/dpheader.cpp:1003:39: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetStringKey(const char*, const char*, const char*)' at ../libfits/dpheader.cpp:1012:12: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying between 0 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'char* strncat(char*, const char*, size_t)', + inlined from 'bool Fits::SetStringKey(const char*, const char*, const char*)' at ../libfits/dpheader.cpp:1018:35: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libfits/dpheader.cpp: In function 'bool verifyFitsKey(char*)': -../libfits/dpheader.cpp:867:30: note: length computed here - 867 | strncpy(key, work, strlen(work) + 1); - | ~~~~~~^~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18627,23 +18704,6 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ -In file included from /usr/include/string.h:495, - from ../libfits/dpheader.cpp:15: -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetIntKey(const char*, int, const char*)' at ../libfits/dpheader.cpp:887:39: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetIntKey(const char*, int, const char*)' at ../libfits/dpheader.cpp:894:12: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying between 0 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetIntKey(const char*, int, const char*)' at ../libfits/dpheader.cpp:899:32: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18708,21 +18768,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetFloatKey(const char*, double, const char*)' at ../libfits/dpheader.cpp:944:39: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetFloatKey(const char*, double, const char*)' at ../libfits/dpheader.cpp:951:12: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying between 0 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetFloatKey(const char*, double, const char*)' at ../libfits/dpheader.cpp:956:35: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libfits/fits_dpl.cpp:17: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] @@ -18732,26 +18777,16 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetStringKey(const char*, const char*, const char*)' at ../libfits/dpheader.cpp:1003:39: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetStringKey(const char*, const char*, const char*)' at ../libfits/dpheader.cpp:1012:12: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying between 0 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncat(char*, const char*, size_t)', - inlined from 'bool Fits::SetStringKey(const char*, const char*, const char*)' at ../libfits/dpheader.cpp:1018:35: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated copying between 1 and 80 bytes from a string of length 80 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); +../libfits/fits_cube.cpp: In member function 'bool Fits::cube2single(char*, char*, int, char*)': +../libfits/fits_cube.cpp:2127:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] + 2127 | int i, j, n, z = 0; + | ^ +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'void Fits::CopyHeader(const Fits&)' at ../libfits/dpheader.cpp:832:10: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 9 bytes from a string of length 9 [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../libfits/fits_cube.cpp:28: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_file.o ../libfits/fits_file.cpp In file included from /usr/include/string.h:495, from ../libfits/fits.cpp:19: In function 'char* strncpy(char*, const char*, size_t)', @@ -18774,17 +18809,17 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | &deadlist[16][i], &deadlist[17][i], &deadlist[18][i], &deadlist[19][i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'void Fits::CopyHeader(const Fits&)' at ../libfits/dpheader.cpp:832:10: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 9 bytes from a string of length 9 [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libfits/fits_dpl.cpp:17: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_filters.o ../libfits/fits_filters.cpp +In file included from ../libfits/fits_cube.cpp:28: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18877,7 +18912,6 @@ ../libfits/fits_exc.cpp:38:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | if (naxis[0] != 2) return fits_error("Fits::enlarge: Only 2D images allowed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_funcs.o ../libfits/fits_funcs.cpp ../libfits/fits_exc.cpp:55:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 55 | sum /= (double)isum; | ~~~~^~~~~~~~~~~~~~~ @@ -18889,6 +18923,7 @@ ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_funcs.o ../libfits/fits_funcs.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18904,70 +18939,6 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/fits_file.cpp:14: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ ../libfits/fits_funcs.cpp:31: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 31 | #pragma omp parallel for | @@ -19115,6 +19086,70 @@ ../libfits/fits_funcs.cpp:824: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 824 | #pragma omp parallel for | +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_file.cpp:14: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ In file included from ../libfits/fits_file.cpp:14: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] @@ -19187,76 +19222,6 @@ ../libfits/fits_file.cpp:968:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 968 | fread(s, 1, 6, fd); | ~~~~~^~~~~~~~~~~~~ -In file included from ../libfits/fits_file.cpp:14: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ -../libfits/fits_file.cpp: In member function 'bool Fits::GetBintableColumn(int, Fits&)': -../libfits/fits_file.cpp:624:21: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] - 624 | sprintf(key, "TSCAL%i", column); - | ^~ -../libfits/fits_file.cpp:624:15: note: directive argument in the range [1, 2147483647] - 624 | sprintf(key, "TSCAL%i", column); - | ^~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../libfits/fits.h:26, - from ../libfits/fits_file.cpp:14: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libfits/fits_file.cpp:628:21: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] - 628 | sprintf(key, "TZERO%i", column); - | ^~ -../libfits/fits_file.cpp:628:15: note: directive argument in the range [1, 2147483647] - 628 | sprintf(key, "TZERO%i", column); - | ^~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../libfits/fits.h:26, - from ../libfits/fits_file.cpp:14: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libfits/fits_file.cpp:635:23: warning: '%i' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] - 635 | sprintf(key, "TDIM%i", column); - | ^~ -../libfits/fits_file.cpp:635:18: note: directive argument in the range [1, 2147483647] - 635 | sprintf(key, "TDIM%i", column); - | ^~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../libfits/fits.h:26, - from ../libfits/fits_file.cpp:14: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 15 bytes into a destination of size 9 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libfits/fits_file.cpp:662:24: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] - 662 | sprintf(key, "TTYPE%i", column); - | ^~ -../libfits/fits_file.cpp:662:18: note: directive argument in the range [1, 2147483647] - 662 | sprintf(key, "TTYPE%i", column); - | ^~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../libfits/fits.h:26, - from ../libfits/fits_file.cpp:14: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ../libfits/fits.h:27, - from ../libfits/fits_file.cpp:14: -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'bool Fits::getHeaderInformation()' at ../libfits/fits_file.cpp:1123:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 9 bytes from a string of length 9 [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -19345,6 +19310,78 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +In file included from ../libfits/fits_file.cpp:14: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_mem.o ../libfits/fits_mem.cpp +../libfits/fits_file.cpp: In member function 'bool Fits::GetBintableColumn(int, Fits&)': +../libfits/fits_file.cpp:624:21: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] + 624 | sprintf(key, "TSCAL%i", column); + | ^~ +../libfits/fits_file.cpp:624:15: note: directive argument in the range [1, 2147483647] + 624 | sprintf(key, "TSCAL%i", column); + | ^~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../libfits/fits.h:26, + from ../libfits/fits_file.cpp:14: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libfits/fits_file.cpp:628:21: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] + 628 | sprintf(key, "TZERO%i", column); + | ^~ +../libfits/fits_file.cpp:628:15: note: directive argument in the range [1, 2147483647] + 628 | sprintf(key, "TZERO%i", column); + | ^~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../libfits/fits.h:26, + from ../libfits/fits_file.cpp:14: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libfits/fits_file.cpp:635:23: warning: '%i' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] + 635 | sprintf(key, "TDIM%i", column); + | ^~ +../libfits/fits_file.cpp:635:18: note: directive argument in the range [1, 2147483647] + 635 | sprintf(key, "TDIM%i", column); + | ^~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../libfits/fits.h:26, + from ../libfits/fits_file.cpp:14: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 15 bytes into a destination of size 9 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libfits/fits_file.cpp:662:24: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] + 662 | sprintf(key, "TTYPE%i", column); + | ^~ +../libfits/fits_file.cpp:662:18: note: directive argument in the range [1, 2147483647] + 662 | sprintf(key, "TTYPE%i", column); + | ^~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../libfits/fits.h:26, + from ../libfits/fits_file.cpp:14: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from ../libfits/fits.h:27, + from ../libfits/fits_file.cpp:14: +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'bool Fits::getHeaderInformation()' at ../libfits/fits_file.cpp:1123:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 9 bytes from a string of length 9 [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_ops.o ../libfits/fits_ops.cpp ../libfits/fits_file.cpp: In member function 'bool Fits::GetBintableColumn(int, dpStringList&)': ../libfits/fits_file.cpp:711:24: warning: '%i' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 711 | sprintf(key, "TTYPE%i", column); @@ -19360,195 +19397,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_mem.o ../libfits/fits_mem.cpp -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/fits_funcs.cpp:16: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/fits_funcs.cpp:16: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ -In file included from ../libfits/fits_funcs.cpp:16: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../libfits/fits_funcs.cpp:16: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Asin(bool)': -../libfits/fits_funcs.cpp:395:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 395 | c = complex_asin(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Acos(bool)': -../libfits/fits_funcs.cpp:438:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 438 | c = complex_acos(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Atan(bool)': -../libfits/fits_funcs.cpp:474:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 474 | c = complex_atan(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Atan2(Fits&, bool)': -../libfits/fits_funcs.cpp:505:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 505 | c = complex_atan(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Asinh(bool)': -../libfits/fits_funcs.cpp:542:56: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 542 | c = complex_asinh(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Acosh(bool)': -../libfits/fits_funcs.cpp:585:56: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 585 | c = complex_acosh(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Atanh(bool)': -../libfits/fits_funcs.cpp:628:56: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 628 | c = complex_atanh(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Exp()': -../libfits/fits_funcs.cpp:665:54: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 665 | c = complex_exp(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Log(const double&)': -../libfits/fits_funcs.cpp:715:58: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 715 | c = complex_log(dpComplex(cdata[n].r, cdata[n].i)) / denom; - | ^~~~~ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Ln()': -../libfits/fits_funcs.cpp:755:54: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 755 | c = complex_log(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_funcs.cpp: In member function 'bool Fits::Sqrt()': -../libfits/fits_funcs.cpp:794:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 794 | c = complex_sqrt(dpComplex(cdata[n].r, cdata[n].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_funcs.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_ops.o ../libfits/fits_ops.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_procs.o ../libfits/fits_procs.cpp ../libfits/fits_ops.cpp:42: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 42 | #pragma omp parallel for @@ -20045,8 +19893,194 @@ ../libfits/fits_ops.cpp:2417: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 2417 | #pragma omp parallel for private(y,z) | +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_funcs.cpp:16: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_funcs.cpp:16: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from ../libfits/fits_funcs.cpp:16: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../libfits/fits_funcs.cpp:16: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Asin(bool)': +../libfits/fits_funcs.cpp:395:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 395 | c = complex_asin(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Acos(bool)': +../libfits/fits_funcs.cpp:438:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 438 | c = complex_acos(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Atan(bool)': +../libfits/fits_funcs.cpp:474:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 474 | c = complex_atan(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Atan2(Fits&, bool)': +../libfits/fits_funcs.cpp:505:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 505 | c = complex_atan(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Asinh(bool)': +../libfits/fits_funcs.cpp:542:56: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 542 | c = complex_asinh(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Acosh(bool)': +../libfits/fits_funcs.cpp:585:56: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 585 | c = complex_acosh(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Atanh(bool)': +../libfits/fits_funcs.cpp:628:56: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 628 | c = complex_atanh(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Exp()': +../libfits/fits_funcs.cpp:665:54: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 665 | c = complex_exp(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Log(const double&)': +../libfits/fits_funcs.cpp:715:58: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 715 | c = complex_log(dpComplex(cdata[n].r, cdata[n].i)) / denom; + | ^~~~~ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Ln()': +../libfits/fits_funcs.cpp:755:54: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 755 | c = complex_log(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../libfits/fits_funcs.cpp: In member function 'bool Fits::Sqrt()': +../libfits/fits_funcs.cpp:794:55: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 794 | c = complex_sqrt(dpComplex(cdata[n].r, cdata[n].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_funcs.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_range.o ../libfits/fits_range.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_red.o ../libfits/fits_red.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -20142,6 +20176,7 @@ ../libfits/fits_mem.cpp:81:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | return fits_error("Could not allocate enough memory"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_red.o ../libfits/fits_red.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -20248,11 +20283,11 @@ ../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' 33 | dpComplex(const dpComplex &); | ^~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o JulianDay.o ../libfits/JulianDay.cpp ../libfits/fits_ops.cpp: In member function 'bool Fits::add2(const Fits&)': ../libfits/fits_ops.cpp:502:7: warning: unused variable 'loop' [-Wunused-variable] 502 | bool loop = FALSE; | ^~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o JulianDay.o ../libfits/JulianDay.cpp ../libfits/fits_ops.cpp: In member function 'bool Fits::sub2(const Fits&)': ../libfits/fits_ops.cpp:1024:7: warning: unused variable 'loop' [-Wunused-variable] 1024 | bool loop = FALSE; @@ -20277,9 +20312,108 @@ ../libfits/JulianDay.cpp:457: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 457 | #pragma warning (disable: 4244) // disable warning 'conversion from double to unsigned short possible loss of data' | +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_procs.cpp:17: +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': +../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] + 36 | virtual ASTNode *append(ASTNode *) { } + | ^ ../libfits/JulianDay.cpp:519: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 519 | #pragma warning (default: 4244) | +../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': +../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] + 37 | virtual ASTNode *append(std::string option) { } + | ^ +../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] + 37 | virtual ASTNode *append(std::string option) { } + | ~~~~~~~~~~~~^~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_procs.cpp:17: +../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': +../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': +../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': +../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] + 272 | int id; + | ^~ +../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] + 271 | ASTNode *stmt = NULL; + | ^~~~ +../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] + 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } + | ^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': +../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': +../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } + | ~~^~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] + 310 | ASTNode *argument; + | ^~~~~~~~ +../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] + 309 | ASTNode *range; + | ^~~~~ +../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] + 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': +../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~ +../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] + 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; + | ^~~~~~~~ +../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] + 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } + | ^~~~~~~~~~~ +../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': +../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] + 403 | dpuserType evaluate() { body->evaluate(); } + | ^ +In file included from ../libfits/fits_procs.cpp:17: +../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': +../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../libfits/fits_procs.cpp:17: +../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' + 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } + | ^~~~~ +../libfits/fits_procs.cpp: In member function 'void Fits::rotateWCS(double, double, double)': +../libfits/fits_procs.cpp:29:10: warning: unused variable 'x1' [-Wunused-variable] + 29 | double x1, x2; + | ^~ +../libfits/fits_procs.cpp:29:14: warning: unused variable 'x2' [-Wunused-variable] + 29 | double x1, x2; + | ^~ +../libfits/fits_procs.cpp: In member function 'bool Fits::rot90(int)': +../libfits/fits_procs.cpp:735:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 735 | if ((angle != 0) && (angle != 90) && (angle != 180) && (angle != 270)) return fits_error("rot90: Invalid angle"); + | ^~~~~~~~~~~~~~~~~~~~~~ ../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator=(const CJulianDay&)': ../libfits/JulianDay.cpp:127:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] 127 | return *this; @@ -20357,10 +20491,33 @@ ../libfits/JulianDay.cpp:427:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 427 | reform = (lYear == 1582) && ((usMonth == 10) && (usDay > 15) || (usMonth > 10)) || (lYear > 1582); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../libfits/fits_ops.cpp:16: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ +../libfits/fits_procs.cpp: In function 'int Boxcar(Fits&, int, int, int)': +../libfits/fits_procs.cpp:2980:17: warning: unused variable 'index' [-Wunused-variable] + 2980 | dpint64 index; + | ^~~~~ +../libfits/fits_procs.cpp: In member function 'bool Fits::mosaic(const char*)': +../libfits/fits_procs.cpp:3039:40: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] + 3039 | tmpStr = inp[i].simplifyWhiteSpace(); + | ^ +In file included from ../dpuser/dpuser.h:10, + from ../dpuser/dpuser_utils.h:45, + from ../libfits/fits.h:30, + from ../libfits/fits_procs.cpp:17: +../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' + 19 | dpString(const dpString &); + | ^~~~~~~~ +../libfits/fits_procs.cpp:3017:34: warning: unused variable 'd' [-Wunused-variable] + 3017 | float *xshift, *yshift, *scale, d, xmin, xmax, ymin, ymax; + | ^ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../libfits/fits_procs.cpp:17: + from ../libfits/fits_range.cpp:13: ../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] 36 | virtual ASTNode *append(ASTNode *) { } @@ -20375,7 +20532,7 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../libfits/fits_procs.cpp:17: + from ../libfits/fits_range.cpp:13: ../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } @@ -20412,6 +20569,7 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o math_utils.o ../libfits/math_utils.cpp ../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': ../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; @@ -20436,50 +20594,41 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -In file included from ../libfits/fits_procs.cpp:17: +In file included from ../libfits/fits_range.cpp:13: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': ../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } | ^ -In file included from ../libfits/fits_procs.cpp:17: +In file included from ../libfits/fits_range.cpp:13: ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -../libfits/fits_procs.cpp: In member function 'void Fits::rotateWCS(double, double, double)': -../libfits/fits_procs.cpp:29:10: warning: unused variable 'x1' [-Wunused-variable] - 29 | double x1, x2; - | ^~ -../libfits/fits_procs.cpp:29:14: warning: unused variable 'x2' [-Wunused-variable] - 29 | double x1, x2; - | ^~ -../libfits/fits_procs.cpp: In member function 'bool Fits::rot90(int)': -../libfits/fits_procs.cpp:735:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 735 | if ((angle != 0) && (angle != 90) && (angle != 180) && (angle != 270)) return fits_error("rot90: Invalid angle"); - | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o math_utils.o ../libfits/math_utils.cpp -In file included from ../libfits/fits_ops.cpp:16: +../libfits/fits_procs.cpp: In member function 'bool Fits::old_reass()': +../libfits/fits_procs.cpp:2675:3: warning: this statement may fall through [-Wimplicit-fallthrough=] + 2675 | } + | ^ +../libfits/fits_procs.cpp:2676:3: note: here + 2676 | case 3: switch (membits) { + | ^~~~ +../libfits/fits_range.cpp: In member function 'void Fits::deflate()': +../libfits/fits_range.cpp:1199:21: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1199 | sprintf(ctype[i], ""); + | ^~ +../libfits/fits_range.cpp:1201:21: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1201 | sprintf(cunit[i], ""); + | ^~ +../libfits/fits_range.cpp:1251:18: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 1251 | sprintf(crtype, ""); + | ^~ +../libfits/fits_range.cpp: In member function 'bool Fits::reindex(const Fits&)': +../libfits/fits_range.cpp:1276:16: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1276 | for (n = 0; n < indices.Nelements(); n++) { + | ~~^~~~~~~~~~~~~~~~~~~~~ +In file included from ../libfits/fits_procs.cpp:17: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -../libfits/fits_procs.cpp: In function 'int Boxcar(Fits&, int, int, int)': -../libfits/fits_procs.cpp:2980:17: warning: unused variable 'index' [-Wunused-variable] - 2980 | dpint64 index; - | ^~~~~ -../libfits/fits_procs.cpp: In member function 'bool Fits::mosaic(const char*)': -../libfits/fits_procs.cpp:3039:40: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] - 3039 | tmpStr = inp[i].simplifyWhiteSpace(); - | ^ -In file included from ../dpuser/dpuser.h:10, - from ../dpuser/dpuser_utils.h:45, - from ../libfits/fits.h:30, - from ../libfits/fits_procs.cpp:17: -../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' - 19 | dpString(const dpString &); - | ^~~~~~~~ -../libfits/fits_procs.cpp:3017:34: warning: unused variable 'd' [-Wunused-variable] - 3017 | float *xshift, *yshift, *scale, d, xmin, xmax, ymin, ymax; - | ^ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -20521,21 +20670,6 @@ ../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } | ~~^~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/fits_range.cpp:13: -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(ASTNode*)': -../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type] - 36 | virtual ASTNode *append(ASTNode *) { } - | ^ -../dpuser/dpuserAST.h: In member function 'virtual ASTNode* ASTNode::append(std::string)': -../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type] - 37 | virtual ASTNode *append(std::string option) { } - | ^ -../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] - 37 | virtual ASTNode *append(std::string option) { } - | ~~~~~~~~~~~~^~~~~~ ../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': ../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } @@ -20583,46 +20717,6 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/fits_range.cpp:13: -../dpuser/dpuserAST.h: In destructor 'virtual functionNode::~functionNode()': -../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 244 | virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual procedureNode::~procedureNode()': -../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 258 | virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': -../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] - 272 | int id; - | ^~ -../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] - 271 | ASTNode *stmt = NULL; - | ^~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual listNode::~listNode()': -../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 284 | virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In destructor 'virtual rangeNode::~rangeNode()': -../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 295 | virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); } - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:310:14: warning: 'extractrangeNode::argument' will be initialized after [-Wreorder] - 310 | ASTNode *argument; - | ^~~~~~~~ -../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] - 309 | ASTNode *range; - | ^~~~~ -../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] - 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } - | ^~~~~~~~~~~~~~~~ ../libfits/fits_red.cpp: In member function 'bool Fits::quick_lucy(const Fits&, int, double)': ../libfits/fits_red.cpp:610:43: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'dpint64' {aka 'long long int'} [-Wformat=] 610 | sprintf(msg, "lucy interrupted after %li iterations\n", iter+1); @@ -20640,30 +20734,6 @@ ../libfits/fits_red.cpp:721:60: warning: unused parameter 'thresh' [-Wunused-parameter] 721 | bool Fits::maxEntropy(const Fits & dbeam, int niter, float thresh) { | ~~~~~~^~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:45: warning: 'forloopNode::change' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:375:2: warning: when initialized here [-Wreorder] - 375 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In constructor 'forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)': -../dpuser/dpuserAST.h:374:61: warning: 'forloopNode::limit' will be initialized after [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~ -../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] - 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; - | ^~~~~~~~ -../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] - 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } - | ^~~~~~~~~~~ -../dpuser/dpuserAST.h: In member function 'virtual dpuserType userprocedureNode::evaluate()': -../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] - 403 | dpuserType evaluate() { body->evaluate(); } - | ^ ../libfits/fits_red.cpp: In member function 'bool Fits::smooth1d(float, int)': ../libfits/fits_red.cpp:823:16: warning: unused variable 'i' [-Wunused-variable] 823 | long N, M, i, x, y, z, z1, inc; @@ -20693,41 +20763,6 @@ | | | | int long int | %li -In file included from ../libfits/fits_range.cpp:13: -../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': -../libfits/fits.h:161:86: warning: implicitly-declared 'INDEX& INDEX::operator=(const INDEX&)' is deprecated [-Wdeprecated-copy] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../libfits/fits_range.cpp:13: -../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' - 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } - | ^~~~~ -../libfits/fits_procs.cpp: In member function 'bool Fits::old_reass()': -../libfits/fits_procs.cpp:2675:3: warning: this statement may fall through [-Wimplicit-fallthrough=] - 2675 | } - | ^ -../libfits/fits_procs.cpp:2676:3: note: here - 2676 | case 3: switch (membits) { - | ^~~~ -../libfits/fits_range.cpp: In member function 'void Fits::deflate()': -../libfits/fits_range.cpp:1199:21: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1199 | sprintf(ctype[i], ""); - | ^~ -../libfits/fits_range.cpp:1201:21: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1201 | sprintf(cunit[i], ""); - | ^~ -../libfits/fits_range.cpp:1251:18: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 1251 | sprintf(crtype, ""); - | ^~ -../libfits/fits_range.cpp: In member function 'bool Fits::reindex(const Fits&)': -../libfits/fits_range.cpp:1276:16: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1276 | for (n = 0; n < indices.Nelements(); n++) { - | ~~^~~~~~~~~~~~~~~~~~~~~ -In file included from ../libfits/fits_procs.cpp:17: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ In file included from ../libfits/fits_red.cpp:13: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] @@ -21343,11 +21378,6 @@ ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -In file included from ../libfits/voronoi.cpp:1: -../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': -../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 289 | if (this == NULL) return 0; - | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21522,6 +21552,11 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +In file included from ../libfits/voronoi.cpp:1: +../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': +../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 289 | if (this == NULL) return 0; + | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21627,48 +21662,48 @@ ../libfits/astrolib.cpp:833:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 833 | for (int ip = 1; ip < count; ip++) { | ~~~^~~~~~~ -In file included from ../libfits/fits_logic.cpp:6: +In file included from ../libfits/astrolib.h:4, + from ../libfits/astrolib.cpp:1: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ -/usr/lib/qt5/bin/rcc -name QFitsViewDoc doc/QFitsViewDoc.qrc -o qrc_QFitsViewDoc.cpp -In file included from ../libfits/astrolib.h:4, - from ../libfits/astrolib.cpp:1: +In file included from ../libfits/fits_logic.cpp:6: ../libfits/fits.h: In member function 'dpint64 Fits::Naxis(UCHAR) const': ../libfits/fits.h:289:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 289 | if (this == NULL) return 0; | ^~ +/usr/lib/qt5/bin/rcc -name QFitsViewDoc doc/QFitsViewDoc.qrc -o qrc_QFitsViewDoc.cpp /usr/lib/qt5/bin/rcc -name QFitsViewRes resources/QFitsViewRes.qrc -o qrc_QFitsViewRes.cpp g++ -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -dM -E -o moc_predefs.h /usr/lib/aarch64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_QFitsViewDoc.o qrc_QFitsViewDoc.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_QFitsViewRes.o qrc_QFitsViewRes.cpp /usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsMainWindow.h -o moc_QFitsMainWindow.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsMainView.h -o moc_QFitsMainView.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsBuffers/QFitsBaseBuffer.h -o moc_QFitsBaseBuffer.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsBuffers/QFitsSingleBuffer.h -o moc_QFitsSingleBuffer.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsBuffers/QFitsMultiBuffer.h -o moc_QFitsMultiBuffer.cpp ../libfits/fits_cube.cpp: In member function 'Fits& Fits::collapse_median(Fits&, int)': ../libfits/fits_cube.cpp:1993:9: warning: 'sortdata' may be used uninitialized in this function [-Wmaybe-uninitialized] 1993 | free(sortdata); | ~~~~^~~~~~~~~~ +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsMainView.h -o moc_QFitsMainView.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsBuffers/QFitsBaseBuffer.h -o moc_QFitsBaseBuffer.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsBuffers/QFitsSingleBuffer.h -o moc_QFitsSingleBuffer.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsBuffers/QFitsMultiBuffer.h -o moc_QFitsMultiBuffer.cpp /usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsScroller.h -o moc_QFitsScroller.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsBaseWidget.h -o moc_QFitsBaseWidget.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidget1D.h -o moc_QFitsWidget1D.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidget2D.h -o moc_QFitsWidget2D.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidgetWiregrid.h -o moc_QFitsWidgetWiregrid.cpp ../libfits/fits_cube.cpp: In member function 'Fits& Fits::collapse_median(Fits&, int, double)': ../libfits/fits_cube.cpp:2016:9: warning: 'sortdata' may be used uninitialized in this function [-Wmaybe-uninitialized] 2016 | free(sortdata); | ~~~~^~~~~~~~~~ +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsBaseWidget.h -o moc_QFitsBaseWidget.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidget1D.h -o moc_QFitsWidget1D.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidget2D.h -o moc_QFitsWidget2D.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidgetWiregrid.h -o moc_QFitsWidgetWiregrid.cpp /usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidgetContour.h -o moc_QFitsWidgetContour.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidgetTable.h -o moc_QFitsWidgetTable.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsViews/QFitsBaseView.h -o moc_QFitsBaseView.cpp -/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsViews/QFitsView1D.h -o moc_QFitsView1D.cpp ../libfits/fits_cube.cpp: In member function 'Fits& Fits::collapse_meddev(Fits&, int)': ../libfits/fits_cube.cpp:2042:9: warning: 'sortdata' may be used uninitialized in this function [-Wmaybe-uninitialized] 2042 | free(sortdata); | ~~~~^~~~~~~~~~ +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidgetTable.h -o moc_QFitsWidgetTable.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsViews/QFitsBaseView.h -o moc_QFitsBaseView.cpp +/usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsViews/QFitsView1D.h -o moc_QFitsView1D.cpp /usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsViews/QFitsView2D.h -o moc_QFitsView2D.cpp /usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsGlobal.h -o moc_QFitsGlobal.cpp /usr/lib/qt5/bin/moc -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/dpuser-4.0+dfsg/QFitsView/moc_predefs.h -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/dpuser-4.0+dfsg/QFitsView -I/build/dpuser-4.0+dfsg/utils -I/build/dpuser-4.0+dfsg/libfits -I/build/dpuser-4.0+dfsg/include -I/build/dpuser-4.0+dfsg/dpuser -I/build/dpuser-4.0+dfsg/dpuser/parser -I/build/dpuser-4.0+dfsg/QFitsView/QFitsBuffers -I/build/dpuser-4.0+dfsg/QFitsView/QFitsWidgets -I/build/dpuser-4.0+dfsg/QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/aarch64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/aarch64-linux-gnu/10/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include QFitsTools.h -o moc_QFitsTools.cpp @@ -21789,30 +21824,31 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsBaseWidget.o moc_QFitsBaseWidget.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget1D.o moc_QFitsWidget1D.cpp In file included from moc_QFitsBaseBuffer.cpp:10: QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsBaseWidget.o moc_QFitsBaseWidget.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget1D.o moc_QFitsWidget1D.cpp In file included from QFitsBuffers/QFitsSingleBuffer.h:5, from moc_QFitsSingleBuffer.cpp:10: QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget2D.o moc_QFitsWidget2D.cpp In file included from QFitsBuffers/QFitsMultiBuffer.h:5, from moc_QFitsMultiBuffer.cpp:10: QFitsBuffers/QFitsBaseBuffer.h: In member function 'virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)': QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget2D.o moc_QFitsWidget2D.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidgetWiregrid.o moc_QFitsWidgetWiregrid.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidgetContour.o moc_QFitsWidgetContour.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidgetTable.o moc_QFitsWidgetTable.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsBaseView.o moc_QFitsBaseView.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsView1D.o moc_QFitsView1D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21916,9 +21952,7 @@ QFitsWidgets/QFitsWidget1D.h:102:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 102 | const Fits* const getFitResult() { return &fitResult;} | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsView1D.o moc_QFitsView1D.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsView2D.o moc_QFitsView2D.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsGlobal.o moc_QFitsGlobal.cpp In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, from QFitsWidgets/QFitsWidgetContour.h:11, from moc_QFitsWidgetContour.cpp:10: @@ -21926,8 +21960,8 @@ ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } | ~~~~~^~~~~~~~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsGlobal.o moc_QFitsGlobal.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsTools.o moc_QFitsTools.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWedge.o moc_QFitsWedge.cpp In file included from ../QFitsView/QFitsBuffers/QFitsMultiBuffer.h:5, from QFitsWidgets/QFitsWidgetTable.h:13, from moc_QFitsWidgetTable.cpp:10: @@ -21940,9 +21974,11 @@ QFitsWidgets/QFitsWidgetTable.h:77:44: warning: unused parameter 'section' [-Wunused-parameter] 77 | virtual int translateColumnNumber(int *section) const { return -1; } | ~~~~~^~~~~~~ +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWedge.o moc_QFitsWedge.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsCubeSpectrum.o moc_QFitsCubeSpectrum.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_RGBDialog.o moc_RGBDialog.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsHeaderView.o moc_QFitsHeaderView.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsToolBar.o moc_QFitsToolBar.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22035,7 +22071,6 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsToolBar.o moc_QFitsToolBar.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dialogs.o moc_dialogs.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_imred.o moc_imred.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsViewingTools.o moc_QFitsViewingTools.cpp @@ -22320,6 +22355,8 @@ | ^~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_highlighter.o moc_highlighter.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsPreferences.o moc_QFitsPreferences.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_tetrixboard.o moc_tetrixboard.cpp +g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_tetrixwindow.o moc_tetrixwindow.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22416,8 +22453,6 @@ ../libfits/fits.h:120:2: note: because 'INDEX' has user-provided 'INDEX::INDEX(const INDEX&)' 120 | INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); } | ^~~~~ -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_tetrixboard.o moc_tetrixboard.cpp -g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_tetrixwindow.o moc_tetrixwindow.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_qcustomplot.o moc_qcustomplot.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QPgplot.o moc_QPgplot.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtDataVisualization -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget3D.o moc_QFitsWidget3D.cpp @@ -23313,10 +23348,10 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'dpuser-dbgsym' in '../dpuser-dbgsym_4.0+dfsg-3_arm64.deb'. dpkg-deb: building package 'dpuser' in '../dpuser_4.0+dfsg-3_arm64.deb'. -dpkg-deb: building package 'qfitsview-dbgsym' in '../qfitsview-dbgsym_4.0+dfsg-3_arm64.deb'. +dpkg-deb: building package 'dpuser-dbgsym' in '../dpuser-dbgsym_4.0+dfsg-3_arm64.deb'. dpkg-deb: building package 'dpuser-doc' in '../dpuser-doc_4.0+dfsg-3_all.deb'. +dpkg-deb: building package 'qfitsview-dbgsym' in '../qfitsview-dbgsym_4.0+dfsg-3_arm64.deb'. dpkg-deb: building package 'qfitsview' in '../qfitsview_4.0+dfsg-3_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../dpuser_4.0+dfsg-3_arm64.changes @@ -23325,12 +23360,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/12677/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12677/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/25683 and its subdirectories -I: Current time: Tue Aug 24 16:04:45 -12 2021 -I: pbuilder-time-stamp: 1629864285 +I: removing directory /srv/workspace/pbuilder/12677 and its subdirectories +I: Current time: Wed Sep 28 01:03:47 +14 2022 +I: pbuilder-time-stamp: 1664276627