Diff of the two buildlogs: -- --- b1/build.log 2022-01-13 23:13:52.810643004 +0000 +++ b2/build.log 2022-01-14 00:57:57.660870390 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 15 16:43:02 -12 2023 -I: pbuilder-time-stamp: 1676522582 +I: Current time: Fri Jan 14 13:13:58 +14 2022 +I: pbuilder-time-stamp: 1642115638 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.OjtOA6Bj/trustedkeys.kbx': General error -gpgv: Signature made Wed Nov 18 23:25:46 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.8x86ppIf/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/3217613/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/130685/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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/130685/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/130685/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='36675a6e603346dd98de73074778ee04' - 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='3217613' - PS1='# ' - PS2='> ' + INVOCATION_ID=18649949bcee4c63ac8f4df0585e876b + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=130685 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.EefW5HtHlf/pbuilderrc_cRzb --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.EefW5HtHlf/b1 --logfile b1/build.log dpuser_4.0+dfsg-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.EefW5HtHlf/pbuilderrc_LP8h --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.EefW5HtHlf/b2 --logfile b2/build.log dpuser_4.0+dfsg-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 9 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/3217613/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 09:09 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 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 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 09:09 more + -rwsr-xr-x 1 root root 55528 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 18664 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 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 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jan 14 13:15 sh -> bash + lrwxrwxrwx 1 root root 4 Jan 7 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 09:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 09:09 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/130685/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -418,7 +452,7 @@ Get: 185 http://deb.debian.org/debian bullseye/main amd64 libxpa1 amd64 2.1.20-1 [54.0 kB] Get: 186 http://deb.debian.org/debian bullseye/main amd64 libxpa-dev amd64 2.1.20-1 [353 kB] Get: 187 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2 [190 kB] -Fetched 95.2 MB in 2s (53.2 MB/s) +Fetched 95.2 MB in 5s (17.6 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 ... 19655 files and directories currently installed.) @@ -1193,7 +1227,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: Name or service not known +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 @@ -1327,7 +1362,7 @@ cd QFitsView && qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/dpuser-4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: PREFIX=/usr "CONFIG+=release qf_shared" Info: creating stash file /build/dpuser-4.0+dfsg/QFitsView/.qmake.stash dh_auto_build --buildsystem=qmake --sourcedirectory=QFitsView -- -f qfitsview.mk - cd QFitsView && make -j16 -f qfitsview.mk + cd QFitsView && make -j15 -f qfitsview.mk make[2]: Entering directory '/build/dpuser-4.0+dfsg/QFitsView' 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsMainWindow.o QFitsMainWindow.cpp @@ -1341,115 +1376,6 @@ 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 ../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 main.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] @@ -1539,11 +1465,6 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget1D.o QFitsWidgets/QFitsWidget1D.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; } - | ~~~~~^~~~~~~~~~~~~ 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] @@ -2587,6 +2508,104 @@ 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] 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget2D.o QFitsWidgets/QFitsWidget2D.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetWiregrid.o QFitsWidgets/QFitsWidgetWiregrid.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 QFitsMainView.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 QFitsMainWindow.h:20, + from QFitsMainView.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; + | ^~~~~~ +../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 QFitsMainView.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 QFitsMainWindow.h:20, + from QFitsMainView.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 ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -2620,6 +2639,12 @@ ../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] 272 | int id; | ^~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsMainView.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; } + | ~~~~~^~~~~~~~~~~~~ ../dpuser/dpuserAST.h:271:11: warning: 'ASTNode* statementNode::stmt' [-Wreorder] 271 | ASTNode *stmt = NULL; | ^~~~ @@ -2644,6 +2669,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetContour.o QFitsWidgets/QFitsWidgetContour.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; @@ -2683,7 +2709,7 @@ from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from QFitsMainWindow.h:20, - from QFitsMainView.cpp:2: + 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 *) { } @@ -2695,11 +2721,17 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +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, from QFitsMainWindow.h:20, - from QFitsMainView.cpp:2: + 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); } @@ -2761,30 +2793,40 @@ 403 | dpuserType evaluate() { body->evaluate(); } | ^ In file included from QFitsMainWindow.h:20, - from QFitsMainView.cpp:2: + 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 QFitsMainView.cpp:2: + 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(); } | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetWiregrid.o QFitsWidgets/QFitsWidgetWiregrid.cpp In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsMainView.cpp:4: + 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: -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 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;} + | ^~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetTable.o QFitsWidgets/QFitsWidgetTable.cpp +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; } | ~~~~~^~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, @@ -2877,23 +2919,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 ../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 QFitsBuffers/QFitsSingleBuffer.cpp:9: -../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, @@ -2949,7 +2974,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetTable.o QFitsWidgets/QFitsWidgetTable.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; @@ -2974,6 +2998,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsBaseView.o QFitsViews/QFitsBaseView.cpp 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] @@ -2983,11 +3008,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 QFitsBuffers/QFitsSingleBuffer.cpp:9: +../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/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; } | ~~~~~^~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView1D.o QFitsViews/QFitsView1D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -3008,6 +3045,22 @@ from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, from ./QFitsMainWindow.h:20, + from QFitsWidgets/QFitsWidget1D.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 ../libfits/fits.h:30, + 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] @@ -3042,6 +3095,47 @@ ../dpuser/dpuserAST.h:309:14: warning: 'ASTNode* extractrangeNode::range' [-Wreorder] 309 | ASTNode *range; | ^~~~~ +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/QFitsWidget1D.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:311:5: warning: when initialized here [-Wreorder] + 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } + | ^~~~~~~~~~~~~~~~ +../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) { } | ^~~~~~~~~~~~~~~~ @@ -3069,7 +3163,41 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsBaseView.o QFitsViews/QFitsBaseView.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(); } + | ^ +In file included from ./QFitsMainWindow.h:20, + from QFitsWidgets/QFitsWidget1D.cpp:4: +../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/QFitsWidget1D.cpp:4: +../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 ./QFitsMainWindow.h:20, from QFitsBuffers/QFitsMultiBuffer.cpp:7: ../libfits/fits.h: In constructor 'FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)': @@ -3081,12 +3209,1102 @@ ../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 QFitsWidgets/QFitsWidget1D.cpp:6: +QFitsWidgets/QFitsWidget1D.h: At global scope: +QFitsWidgets/QFitsWidget1D.h:100:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] + 100 | const Fits* const getEstimateFitGX() { return &estimatefitgx;} + | ^~~~~ +QFitsWidgets/QFitsWidget1D.h:101:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] + 101 | const Fits* const getEstimateFitGY() { return &estimatefitgy;} + | ^~~~~ +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/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 ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsWidgets/QFitsWidget1D.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView2D.o QFitsViews/QFitsView2D.cpp +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] + 4 | "10 10 2 1", + | ^~~~~~~~~~~ +./resources/xicon_red.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c red", + | ^~~~~~~~~ +./resources/xicon_red.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +./resources/xicon_red.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | " ...... ", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | " .... ", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | ". .. .", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".. ..", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "... ...", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "... ...", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".. ..", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | ". .. .", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | " .... ", + | ^~~~~~~~~~~~ +./resources/xicon_red.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | " ...... " + | ^~~~~~~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'virtual void QFitsWidget1D::paintEvent(QPaintEvent*)': +QFitsWidgets/QFitsWidget1D.cpp:84:45: warning: unused parameter 'e' [-Wunused-parameter] + 84 | void QFitsWidget1D::paintEvent(QPaintEvent *e) { + | ~~~~~~~~~~~~~^ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'bool QFitsWidget1D::handleMousePressEvent(QMouseEvent*)': +QFitsWidgets/QFitsWidget1D.cpp:149:56: warning: unused parameter 'e' [-Wunused-parameter] + 149 | bool QFitsWidget1D::handleMousePressEvent(QMouseEvent *e) { + | ~~~~~~~~~~~~~^ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::plotterMouseMoveEvent(QMouseEvent*)': +QFitsWidgets/QFitsWidget1D.cpp:361:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 361 | if (ppos > 0 && ppos <= plotter->getNdata()) { + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp:355:12: warning: variable 'value' set but not used [-Wunused-but-set-variable] + 355 | double value = 0.0; + | ^~~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'virtual void QFitsWidget1D::enterEvent(QEvent*)': +QFitsWidgets/QFitsWidget1D.cpp:405:40: warning: unused parameter 'e' [-Wunused-parameter] + 405 | void QFitsWidget1D::enterEvent(QEvent *e) { + | ~~~~~~~~^ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::dofit()': +QFitsWidgets/QFitsWidget1D.cpp:477:10: warning: variable 'good' set but not used [-Wunused-but-set-variable] + 477 | bool good; + | ^~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::subtractfit()': +QFitsWidgets/QFitsWidget1D.cpp:577:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 577 | for (i = 0; i < plotter->getNdata(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::addfit()': +QFitsWidgets/QFitsWidget1D.cpp:616:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 616 | for (i = 0; i < plotter->getNdata(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::copyfit()': +QFitsWidgets/QFitsWidget1D.cpp:657:17: warning: unused variable 'x' [-Wunused-variable] + 657 | int x, y; + | ^ +QFitsWidgets/QFitsWidget1D.cpp:657:20: warning: unused variable 'y' [-Wunused-variable] + 657 | int x, y; + | ^ +QFitsWidgets/QFitsWidget1D.cpp: In constructor 'QFitsTransparentLabel::QFitsTransparentLabel(QFitsWidget1D*, QFitsView1D*)': +QFitsWidgets/QFitsWidget1D.cpp:854:42: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 854 | l1->setMinimumSize(m.width("Lorentz:"), 10); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1, + from ./QFitsMainWindow.h:4, + from QFitsWidgets/QFitsWidget1D.cpp:4: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +QFitsWidgets/QFitsWidget1D.cpp:855:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 855 | int w = m.width("-0.00000e-00"); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1, + from ./QFitsMainWindow.h:4, + from QFitsWidgets/QFitsWidget1D.cpp:4: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +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) { } + | ~~~~~~~~~~~~^~~~~~ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'virtual void QFitsTransparentLabel::leaveEvent(QEvent*)': +QFitsWidgets/QFitsWidget1D.cpp:956:48: warning: unused parameter 'e' [-Wunused-parameter] + 956 | void QFitsTransparentLabel::leaveEvent(QEvent *e) { + | ~~~~~~~~^ +QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsTransparentLabel::showValues()': +QFitsWidgets/QFitsWidget1D.cpp:1095:24: warning: unused variable 's' [-Wunused-variable] + 1095 | double s = (resultfity[1] - resultfity[0]) / (resultfitx[1] - resultfitx[0]); + | ^ +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) { } + | ^~~~~~~~~~~~~ +QFitsWidgets/QFitsWidget1D.cpp:1044:13: warning: unused variable 'i' [-Wunused-variable] + 1044 | int i, x1, x2, g, w; + | ^ +QFitsWidgets/QFitsWidget1D.cpp:1044:16: warning: unused variable 'x1' [-Wunused-variable] + 1044 | int i, x1, x2, g, w; + | ^~ +QFitsWidgets/QFitsWidget1D.cpp:1044:20: warning: unused variable 'x2' [-Wunused-variable] + 1044 | int i, x1, x2, g, w; + | ^~ +QFitsWidgets/QFitsWidget1D.cpp:1182:13: warning: unused variable 'hh' [-Wunused-variable] + 1182 | int hh = l1->height() / (nlines+3); + | ^~ +../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 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(); } + | ^~~~~ +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; } + | ~~~~~^~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, + from main.cpp:4: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here + 106 | QT_DEPRECATED static void setColorSpec(int); + | ^~~~~~~~~~~~ +main.cpp:134:57: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] + 134 | QApplication::setColorSpec(QApplication::CustomColor); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, + from main.cpp:4: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here + 106 | QT_DEPRECATED static void setColorSpec(int); + | ^~~~~~~~~~~~ +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: +../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 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); } + | ~~^~~~~~~~~~~~~ +../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 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/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/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; } + | ~~~~~^~~~~~~~~~~~~ +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/QFitsWidget2D.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 QFitsWidgets/QFitsWidget2D.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 QFitsWidgets/QFitsWidget2D.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 QFitsWidgets/QFitsWidget2D.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 ./QFitsMainWindow.h:20, + 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; + | ^~ +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/x86_64-linux-gnu/qt5/QtGui/QMouseEvent:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QMouseEvent:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QMouseEvent:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPainter:1, + from QFitsWidgets/QFitsWidgetWiregrid.cpp:2: +/usr/include/x86_64-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 ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from QFitsWidgets/QFitsWidget2D.cpp:14: +../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 ./QFitsMainWindow.h:20, + 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 *) { } + | ^ +../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 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); } + | ~~^~~~~~~~~~~~~ +../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 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/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(); } + | ^~~~~ +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); + | ~~~~~~^~~~~~~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsGlobal.o QFitsGlobal.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; } + | ~~~~~^~~~~~~ +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] +In file included from QFitsWidgets/QFitsWidgetContour.cpp:19: +./resources/action_stop.xpm: At global scope: +./resources/action_stop.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 32 1", + | ^~~~~~~~~~~~ +./resources/action_stop.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #591A1A", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #5F3F3F", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "X c #6A3838", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "o c #792727", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "O c #674242", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "+ c #7A4646", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "@ c #852F2F", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "# c #8B5C5C", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "$ c #936D6D", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "% c #D83B3B", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "& c #D45353", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "* c #D75555", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "= c #D85656", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "- c #DE5E5E", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "; c #F15F5F", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ": c #E16363", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "> c #E66A6A", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | ", c #E86F6F", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "< c #EB7474", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "1 c #ED7777", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "2 c #FD6565", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 26 | "3 c #FE6A6A", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | "4 c #FF7878", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 28 | "5 c #988C8C", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | "6 c #FC9595", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 30 | "7 c #FEA6A6", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 31 | "8 c #F6B4B4", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 32 | "9 c #FFC9C9", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | "0 c #FED8D8", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 34 | "q c #FDFDFD", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 35 | "w c gray100", + | ^~~~~~~~~~~~~ +./resources/action_stop.xpm:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 36 | "e c None", + | ^~~~~~~~~~ +./resources/action_stop.xpm:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 38 | "eeeewwwwwwweeeee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 39 | "eeew+555$$+weeee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 40 | "eew#0997666@weee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 41 | "ew#011<<,,>4@wee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 42 | "wO011<<,,>>:4 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 43 | "wO8<>>%w4::-3 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:46:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 46 | "wO8>:%w4w---3 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 47 | "wO8::w4--w--3 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 48 | "wO6*******=&3 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 49 | "ew.1*&&&&&&3owee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:50:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | "eew.<2;;;;2owwee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:51:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 51 | "eeewX@ooo@ wweee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:52:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 52 | "eeeewwwwwwweeeee", + | ^~~~~~~~~~~~~~~~~~ +./resources/action_stop.xpm:53:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 53 | "eeeeeeeeeeeeeeee" + | ^~~~~~~~~~~~~~~~~~ +In file included from QFitsWidgets/QFitsWidgetContour.cpp:20: +./resources/icon_accept.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 32 1", + | ^~~~~~~~~~~~ +./resources/icon_accept.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #36591A", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #4C603C", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "X c #4B702E", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "o c #526742", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "O c #5D7A46", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "+ c #52822C", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "@ c #69B83E", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "# c #718B5C", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "$ c #7E936D", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "% c #71BF44", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "& c #76C347", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "* c #7ED547", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "= c #80CB4F", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "- c #83CD53", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "; c #80D948", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ": c #8BD258", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "> c #8BCE60", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | ", c #91D069", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "< c #89E44C", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "1 c #8CE550", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "2 c #93E657", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 26 | "3 c #A4DA77", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | "4 c #A8E577", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 28 | "5 c #91988C", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | "6 c #B3DD96", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 30 | "7 c #C2E6A9", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 31 | "8 c #CDE6B9", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 32 | "9 c #D4EDC5", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | "0 c #ECF7E5", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 34 | "q c #F9FCF7", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 35 | "w c gray100", + | ^~~~~~~~~~~~~ +./resources/icon_accept.xpm:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 36 | "e c None", + | ^~~~~~~~~~ +./resources/icon_accept.xpm:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 38 | "eeeewwwwwwweeeee", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 39 | "eeewO555$$Oweeee", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 40 | "eew#8874444+weee", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 41 | "ew#8::::--=2+wee", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 42 | "wo8:---==,8>2 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 43 | "wo6:--==,0w,2Xwe", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:44:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 44 | "wo6---=>0w9-1Xwe", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:45:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 45 | "wo6>90,9w6%&1 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:46:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 46 | "wo6,7q0w6%%&1 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 47 | "wo6&&,06%%%%< we", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 48 | "wo3@&&%%%%@@1 we", + | ^~~~~~~~~~~~~~~~~~ +./resources/icon_accept.xpm:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 49 | "ew.:%@@@@@@levels->text().split(",", QString::SkipEmptyParts); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmessagebox.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMessageBox:1, + from QFitsWidgets/QFitsWidgetContour.cpp:1: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:609:17: note: declared here + 609 | QStringList split(const QString &sep, SplitBehavior behavior, + | ^~~~~ +QFitsWidgets/QFitsWidgetContour.cpp:99:41: warning: unused parameter 'e' [-Wunused-parameter] + 99 | void dpContour::paintEvent(QPaintEvent *e) { + | ~~~~~~~~~~~~~^ +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) { + | ~~~~~~~~^ +QFitsWidgets/QFitsWidgetContour.cpp: In member function 'virtual void dpContour::leaveEvent(QEvent*)': +QFitsWidgets/QFitsWidgetContour.cpp:304:37: warning: unused parameter 'e' [-Wunused-parameter] + 304 | void dpContour::leaveEvent (QEvent *e) { + | ~~~~~~~~^ +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) { + | ~~~~~~~~~~~~~^ +QFitsWidgets/QFitsWidgetContour.cpp: In member function 'virtual void QFitsWidgetContour::resizeEvent(QResizeEvent*)': +QFitsWidgets/QFitsWidgetContour.cpp:387:52: warning: unused parameter 'e' [-Wunused-parameter] + 387 | void QFitsWidgetContour::resizeEvent(QResizeEvent *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) { + | ~~~~~~~~~~~~~^ +QFitsWidgets/QFitsWidgetContour.cpp: In member function 'void QFitsWidgetContour::setScaling(int)': +QFitsWidgets/QFitsWidgetContour.cpp:438:41: warning: unused parameter 'scaling' [-Wunused-parameter] + 438 | void QFitsWidgetContour::setScaling(int scaling) { + | ~~~~^~~~~~~ +QFitsMainView.cpp: In member function 'void QFitsGrid::addWidget(QWidget*)': +QFitsMainView.cpp:60:9: warning: unused variable 'where' [-Wunused-variable] + 60 | int where = activeID; + | ^~~~~ +QFitsWidgets/QFitsWidgetContour.cpp: In function 'QPainterPath dpCN01(Fits&, int, int, int, int, int, int, double, int, int, int)': +QFitsWidgets/QFitsWidgetContour.cpp:631:34: warning: unused parameter 'MX' [-Wunused-parameter] + 631 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) { + | ~~~~^~ +QFitsWidgets/QFitsWidgetContour.cpp:631:42: warning: unused parameter 'MY' [-Wunused-parameter] + 631 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) { + | ~~~~^~ +QFitsWidgets/QFitsWidgetContour.cpp: In function 'void dpPGCNSC(Fits&, int, int, int, int, int, int, double, QPainter&)': +QFitsWidgets/QFitsWidgetContour.cpp:762:24: warning: unused variable 'P' [-Wunused-variable] + 762 | double Z1, Z2, Z3, P, P1, P2; + | ^ +QFitsWidgets/QFitsWidgetContour.cpp:762:27: warning: unused variable 'P1' [-Wunused-variable] + 762 | double Z1, Z2, Z3, P, P1, P2; + | ^~ +QFitsWidgets/QFitsWidgetContour.cpp:762:31: warning: unused variable 'P2' [-Wunused-variable] + 762 | double Z1, Z2, Z3, P, P1, P2; + | ^~ +QFitsWidgets/QFitsWidgetContour.cpp: In function 'void dpPGCONX(Fits*, Fits&, QPainter&)': +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; + | ^~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ./QFitsCubeSpectrum.h:12, + from QFitsWidgets/QFitsWidgetTable.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 *) { } + | ^ +../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) { } + | ~~~~~~~~~~~~^~~~~~ +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/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QResizeEvent:1, + from QFitsMainView.cpp:1: +/usr/include/x86_64-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 ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ./QFitsCubeSpectrum.h:12, + from QFitsWidgets/QFitsWidgetTable.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); } + | ~~^~~~~~~~~~~~~ +../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 ./QFitsCubeSpectrum.h:12, + from QFitsWidgets/QFitsWidgetTable.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 ./QFitsCubeSpectrum.h:12, + from QFitsWidgets/QFitsWidgetTable.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 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", @@ -3286,6 +4504,7 @@ resources/mpe.xpm:69:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | "-------------------------;$'---------------------------------------------------------------------- #!--------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsMarkers.o QFitsMarkers.cpp resources/mpe.xpm:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | "------------------------'$!---*+++++@----------=+++++.--*++++++++%.)>---.+++++++++++.------------=+=---------------", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3872,7 +5091,6 @@ resources/telescope.xpm:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | "d. c #5EADB9", | ^~~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView1D.o QFitsViews/QFitsView1D.cpp resources/telescope.xpm:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | "f. c #57A6B5", | ^~~~~~~~~~~~~~ @@ -4707,6 +5925,12 @@ 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 ./QFitsMainWindow.h:20, + from QFitsWidgets/QFitsWidgetContour.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; + | ^~ 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] @@ -4755,23 +5979,16 @@ 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] +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsTools.o QFitsTools.cpp QFitsMainWindow.cpp: In member function 'virtual void QFitsMainWindow::resizeEvent(QResizeEvent*)': QFitsMainWindow.cpp:600:49: warning: unused parameter 'e' [-Wunused-parameter] 600 | void QFitsMainWindow::resizeEvent(QResizeEvent *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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView2D.o QFitsViews/QFitsView2D.cpp -QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::imredClicked(int)': -QFitsMainWindow.cpp:940:32: warning: unused variable 'xmin' [-Wunused-variable] - 940 | double xmin, xmax; - | ^~~~ -QFitsMainWindow.cpp:940:38: warning: unused variable 'xmax' [-Wunused-variable] - 940 | double xmin, xmax; - | ^~~~ 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: + from QFitsViews/QFitsView2D.cpp:14: ../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 *) { } @@ -4783,11 +6000,18 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::imredClicked(int)': +QFitsMainWindow.cpp:940:32: warning: unused variable 'xmin' [-Wunused-variable] + 940 | double xmin, xmax; + | ^~~~ +QFitsMainWindow.cpp:940:38: warning: unused variable 'xmax' [-Wunused-variable] + 940 | double xmin, xmax; + | ^~~~ 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: + from QFitsViews/QFitsView2D.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); } @@ -4824,17 +6048,6 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::updateLinemapInfo(int)': -QFitsMainWindow.cpp:1289:102: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 1289 | text.sprintf("Center at %8.5f +- %8.5f %s", start_wavelength, width_wavelength, value); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, - from QFitsMainWindow.cpp:1: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ ../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; @@ -4855,12 +6068,27 @@ ../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } | ^~~~~~~~~~~ +QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::updateLinemapInfo(int)': +QFitsMainWindow.cpp:1289:102: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 1289 | text.sprintf("Center at %8.5f +- %8.5f %s", start_wavelength, width_wavelength, value); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, + from QFitsMainWindow.cpp:1: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ QFitsMainWindow.cpp:1295:33: warning: format '%i' expects argument of type 'int', but argument 3 has type 'dpint64' {aka 'long long int'} [-Wformat=] 1295 | text3.sprintf("%i", f->Naxis(3)); | ~^ ~~~~~~~~~~~ | | | | int dpint64 {aka long long int} | %lli +../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(); } + | ^ QFitsMainWindow.cpp:1295:48: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 1295 | text3.sprintf("%i", f->Naxis(3)); | ^ @@ -4874,34 +6102,18 @@ QFitsMainWindow.cpp:1268:45: warning: unused parameter 'dummy' [-Wunused-parameter] 1268 | void QFitsMainWindow::updateLinemapInfo(int dummy) { | ~~~~^~~~~ -../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(); } +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);; | ^ -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/QFitsWidget1D.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 ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: + from QFitsViews/QFitsView2D.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 ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsBaseWidget.cpp:5: + from QFitsViews/QFitsView2D.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(); } | ^~~~~ @@ -4909,92 +6121,10 @@ QFitsMainWindow.cpp:1343:43: warning: unused parameter 'id' [-Wunused-parameter] 1343 | void QFitsMainWindow::userMenuClicked(int id) { | ~~~~^~ -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/QFitsWidget1D.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) { } - | ^~~~~~~~~~~~~ QFitsMainWindow.cpp: In member function 'void QFitsMainWindow::buffersClicked(int)': QFitsMainWindow.cpp:1416:17: warning: unused variable 'i' [-Wunused-variable] 1416 | int 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 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 QFitsWidgets/QFitsWidget1D.cpp:4: -../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/QFitsWidget1D.cpp:4: -../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/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; } - | ~~~~~^~~~~~~~~~~~~ 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); @@ -5002,6 +6132,28 @@ QFitsMainWindow.cpp:1896:32: warning: unused variable 'mb' [-Wunused-variable] 1896 | QFitsMultiBuffer *mb = dynamic_cast(bb); | ^~ +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; } + | ~~~~~^~~~~~~~~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ./QFitsMainWindow.h:20, + from QFitsViews/QFitsView1D.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 *) { } + | ^ +../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) { } + | ~~~~~~~~~~~~^~~~~~ 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); @@ -5047,6 +6199,15 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here 416 | QSet QSet::fromList(const QList &list) | ^~~~~~~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ./QFitsMainWindow.h:20, + from QFitsViews/QFitsView1D.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); } + | ~~^~~~~~~~~~~~~ QFitsMainWindow.cpp:2289:43: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] 2289 | QStringList newFile = newFiles.toList(); | ^ @@ -5058,49 +6219,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ -In file included from QFitsWidgets/QFitsWidget1D.cpp:6: -QFitsWidgets/QFitsWidget1D.h: At global scope: -QFitsWidgets/QFitsWidget1D.h:100:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] - 100 | const Fits* const getEstimateFitGX() { return &estimatefitgx;} - | ^~~~~ -QFitsWidgets/QFitsWidget1D.h:101:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] - 101 | const Fits* const getEstimateFitGY() { return &estimatefitgy;} - | ^~~~~ -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 QFitsWidgets/QFitsWidget1D.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/QFitsWidget2D.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 QFitsWidgets/QFitsWidget2D.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); } @@ -5158,887 +6276,43 @@ 403 | dpuserType evaluate() { body->evaluate(); } | ^ In file included from ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidget2D.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 QFitsWidgets/QFitsWidget2D.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 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] - 4 | "10 10 2 1", - | ^~~~~~~~~~~ -./resources/xicon_red.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c red", - | ^~~~~~~~~ -./resources/xicon_red.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -./resources/xicon_red.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | " ...... ", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | " .... ", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | ". .. .", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".. ..", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "... ...", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "... ...", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".. ..", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | ". .. .", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | " .... ", - | ^~~~~~~~~~~~ -./resources/xicon_red.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | " ...... " - | ^~~~~~~~~~~~ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'virtual void QFitsWidget1D::paintEvent(QPaintEvent*)': -QFitsWidgets/QFitsWidget1D.cpp:84:45: warning: unused parameter 'e' [-Wunused-parameter] - 84 | void QFitsWidget1D::paintEvent(QPaintEvent *e) { - | ~~~~~~~~~~~~~^ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'bool QFitsWidget1D::handleMousePressEvent(QMouseEvent*)': -QFitsWidgets/QFitsWidget1D.cpp:149:56: warning: unused parameter 'e' [-Wunused-parameter] - 149 | bool QFitsWidget1D::handleMousePressEvent(QMouseEvent *e) { - | ~~~~~~~~~~~~~^ -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from QFitsWidgets/QFitsWidget2D.cpp:14: -../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/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::plotterMouseMoveEvent(QMouseEvent*)': -QFitsWidgets/QFitsWidget1D.cpp:361:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 361 | if (ppos > 0 && ppos <= plotter->getNdata()) { - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidget1D.cpp:355:12: warning: variable 'value' set but not used [-Wunused-but-set-variable] - 355 | double value = 0.0; - | ^~~~~ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'virtual void QFitsWidget1D::enterEvent(QEvent*)': -QFitsWidgets/QFitsWidget1D.cpp:405:40: warning: unused parameter 'e' [-Wunused-parameter] - 405 | void QFitsWidget1D::enterEvent(QEvent *e) { - | ~~~~~~~~^ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::dofit()': -QFitsWidgets/QFitsWidget1D.cpp:477:10: warning: variable 'good' set but not used [-Wunused-but-set-variable] - 477 | bool good; - | ^~~~ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::subtractfit()': -QFitsWidgets/QFitsWidget1D.cpp:577:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 577 | for (i = 0; i < plotter->getNdata(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::addfit()': -QFitsWidgets/QFitsWidget1D.cpp:616:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 616 | for (i = 0; i < plotter->getNdata(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsWidget1D::copyfit()': -QFitsWidgets/QFitsWidget1D.cpp:657:17: warning: unused variable 'x' [-Wunused-variable] - 657 | int x, y; - | ^ -QFitsWidgets/QFitsWidget1D.cpp:657:20: warning: unused variable 'y' [-Wunused-variable] - 657 | int x, y; - | ^ -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); - | ^~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, - from main.cpp:4: -/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here - 106 | QT_DEPRECATED static void setColorSpec(int); - | ^~~~~~~~~~~~ -main.cpp:134:57: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] - 134 | QApplication::setColorSpec(QApplication::CustomColor); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, - from main.cpp:4: -/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here - 106 | QT_DEPRECATED static void setColorSpec(int); - | ^~~~~~~~~~~~ -QFitsWidgets/QFitsWidget1D.cpp: In constructor 'QFitsTransparentLabel::QFitsTransparentLabel(QFitsWidget1D*, QFitsView1D*)': -QFitsWidgets/QFitsWidget1D.cpp:854:42: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 854 | l1->setMinimumSize(m.width("Lorentz:"), 10); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1, - from ./QFitsMainWindow.h:4, - from QFitsWidgets/QFitsWidget1D.cpp:4: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -QFitsWidgets/QFitsWidget1D.cpp:855:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 855 | int w = m.width("-0.00000e-00"); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1, - from ./QFitsMainWindow.h:4, - from QFitsWidgets/QFitsWidget1D.cpp:4: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'virtual void QFitsTransparentLabel::leaveEvent(QEvent*)': -QFitsWidgets/QFitsWidget1D.cpp:956:48: warning: unused parameter 'e' [-Wunused-parameter] - 956 | void QFitsTransparentLabel::leaveEvent(QEvent *e) { - | ~~~~~~~~^ -QFitsWidgets/QFitsWidget1D.cpp: In member function 'void QFitsTransparentLabel::showValues()': -QFitsWidgets/QFitsWidget1D.cpp:1095:24: warning: unused variable 's' [-Wunused-variable] - 1095 | double s = (resultfity[1] - resultfity[0]) / (resultfitx[1] - resultfitx[0]); - | ^ -QFitsWidgets/QFitsWidget1D.cpp:1044:13: warning: unused variable 'i' [-Wunused-variable] - 1044 | int i, x1, x2, g, w; - | ^ -QFitsWidgets/QFitsWidget1D.cpp:1044:16: warning: unused variable 'x1' [-Wunused-variable] - 1044 | int i, x1, x2, g, w; - | ^~ -QFitsWidgets/QFitsWidget1D.cpp:1044:20: warning: unused variable 'x2' [-Wunused-variable] - 1044 | int i, x1, x2, g, w; - | ^~ -QFitsWidgets/QFitsWidget1D.cpp:1182:13: warning: unused variable 'hh' [-Wunused-variable] - 1182 | int hh = l1->height() / (nlines+3); - | ^~ -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: -../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 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); } - | ~~^~~~~~~~~~~~~ -../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 QFitsWidgets/QFitsWidgetWiregrid.cpp:7: + from QFitsViews/QFitsView1D.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 QFitsViews/QFitsView1D.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: +In file included from QFitsViews/QFitsView1D.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; } | ~~~~~^~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5/QtGui/QMouseEvent:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QMouseEvent:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QMouseEvent:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:5: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPainter:1, - from QFitsWidgets/QFitsWidgetWiregrid.cpp:2: -/usr/include/x86_64-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, - from ./QFitsMainWindow.h:20, - 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 *) { } - | ^ -../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 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); } - | ~~^~~~~~~~~~~~~ -../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(); } - | ^ -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] -In file included from ./QFitsMainWindow.h:20, - 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/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(); } - | ^~~~~ -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/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QResizeEvent:1, - from QFitsMainView.cpp:1: -/usr/include/x86_64-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 QFitsViews/QFitsView1D.cpp:12: +../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 QFitsViews/QFitsView1D.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 ./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 ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - 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; } - | ~~~~~^~~~~~~~~~~~~ -In file included from QFitsWidgets/QFitsWidgetContour.cpp:19: -./resources/action_stop.xpm: At global scope: -./resources/action_stop.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 32 1", - | ^~~~~~~~~~~~ -./resources/action_stop.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #591A1A", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #5F3F3F", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "X c #6A3838", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "o c #792727", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "O c #674242", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "+ c #7A4646", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "@ c #852F2F", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "# c #8B5C5C", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "$ c #936D6D", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "% c #D83B3B", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "& c #D45353", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "* c #D75555", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "= c #D85656", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "- c #DE5E5E", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "; c #F15F5F", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ": c #E16363", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "> c #E66A6A", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | ", c #E86F6F", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "< c #EB7474", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "1 c #ED7777", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "2 c #FD6565", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 26 | "3 c #FE6A6A", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | "4 c #FF7878", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 28 | "5 c #988C8C", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | "6 c #FC9595", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 30 | "7 c #FEA6A6", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 31 | "8 c #F6B4B4", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 32 | "9 c #FFC9C9", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | "0 c #FED8D8", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 34 | "q c #FDFDFD", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 35 | "w c gray100", - | ^~~~~~~~~~~~~ -./resources/action_stop.xpm:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 36 | "e c None", - | ^~~~~~~~~~ -./resources/action_stop.xpm:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 38 | "eeeewwwwwwweeeee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 39 | "eeew+555$$+weeee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 40 | "eew#0997666@weee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 41 | "ew#011<<,,>4@wee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 42 | "wO011<<,,>>:4 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 43 | "wO8<>>%w4::-3 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:46:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 46 | "wO8>:%w4w---3 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 47 | "wO8::w4--w--3 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 48 | "wO6*******=&3 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 49 | "ew.1*&&&&&&3owee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:50:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | "eew.<2;;;;2owwee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:51:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 51 | "eeewX@ooo@ wweee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:52:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 52 | "eeeewwwwwwweeeee", - | ^~~~~~~~~~~~~~~~~~ -./resources/action_stop.xpm:53:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 53 | "eeeeeeeeeeeeeeee" - | ^~~~~~~~~~~~~~~~~~ -In file included from QFitsWidgets/QFitsWidgetContour.cpp:20: -./resources/icon_accept.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 32 1", - | ^~~~~~~~~~~~ -./resources/icon_accept.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #36591A", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #4C603C", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "X c #4B702E", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "o c #526742", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "O c #5D7A46", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "+ c #52822C", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "@ c #69B83E", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "# c #718B5C", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "$ c #7E936D", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "% c #71BF44", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "& c #76C347", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "* c #7ED547", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "= c #80CB4F", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "- c #83CD53", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "; c #80D948", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ": c #8BD258", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "> c #8BCE60", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | ", c #91D069", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "< c #89E44C", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "1 c #8CE550", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "2 c #93E657", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 26 | "3 c #A4DA77", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | "4 c #A8E577", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 28 | "5 c #91988C", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | "6 c #B3DD96", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 30 | "7 c #C2E6A9", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 31 | "8 c #CDE6B9", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 32 | "9 c #D4EDC5", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | "0 c #ECF7E5", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 34 | "q c #F9FCF7", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 35 | "w c gray100", - | ^~~~~~~~~~~~~ -./resources/icon_accept.xpm:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 36 | "e c None", - | ^~~~~~~~~~ -./resources/icon_accept.xpm:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 38 | "eeeewwwwwwweeeee", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 39 | "eeewO555$$Oweeee", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 40 | "eew#8874444+weee", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 41 | "ew#8::::--=2+wee", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 42 | "wo8:---==,8>2 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 43 | "wo6:--==,0w,2Xwe", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:44:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 44 | "wo6---=>0w9-1Xwe", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:45:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 45 | "wo6>90,9w6%&1 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:46:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 46 | "wo6,7q0w6%%&1 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 47 | "wo6&&,06%%%%< we", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 48 | "wo3@&&%%%%@@1 we", - | ^~~~~~~~~~~~~~~~~~ -./resources/icon_accept.xpm:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 49 | "ew.:%@@@@@@levels->text().split(",", QString::SkipEmptyParts); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmessagebox.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMessageBox:1, - from QFitsWidgets/QFitsWidgetContour.cpp:1: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:609:17: note: declared here - 609 | QStringList split(const QString &sep, SplitBehavior behavior, - | ^~~~~ -QFitsWidgets/QFitsWidgetContour.cpp:99:41: warning: unused parameter 'e' [-Wunused-parameter] - 99 | void dpContour::paintEvent(QPaintEvent *e) { - | ~~~~~~~~~~~~~^ -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) { - | ~~~~~~~~^ -QFitsWidgets/QFitsWidgetContour.cpp: In member function 'virtual void dpContour::leaveEvent(QEvent*)': -QFitsWidgets/QFitsWidgetContour.cpp:304:37: warning: unused parameter 'e' [-Wunused-parameter] - 304 | void dpContour::leaveEvent (QEvent *e) { - | ~~~~~~~~^ -QFitsWidgets/QFitsWidgetContour.cpp: In member function 'virtual void QFitsWidgetContour::resizeEvent(QResizeEvent*)': -QFitsWidgets/QFitsWidgetContour.cpp:387:52: warning: unused parameter 'e' [-Wunused-parameter] - 387 | void QFitsWidgetContour::resizeEvent(QResizeEvent *e) { - | ~~~~~~~~~~~~~~^ -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); - | ~~~~~~^~~~~~~~~~ -QFitsWidgets/QFitsWidgetContour.cpp: In member function 'void QFitsWidgetContour::setScaling(int)': -QFitsWidgets/QFitsWidgetContour.cpp:438:41: warning: unused parameter 'scaling' [-Wunused-parameter] - 438 | void QFitsWidgetContour::setScaling(int scaling) { - | ~~~~^~~~~~~ -QFitsWidgets/QFitsWidgetContour.cpp: In function 'QPainterPath dpCN01(Fits&, int, int, int, int, int, int, double, int, int, int)': -QFitsWidgets/QFitsWidgetContour.cpp:631:34: warning: unused parameter 'MX' [-Wunused-parameter] - 631 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) { - | ~~~~^~ -QFitsWidgets/QFitsWidgetContour.cpp:631:42: warning: unused parameter 'MY' [-Wunused-parameter] - 631 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) { - | ~~~~^~ -QFitsWidgets/QFitsWidgetContour.cpp: In function 'void dpPGCNSC(Fits&, int, int, int, int, int, int, double, QPainter&)': -QFitsWidgets/QFitsWidgetContour.cpp:762:24: warning: unused variable 'P' [-Wunused-variable] - 762 | double Z1, Z2, Z3, P, P1, P2; - | ^ -QFitsWidgets/QFitsWidgetContour.cpp:762:27: warning: unused variable 'P1' [-Wunused-variable] - 762 | double Z1, Z2, Z3, P, P1, P2; - | ^~ -QFitsWidgets/QFitsWidgetContour.cpp:762:31: warning: unused variable 'P2' [-Wunused-variable] - 762 | double Z1, Z2, Z3, P, P1, P2; - | ^~ -QFitsWidgets/QFitsWidgetContour.cpp: In function 'void dpPGCONX(Fits*, Fits&, QPainter&)': -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; - | ^~ -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; } - | ~~~~~^~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsMarkers.o QFitsMarkers.cpp -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ./QFitsCubeSpectrum.h:12, - from QFitsWidgets/QFitsWidgetTable.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 *) { } - | ^ -../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 ./QFitsCubeSpectrum.h:12, - from QFitsWidgets/QFitsWidgetTable.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); } - | ~~^~~~~~~~~~~~~ -../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(); } - | ^ 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) && @@ -6065,17 +6339,6 @@ /usr/include/x86_64-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 ./QFitsCubeSpectrum.h:12, - from QFitsWidgets/QFitsWidgetTable.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 ./QFitsCubeSpectrum.h:12, - from QFitsWidgets/QFitsWidgetTable.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(); } - | ^~~~~ 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); | ^ @@ -6110,136 +6373,6 @@ QFitsBuffers/QFitsSingleBuffer.cpp:1834:41: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1834 | sprintf(manualSpectrum->crtype, ""); | ^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, - from ./QFitsMainWindow.h:20, - from QFitsViews/QFitsView1D.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 *) { } - | ^ -../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 QFitsViews/QFitsView1D.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); } - | ~~^~~~~~~~~~~~~ -../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 QFitsViews/QFitsView1D.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 QFitsViews/QFitsView1D.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 ./QFitsMainWindow.h:20, - from QFitsWidgets/QFitsWidgetContour.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 QFitsViews/QFitsView1D.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; } - | ~~~~~^~~~~~~~~~~~~ -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 QFitsViews/QFitsView1D.cpp:12: -../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 QFitsViews/QFitsView1D.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 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 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] @@ -6254,269 +6387,22 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWedge.o QFitsWedge.cpp -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; - | ^~ -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);; - | ^ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ./QFitsMainWindow.h:20, - from QFitsViews/QFitsView2D.cpp:14: -../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 QFitsViews/QFitsView2D.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(); } - | ^ +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; } | ~~~~~^~~~~~~~~~~~~ -In file included from ./QFitsMainWindow.h:20, - from QFitsViews/QFitsView2D.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 ./QFitsMainWindow.h:20, - from QFitsViews/QFitsView2D.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 ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWedge.o QFitsWedge.cpp +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()) { + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o lut.o lut.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsCubeSpectrum.o QFitsCubeSpectrum.cpp -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; - | ^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o RGBDialog.o RGBDialog.cpp -In file included from ./QFitsMainWindow.h:20, - 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; - | ^~ -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 ./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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsHeaderView.o QFitsHeaderView.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -6533,6 +6419,14 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::columnCount(const QModelIndex&) const': +QFitsWidgets/QFitsWidgetTable.cpp:664:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 664 | for (int i = 0; i < modelDpuserType->dparrvalue->size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::rowCount(const QModelIndex&) const': +QFitsWidgets/QFitsWidgetTable.cpp:687:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 687 | for (int i = 0; i < modelDpuserType->dparrvalue->size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -6560,6 +6454,20 @@ ../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); } | ~~^~~~~~~~~~~~~ +QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual bool QFitsTableModelMulti::setData(const QModelIndex&, const QVariant&, int)': +QFitsWidgets/QFitsWidgetTable.cpp:741:55: warning: unused parameter 'index' [-Wunused-parameter] + 741 | bool QFitsTableModelMulti::setData(const QModelIndex &index, const QVariant &value, int role) { + | ~~~~~~~~~~~~~~~~~~~^~~~~ +QFitsWidgets/QFitsWidgetTable.cpp:741:78: warning: unused parameter 'value' [-Wunused-parameter] + 741 | bool QFitsTableModelMulti::setData(const QModelIndex &index, const QVariant &value, int role) { + | ~~~~~~~~~~~~~~~~^~~~~ +QFitsWidgets/QFitsWidgetTable.cpp:741:89: warning: unused parameter 'role' [-Wunused-parameter] + 741 | bool QFitsTableModelMulti::setData(const QModelIndex &index, const QVariant &value, int role) { + | ~~~~^~~~ +QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::translateColumnNumber(int*) const': +QFitsWidgets/QFitsWidgetTable.cpp:749:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 749 | for (i = 0; i < modelDpuserType->dparrvalue->size(); 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); } @@ -6609,42 +6517,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(); } | ^~~~~ -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()) { - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::columnCount(const QModelIndex&) const': -QFitsWidgets/QFitsWidgetTable.cpp:664:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 664 | for (int i = 0; i < modelDpuserType->dparrvalue->size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::rowCount(const QModelIndex&) const': -QFitsWidgets/QFitsWidgetTable.cpp:687:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 687 | for (int i = 0; i < modelDpuserType->dparrvalue->size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual bool QFitsTableModelMulti::setData(const QModelIndex&, const QVariant&, int)': -QFitsWidgets/QFitsWidgetTable.cpp:741:55: warning: unused parameter 'index' [-Wunused-parameter] - 741 | bool QFitsTableModelMulti::setData(const QModelIndex &index, const QVariant &value, int role) { - | ~~~~~~~~~~~~~~~~~~~^~~~~ -QFitsWidgets/QFitsWidgetTable.cpp:741:78: warning: unused parameter 'value' [-Wunused-parameter] - 741 | bool QFitsTableModelMulti::setData(const QModelIndex &index, const QVariant &value, int role) { - | ~~~~~~~~~~~~~~~~^~~~~ -QFitsWidgets/QFitsWidgetTable.cpp:741:89: warning: unused parameter 'role' [-Wunused-parameter] - 741 | bool QFitsTableModelMulti::setData(const QModelIndex &index, const QVariant &value, int role) { - | ~~~~^~~~ -QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual int QFitsTableModelMulti::translateColumnNumber(int*) const': -QFitsWidgets/QFitsWidgetTable.cpp:749:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 749 | for (i = 0; i < modelDpuserType->dparrvalue->size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QFitsWidgets/QFitsWidgetTable.cpp: In member function 'virtual void QFitsTableView::enterEvent(QEvent*)': QFitsWidgets/QFitsWidgetTable.cpp:1062:41: warning: unused parameter 'e' [-Wunused-parameter] 1062 | void QFitsTableView::enterEvent(QEvent *e) { | ~~~~~~~~^ -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)': -../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter 'allSB' [-Wunused-parameter] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ QFitsWidgets/QFitsWidgetTable.cpp: In member function 'void QFitsTableView::unsetSpectrum(const QItemSelection&, const QItemSelection&)': QFitsWidgets/QFitsWidgetTable.cpp:1316:58: warning: unused parameter 's' [-Wunused-parameter] 1316 | void QFitsTableView::unsetSpectrum(const QItemSelection &s, const QItemSelection &e) { @@ -6652,7 +6528,38 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsToolBar.o QFitsToolBar.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; + | ~~~~~~~~^~~~~~~ +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; + | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsCubeSpectrum.o QFitsCubeSpectrum.cpp +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)': +../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/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 QFitsTools.cpp:14: resources/xicon.xpm: At global scope: resources/xicon.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -6858,119 +6765,13 @@ 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 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; } - | ~~~~~^~~~~~~~~~~~~ -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; - | ~~~~~~~~^~~~~~~ -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) { - | ~~~~~~~~~~~~~~^ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o RGBDialog.o RGBDialog.cpp +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; + | ^~ 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)) { @@ -7046,25 +6847,133 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dialogs.o dialogs.cpp -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; - | ^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o events.o events.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 | } - | ^ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o imred.o imred.cpp -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; - | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsHeaderView.o QFitsHeaderView.cpp 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] @@ -7236,6 +7145,10 @@ ./resources/cursor_select.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | "&&ooo oooooo&&&&&&&&&&ooooo ooo&", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 | } + | ^ ./resources/cursor_select.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | "&& &&&&&&&&&& &", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7284,6 +7197,12 @@ ./resources/cursor_select.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | "&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~ 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++) { @@ -7336,7 +7255,6 @@ QFitsViews/QFitsView2D.cpp:739:43: warning: unused parameter 'p' [-Wunused-parameter] 739 | void QFitsView2D::paintEvent(QPaintEvent *p) { | ~~~~~~~~~~~~~^ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsViewingTools.o QFitsViewingTools.cpp QFitsViews/QFitsView2D.cpp: In member function 'virtual void QFitsView2D::enterEvent(QEvent*)': QFitsViews/QFitsView2D.cpp:1345:38: warning: unused parameter 'e' [-Wunused-parameter] 1345 | void QFitsView2D::enterEvent(QEvent *e) { @@ -7393,17 +7311,26 @@ /usr/include/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsToolBar.o QFitsToolBar.cpp +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; + | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dialogs.o dialogs.cpp 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o events.o events.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from QFitsCubeSpectrum.h:12, - from QFitsCubeSpectrum.cpp:10: + 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 *) { } @@ -7415,12 +7342,11 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, - from QFitsCubeSpectrum.h:12, - from QFitsCubeSpectrum.cpp:10: + 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); } @@ -7439,22 +7365,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 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 *) { } - | ^ -../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); } @@ -7497,11 +7407,61 @@ ../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) { + | ~~~~~~~~~~~~~~^ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o imred.o 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsViewingTools.o QFitsViewingTools.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, - from RGBDialog.h:12, - from RGBDialog.cpp:17: + from QFitsCubeSpectrum.h:12, + from QFitsCubeSpectrum.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 ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsCubeSpectrum.h:12, + from QFitsCubeSpectrum.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); } @@ -7573,25 +7533,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 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 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(); } - | ^~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qt_mainwindow.o qt_mainwindow.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qt_mdichild.o qt_mdichild.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o highlighter.o highlighter.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 QFitsToolBar.cpp:16: + 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 *) { } @@ -7606,8 +7555,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 QFitsToolBar.cpp:16: + 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); } @@ -7668,22 +7617,23 @@ ../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 QFitsToolBar.cpp:16: +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 QFitsToolBar.cpp:16: +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(); } | ^~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsPreferences.o QFitsPreferences.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 QFitsToolBar.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 *) { } @@ -7695,17 +7645,11 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ -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, from QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: + from QFitsToolBar.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); } @@ -7767,25 +7711,16 @@ 403 | dpuserType evaluate() { body->evaluate(); } | ^ In file included from QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: + from QFitsToolBar.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 QFitsMainWindow.h:20, - from QFitsHeaderView.cpp:5: + from QFitsToolBar.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(); } | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsPreferences.o QFitsPreferences.cpp -In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, - from ../QFitsView/QFitsWidgets/QFitsWidgetContour.h:11, - from QFitsHeaderView.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; } - | ~~~~~^~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixboard.o extra/tetrixboard.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -7804,6 +7739,22 @@ 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: +../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 events.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] @@ -7865,6 +7816,37 @@ ../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/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + 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); } + | ~~^~~~~~~~~~~~~ +../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); } + | ~~^~~~~~~~~~~~~ In file included from events.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] @@ -7874,7 +7856,58 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixpiece.o extra/tetrixpiece.cpp +../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 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 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(); } + | ^~~~~ +In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, + from ../QFitsView/QFitsWidgets/QFitsWidgetContour.h:11, + from QFitsHeaderView.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, @@ -7973,6 +8006,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixboard.o extra/tetrixboard.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -8151,70 +8185,6 @@ qtdpuser.cpp:536:24: warning: unused variable 'y' [-Wunused-variable] 536 | int x, y; | ^ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixwindow.o extra/tetrixwindow.cpp -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] - 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } - | ~~~~~^~~~~~~~~~~~~ -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; } - | ~~~~~^~~~~~~~~~~~~ -In file included from QFitsCubeSpectrum.cpp:15: -../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; } - | ~~~~~^~~~~~~ -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) { - | ~~~~~~~~~~~~~^ -In file included from QFitsCubeSpectrum.cpp:21: -resources/xicon.xpm: At global scope: -resources/xicon.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "10 10 2 1", - | ^~~~~~~~~~~ -resources/xicon.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c black", - | ^~~~~~~~~~~ -resources/xicon.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/xicon.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | " ...... ", - | ^~~~~~~~~~~~ -resources/xicon.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | " .... ", - | ^~~~~~~~~~~~ -resources/xicon.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | ". .. .", - | ^~~~~~~~~~~~ -resources/xicon.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".. ..", - | ^~~~~~~~~~~~ -resources/xicon.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "... ...", - | ^~~~~~~~~~~~ -resources/xicon.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "... ...", - | ^~~~~~~~~~~~ -resources/xicon.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".. ..", - | ^~~~~~~~~~~~ -resources/xicon.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | ". .. .", - | ^~~~~~~~~~~~ -resources/xicon.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | " .... ", - | ^~~~~~~~~~~~ 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] @@ -8238,9 +8208,6 @@ resources/xicon.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 11 | ".. ..", | ^~~~~~~~~~~~ -resources/xicon.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | " ...... " - | ^~~~~~~~~~~~ resources/xicon.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 12 | "... ...", | ^~~~~~~~~~~~ @@ -8338,10 +8305,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -QFitsCubeSpectrum.cpp: In member function 'virtual void QFitsCubeSpectrum::enterEvent(QEvent*)': -QFitsCubeSpectrum.cpp:241:44: warning: unused parameter 'e' [-Wunused-parameter] - 241 | void QFitsCubeSpectrum::enterEvent(QEvent *e) { - | ~~~~~~~~^ QFitsViewingTools.cpp:241:37: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 241 | while (f.width(info + tmpstr) < extrainfo->width()) tmpstr.prepend(" "); | ^ @@ -8398,10 +8361,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -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); - | ^ QFitsViewingTools.cpp:619:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 619 | int w = metrics.width("E"), | ^ @@ -8412,12 +8371,62 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, - from RGBDialog.h:6, - from RGBDialog.cpp:17: -/usr/include/x86_64-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] + 87 | virtual void setCubeMode(dpCubeMode m, bool allSB = false) { cubeMode = m; } + | ~~~~~^~~~~~~~~~~~~ +In file included from QFitsCubeSpectrum.cpp:15: +../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 QFitsCubeSpectrum.cpp:21: +resources/xicon.xpm: At global scope: +resources/xicon.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "10 10 2 1", + | ^~~~~~~~~~~ +resources/xicon.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c black", + | ^~~~~~~~~~~ +resources/xicon.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ +resources/xicon.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | " ...... ", + | ^~~~~~~~~~~~ +resources/xicon.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | " .... ", + | ^~~~~~~~~~~~ +resources/xicon.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | ". .. .", + | ^~~~~~~~~~~~ +resources/xicon.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".. ..", + | ^~~~~~~~~~~~ +resources/xicon.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "... ...", + | ^~~~~~~~~~~~ +resources/xicon.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "... ...", + | ^~~~~~~~~~~~ +resources/xicon.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".. ..", + | ^~~~~~~~~~~~ +resources/xicon.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | ". .. .", + | ^~~~~~~~~~~~ +resources/xicon.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | " .... ", + | ^~~~~~~~~~~~ +resources/xicon.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | " ...... " + | ^~~~~~~~~~~~ +QFitsCubeSpectrum.cpp: In member function 'virtual void QFitsCubeSpectrum::enterEvent(QEvent*)': +QFitsCubeSpectrum.cpp:241:44: warning: unused parameter 'e' [-Wunused-parameter] + 241 | void QFitsCubeSpectrum::enterEvent(QEvent *e) { + | ~~~~~~~~^ QFitsCubeSpectrum.cpp: In constructor 'QFitsSpectrumRangeControl::QFitsSpectrumRangeControl(QWidget*)': QFitsCubeSpectrum.cpp:751:28: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+100' to '2147483647' [-Woverflow] 751 | channelMin->setMaximum(1e100); @@ -8473,22 +8482,48 @@ qtdpuser.cpp:382:20: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 382 | freopen(redirector.fileName().toStdString().c_str(), "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixpiece.o extra/tetrixpiece.cpp QFitsPreferences.cpp: In member function 'void QFitsPrefDialog::updateFontSample(int)': 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tetrixwindow.o extra/tetrixwindow.cpp +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/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, + from RGBDialog.h:6, + from RGBDialog.cpp:17: +/usr/include/x86_64-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 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; } | ~~~~~^~~~~~~~~~~~~ -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; - | ^~ 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] @@ -9012,6 +9047,10 @@ resources/zoomin.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | "......xx.....x..", | ^~~~~~~~~~~~~~~~~~ +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 == '\'') + | ^~ resources/zoomin.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | ".....xx.xxxxx...", | ^~~~~~~~~~~~~~~~~~ @@ -9579,6 +9618,35 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qcustomplot.o QCustomPlot/qcustomplot.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; + | ^~ +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 == '\'') + | ^~ +QFitsHeaderView.cpp: In member function 'virtual void QFitsHeaderContent::mouseDoubleClickEvent(QMouseEvent*)': +QFitsHeaderView.cpp:65:36: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 65 | int fw = f.width(FITS_EMPTY); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qscrollbar.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QScrollBar:1, + from QFitsHeaderView.cpp:2: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -9596,6 +9664,34 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +QFitsHeaderView.cpp:65:13: warning: unused variable 'fw' [-Wunused-variable] + 65 | int fw = f.width(FITS_EMPTY); + | ^~ +QFitsHeaderView.cpp:98:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 98 | int fw = f.width(key + "="); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qscrollbar.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QScrollBar:1, + from QFitsHeaderView.cpp:2: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +QFitsHeaderView.cpp: In member function 'void QFitsHeaderContent::addKey()': +QFitsHeaderView.cpp:119:9: warning: unused variable 'index' [-Wunused-variable] + 119 | int index = newKeyValue->text().indexOf('='); + | ^~~~~ +QFitsHeaderView.cpp: In constructor 'QFitsHeaderView::QFitsHeaderView(QWidget*)': +QFitsHeaderView.cpp:156:30: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 156 | int pwidth = f.width("MM"); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qscrollbar.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QScrollBar:1, + from QFitsHeaderView.cpp:2: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -9638,13 +9734,6 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -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) { - | ^~ ../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; @@ -9665,10 +9754,18 @@ ../dpuser/dpuserAST.h:376:2: warning: when initialized here [-Wreorder] 376 | forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { } | ^~~~~~~~~~~ +QFitsHeaderView.cpp: In member function 'virtual void QFitsHeaderView::changeKey(QString, QString)': +QFitsHeaderView.cpp:294:12: warning: variable 'dvalue' set but not used [-Wunused-but-set-variable] + 294 | double dvalue; + | ^~~~~~ ../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(); } | ^ +QFitsHeaderView.cpp: In member function 'virtual void QFitsHeaderViewExt::reject()': +QFitsHeaderView.cpp:328:13: warning: unused variable 'p' [-Wunused-variable] + 328 | int p = fpos; + | ^ In file included from RGBDialog.h:12, from dialogs.h:39, from dialogs.cpp:25: @@ -9725,6 +9822,22 @@ ../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 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", + | ^~~~~~~~~~~ +resources/filenew.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #ffff00", + | ^~~~~~~~~~~~~ +resources/filenew.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #000000", + | ^~~~~~~~~~~~~ +resources/filenew.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c #ffffff", + | ^~~~~~~~~~~~~ +resources/filenew.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "@ c #aca899", + | ^~~~~~~~~~~~~ In file included from dialogs.cpp:42: resources/splash_about.xpm: At global scope: resources/splash_about.xpm:3:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -9772,6 +9885,66 @@ resources/splash_about.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | ", c #22160A", | ^~~~~~~~~~~~~~ +resources/filenew.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "# c None", + | ^~~~~~~~~~ +resources/filenew.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "# ##@ ##@...##########", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "#@ #@+#@ ++..#########", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "##@ @ @ +++.+.########", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "## @ +@@@@+.++.#######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "#@@@+ ++++.....######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "###+@++@..+++++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "#@##@ +++++++++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "####@+.......++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "####.++++++++++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "####.+.......++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "####.++++++++++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "####.+.......++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "####.++++++++++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 26 | "####.++++++++++.######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | "####............######", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 28 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 18 | "' c #1F1407", | ^~~~~~~~~~~~~~ @@ -9823,6 +9996,58 @@ resources/splash_about.xpm:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | "2 c #3B2611", | ^~~~~~~~~~~~~~ +resources/filenew.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 30 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/filenew.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 31 | "######################", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from qt_mainwindow.cpp:32: +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/splash_about.xpm:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | "3 c #3C250C", | ^~~~~~~~~~~~~~ @@ -9859,39 +10084,82 @@ resources/splash_about.xpm:46:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | "d c #4F2F0F", | ^~~~~~~~~~~~~~ +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/splash_about.xpm:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | "e c #523312", | ^~~~~~~~~~~~~~ +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/splash_about.xpm:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | "f c #4C3013", | ^~~~~~~~~~~~~~ +resources/fileopen.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | " @ +++++++++ ###", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | "g c #492D10", | ^~~~~~~~~~~~~~ +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/splash_about.xpm:50:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | "h c #41280E", | ^~~~~~~~~~~~~~ +resources/fileopen.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "################" + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:51:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "i c #362109", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:52:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "j c #321C05", | ^~~~~~~~~~~~~~ +In file included from qt_mainwindow.cpp:33: +resources/filesave.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 3 1", + | ^~~~~~~~~~~ resources/splash_about.xpm:53:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | "k c #2C1905", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | "l c #291805", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #808000", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:55:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "m c #271606", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c none", + | ^~~~~~~~~~ resources/splash_about.xpm:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | "n c #25190D", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | "o c #291E10", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "+ +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:58:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | "p c #2D2115", | ^~~~~~~~~~~~~~ @@ -9901,6 +10169,9 @@ resources/splash_about.xpm:60:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | "r c #2D1E0C", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "+ . ++++++++ + +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:61:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | "s c #341E09", | ^~~~~~~~~~~~~~ @@ -9910,39 +10181,75 @@ resources/splash_about.xpm:63:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | "u c #483118", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "+ . ++++++++ +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "v c #4B331A", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:65:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | "w c #44301D", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:66:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | "x c #3C2914", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:67:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "y c #392511", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "+ . ++++++++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | "z c #21160D", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "+ .. .. +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:69:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | "A c #1E130A", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "+ ............ +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | "B c #1D1306", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "+ .. . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:71:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | "C c #1D1005", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "+ .. ++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | "D c #201305", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "+ .. ++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | "E c #1B1106", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "+ .. ++ . +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:74:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | "F c #160E06", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "++ +", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:75:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | "G c #1D1105", | ^~~~~~~~~~~~~~ @@ -9955,6 +10262,9 @@ resources/splash_about.xpm:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | "J c #221507", | ^~~~~~~~~~~~~~ +resources/filesave.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "++++++++++++++++" + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:79:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | "K c #251606", | ^~~~~~~~~~~~~~ @@ -9967,42 +10277,82 @@ resources/splash_about.xpm:82:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | "N c #231405", | ^~~~~~~~~~~~~~ +In file included from qt_mainwindow.cpp:35: +resources/editredo.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 2 1", + | ^~~~~~~~~~~ resources/splash_about.xpm:83:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | "O c #241708", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c black", + | ^~~~~~~~~~~ resources/splash_about.xpm:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | "P c #251709", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c None", + | ^~~~~~~~~~ resources/splash_about.xpm:85:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | "Q c #261A0D", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "................", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:86:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | "R c #201508", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "................", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:87:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | "S c #291A0A", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "..... ......", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:88:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | "T c #291806", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | ".... ..... .....", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | "U c #2C1B09", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "... ....... .. .", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | "V c #2E1C0A", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | ".. ......... .", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | "W c #341F09", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | ".. ......... .", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:92:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | "X c #3A230B", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | ".. ........ .", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:93:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | "Y c #3D260D", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "... ............", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:94:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | "Z c #4D3114", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | ".... ...........", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:95:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | "` c #55391C", | ^~~~~~~~~~~~~~ @@ -10018,39 +10368,73 @@ resources/splash_about.xpm:99:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | "@. c #3D2A15", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "..... ..........", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:100:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | "#. c #35220D", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "................", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:101:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | "$. c #311F0D", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:102:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | "%. c #311E0A", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | ". . . . .", + | ^~~~~~~~~~~~~~~~~~ +resources/editredo.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "................", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:103:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | "&. c #32200E", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "................", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | "*. c #36210A", | ^~~~~~~~~~~~~~ +resources/editredo.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "................" + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:105:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | "=. c #3A240E", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | "-. c #3E2812", | ^~~~~~~~~~~~~~ +In file included from qt_mainwindow.cpp:36: +resources/editcopy.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "16 16 4 1", + | ^~~~~~~~~~~ resources/splash_about.xpm:107:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | ";. c #42290E", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:108:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | ">. c #3B2207", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #000080", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:109:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | ",. c #392209", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c #ffffff", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:110:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | "'. c #3E250A", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "@ c none", + | ^~~~~~~~~~ resources/splash_about.xpm:111:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | "). c #412609", | ^~~~~~~~~~~~~~ @@ -10075,48 +10459,90 @@ resources/splash_about.xpm:118:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | "(. c #5A3611", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "@@@@@@@@@@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:119:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | "_. c #5B3C1B", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "@ @@@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:120:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | ":. c #452A0D", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "@ ++++ @@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:121:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | "<. c #331D06", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "@ ++++ + @@@@@@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:122:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | "[. c #2D1A06", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "@ + + ......@@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:123:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | "}. c #2A1C0E", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "@ +++++.++++..@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:124:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | "|. c #2D2215", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "@ + .++++.+.@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:125:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | "1. c #35291C", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:126:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | "2. c #3A2E22", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "@ +++++.+ +....", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:127:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | "3. c #3D3124", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "@ + .+++++++.", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:128:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | "4. c #2A1E11", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "@ +++++.+ +.", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:129:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | "5. c #2D1E0D", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "@ .+++++++.", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:130:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | "6. c #3B2712", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "@@@@@@@.+ +.", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:131:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | "7. c #3A2611", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "@@@@@@@.+++++++.", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | "8. c #1E140A", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "@@@@@@@.........", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:133:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | "9. c #1E1307", | ^~~~~~~~~~~~~~ @@ -10126,9 +10552,15 @@ resources/splash_about.xpm:135:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | "a. c #2B1F12", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "@@@@@@@@@@@@@@@@", + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:136:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | "b. c #120C06", | ^~~~~~~~~~~~~~ +resources/editcopy.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "@@@@@@@@@@@@@@@@" + | ^~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | "c. c #140C03", | ^~~~~~~~~~~~~~ @@ -10138,42 +10570,82 @@ resources/splash_about.xpm:139:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | "e. c #4F300F", | ^~~~~~~~~~~~~~ +In file included from qt_mainwindow.cpp:37: +resources/editcut.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "22 22 3 1", + | ^~~~~~~~~~~ resources/splash_about.xpm:140:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | "f. c #533413", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:141:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | "g. c #523719", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #000080", + | ^~~~~~~~~~~~~ +resources/editcut.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c None", + | ^~~~~~~~~~ resources/splash_about.xpm:142:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | "h. c #493219", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:143:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | "i. c #46290A", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:144:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | "j. c #674726", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:145:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | "k. c #381F06", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:146:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | "l. c #32261A", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "++++++++ +++ +++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | "m. c #463D34", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "++++++++ +++ +++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:148:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | "n. c #4B4238", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "++++++++ +++ +++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:149:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | "o. c #2E2012", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | "p. c #1D1309", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "++++++++ + +++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:151:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | "q. c #110B05", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "+++++++++ + ++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | "r. c #2B1C0B", | ^~~~~~~~~~~~~~ @@ -10195,27 +10667,66 @@ resources/splash_about.xpm:158:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | "x. c #4A2E11", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "+++++++++ ++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:159:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | "y. c #3C332B", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "++++++++++ +++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editcut.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "+++++++++. .++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editcut.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "+++++++++.+...++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editcut.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "+++++++...+.++.+++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editcut.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "++++++.++.+.++.+++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:160:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | "z. c #665747", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "++++++.++.+.++.+++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:161:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | "A. c #564D44", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "++++++.++.++..++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editcut.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "+++++++..+++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:162:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | "B. c #463728", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 26 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:163:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | "C. c #322211", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:164:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | "D. c #22180E", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 28 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:165:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | "E. c #261C12", | ^~~~~~~~~~~~~~ +resources/editcut.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | "++++++++++++++++++++++", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:166:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | "F. c #5B350C", | ^~~~~~~~~~~~~~ @@ -10246,36 +10757,82 @@ resources/splash_about.xpm:175:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | "O. c #342515", | ^~~~~~~~~~~~~~ +In file included from qt_mainwindow.cpp:38: +resources/editpaste.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 4 | "22 22 7 1", + | ^~~~~~~~~~~ resources/splash_about.xpm:176:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | "P. c #3B2C1B", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:177:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 177 | "Q. c #0E0905", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 5 | " c #000000", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:178:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | "R. c #744D23", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 6 | ". c #ffff00", + | ^~~~~~~~~~~~~ +resources/editpaste.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 7 | "+ c #808000", + | ^~~~~~~~~~~~~ +resources/editpaste.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 8 | "@ c #000080", + | ^~~~~~~~~~~~~ +resources/editpaste.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 9 | "# c #ffffff", + | ^~~~~~~~~~~~~ +resources/editpaste.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 10 | "$ c #aca899", + | ^~~~~~~~~~~~~ resources/splash_about.xpm:179:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | "S. c #6B441B", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 11 | "% c None", + | ^~~~~~~~~~ +resources/editpaste.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 12 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 180 | "T. c #664119", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 13 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:181:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 181 | "U. c #110B04", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 14 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:182:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | "V. c #0C0804", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 15 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:183:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | "W. c #673E14", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 16 | "%%%%%%%% %%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:184:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 184 | "X. c #564737", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | "%%%% .. %%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:185:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | "Y. c #0D0804", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 18 | "%%% $+$ . . +$+ %%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:186:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | "Z. c #0A0705", | ^~~~~~~~~~~~~~ @@ -10303,39 +10860,85 @@ resources/splash_about.xpm:194:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 194 | "%+ c #19130D", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 19 | "%%% +$ %%%%%% +$ %%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:195:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 195 | "&+ c #594229", | ^~~~~~~~~~~~~~ resources/splash_about.xpm:196:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 196 | "*+ c #2C231B", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 20 | "%%% $+ $+ %%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:197:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 197 | "=+ c #6B5D4E", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 21 | "%%% +$+$+$+$+$+$ %%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editpaste.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 22 | "%%% $+$+$@@@@@@@ %%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editpaste.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 23 | "%%% +$+$+@#####@@%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editpaste.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | "%%% $+$+$@#####@#@%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +resources/editpaste.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 25 | "%%% +$+$+@#@@@#@@@%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:198:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | "-+ c #342B23", | ^~~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QPgplot.o QPgplot.cpp +resources/editpaste.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 26 | "%%% $+$+$@#######@%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:199:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 199 | ";+ c #1A140E", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | "%%% +$+$+@#@@@@@#@%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:200:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 200 | ">+ c #1E150D", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 28 | "%%%% @#######@%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:201:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 201 | ",+ c #362412", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | "%%%%%%%%%@@@@@@@@@%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:202:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 202 | "'+ c #78736F", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 30 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 203 | ")+ c #887765", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 31 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:204:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | "!+ c #1B1612", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 32 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:205:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 205 | "~+ c #241C14", | ^~~~~~~~~~~~~~ +resources/editpaste.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | "%%%%%%%%%%%%%%%%%%%%%%", + | ^~~~~~~~~~~~~~~~~~~~~~~~ resources/splash_about.xpm:206:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 206 | "{+ c #1D1914", | ^~~~~~~~~~~~~~ @@ -11258,27 +11861,10 @@ 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(); | ~~^~~~~~~~~~~~~~ -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 == '\'') - | ^~ -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; - | ^~ 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++) { | ~~^~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qcustomplot.o QCustomPlot/qcustomplot.cpp -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; - | ^~ 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) { @@ -11287,65 +11873,17 @@ dialogs.cpp:1456:41: warning: unused parameter 'bla' [-Wunused-parameter] 1456 | void dpImportDialog::updatePreview3(int bla) { | ~~~~^~~ -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)); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, - from extra/tetrixpiece.cpp:44: -/usr/include/x86_64-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(); - | ^~~~~ -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) { } - | ~~~~~~~~~~~~^~~~~~ 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) { | ~~~~~~~^ -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); } - | ~~^~~~~~~~~~~~~ dialogs.cpp: In member function 'void dpMpfitDialog::fittextChanged()': dialogs.cpp:2171:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2171 | for (int i = 0; i < funct.size(); i++) if (!isspace(funct[i])) function.push_back(funct[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; - | ^~~~ dialogs.cpp:2176:9: warning: deleting object of abstract class type 'mpfitASTNode' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2176 | delete oldAST; | ^~~~~~~~~~~~~ -../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] - 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } - | ^~~~~~~~~~~~~ dialogs.cpp: In member function 'void dpMpfitDialog::evaluateFitFunction(Fits*)': dialogs.cpp:2229:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2229 | for (int i = 0; i < variableList.size(); i++) { @@ -11353,31 +11891,13 @@ dialogs.cpp:2232:88: warning: array subscript has type 'char' [-Wchar-subscripts] 2232 | mpfit_quick_vars[mpfitParameters->parameterNames.at(i).toStdString()[0]] = estimate.r8data[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); } - | ~~^~~~~~~~~~~~~ dialogs.cpp: In member function 'void dpMpfitDialog::dofit()': dialogs.cpp:2319:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2319 | for (int i = 0; i < variableList.size(); 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); } - | ~~^~~~~~~~~~~~~ dialogs.cpp:2383:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2383 | for (int i = 0; i < variableList.size(); 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) { } - | ^~~~~~~~~~~~~~~~ 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++) { | ~~^~~~~~~~~~~~~~~~~~~~~ @@ -11388,26 +11908,6 @@ dialogs.cpp:2440:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2440 | for (int i = 0; i < variableList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ -../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) { } - | ^~~~~~~~~~~ dialogs.cpp: In member function 'void dpMpfitDialog::loadParams()': dialogs.cpp:2506:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2506 | if ((value = getXMLValue(root_node, "FitFunction")) == NULL) return; @@ -11418,10 +11918,6 @@ dialogs.cpp:2517:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2517 | if ((value = getXMLValue(constrain, "Minimum")) != NULL) mpfitParameters->minx->setText(value); | ^~~~~~~~~ -../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(); } - | ^ dialogs.cpp:2518:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2518 | if ((value = getXMLValue(constrain, "Maximum")) != NULL) mpfitParameters->maxx->setText(value); | ^~~~~~~~~ @@ -11464,25 +11960,10 @@ dialogs.cpp:2545:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2545 | if ((value = getXMLValue(parameter, "Fixed")) != NULL) if (value[0] == '1') mpfitParameters->parameters[parameterName]->fixed->click(); | ^~~~~~~ -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 == '\'') - | ^~ dialogs.cpp: In member function 'void dpMpfitDialog::copyfit()': dialogs.cpp:2712:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2712 | for (int i = 0; i < variableList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ -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(); } - | ^~~~~ dialogs.cpp:2699:12: warning: unused variable 'flux' [-Wunused-variable] 2699 | double flux; | ^~~~ @@ -11501,140 +11982,88 @@ dialogs.cpp:2701:25: warning: unused variable 'dfwhm' [-Wunused-variable] 2701 | double a, fwhm, da, dfwhm; | ^~~~~ -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 | "################" - | ^~~~~~~~~~~~~~~~~~ -QFitsHeaderView.cpp: In member function 'virtual void QFitsHeaderContent::mouseDoubleClickEvent(QMouseEvent*)': -QFitsHeaderView.cpp:65:36: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 65 | int fw = f.width(FITS_EMPTY); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qscrollbar.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QScrollBar:1, - from QFitsHeaderView.cpp:2: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -QFitsHeaderView.cpp:65:13: warning: unused variable 'fw' [-Wunused-variable] - 65 | int fw = f.width(FITS_EMPTY); - | ^~ -QFitsHeaderView.cpp:98:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 98 | int fw = f.width(key + "="); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qscrollbar.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QScrollBar:1, - from QFitsHeaderView.cpp:2: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QPgplot.o QPgplot.cpp -QFitsHeaderView.cpp: In member function 'void QFitsHeaderContent::addKey()': -QFitsHeaderView.cpp:119:9: warning: unused variable 'index' [-Wunused-variable] - 119 | int index = newKeyValue->text().indexOf('='); - | ^~~~~ -QFitsHeaderView.cpp: In constructor 'QFitsHeaderView::QFitsHeaderView(QWidget*)': -QFitsHeaderView.cpp:156:30: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 156 | int pwidth = f.width("MM"); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qscrollbar.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QScrollBar:1, - from QFitsHeaderView.cpp:2: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -QFitsHeaderView.cpp: In member function 'virtual void QFitsHeaderView::changeKey(QString, QString)': -QFitsHeaderView.cpp:294:12: warning: variable 'dvalue' set but not used [-Wunused-but-set-variable] - 294 | double dvalue; - | ^~~~~~ -QFitsHeaderView.cpp: In member function 'virtual void QFitsHeaderViewExt::reject()': -QFitsHeaderView.cpp:328:13: warning: unused variable 'p' [-Wunused-variable] - 328 | int p = fpos; - | ^ -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; - | ^ +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); } + | ~~^~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget3D.o QFitsWidgets/QFitsWidget3D.cpp +../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 QFitsToolBar.cpp:53: resources/convolve.xpm: At global scope: resources/convolve.xpm:2:14: warning: 'convolve' defined but not used [-Wunused-variable] @@ -11664,6 +12093,17 @@ resources/moviepause.xpm:2:14: warning: 'moviepause' defined but not used [-Wunused-variable] 2 | static char *moviepause[] = { | ^~~~~~~~~~ +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 QFitsToolBar.cpp:46: resources/movieplay.xpm:2:14: warning: 'movieplay' defined but not used [-Wunused-variable] 2 | static char *movieplay[] = { @@ -11676,19 +12116,6 @@ resources/rotate.xpm:2:14: warning: 'rotate_icon' defined but not used [-Wunused-variable] 2 | static char *rotate_icon[] = { | ^~~~~~~~~~~ -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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QButtonGroup:1, - from imred.cpp:1: -/usr/include/x86_64-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 QFitsToolBar.cpp:41: resources/flop.xpm:2:14: warning: 'flop_icon' defined but not used [-Wunused-variable] 2 | static char *flop_icon[] = { @@ -11701,101 +12128,14 @@ resources/reload.xpm:2:14: warning: 'reload' defined but not used [-Wunused-variable] 2 | static char *reload[] = { | ^~~~~~ -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) { - | ~~~~~~~~~~~~~~~^ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidget3D.o QFitsWidgets/QFitsWidget3D.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", - | ^~~~~~~~~~~ -resources/filenew.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #ffff00", - | ^~~~~~~~~~~~~ -resources/filenew.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #000000", - | ^~~~~~~~~~~~~ -resources/filenew.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "+ c #ffffff", - | ^~~~~~~~~~~~~ -resources/filenew.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "@ c #aca899", - | ^~~~~~~~~~~~~ -resources/filenew.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "# c None", - | ^~~~~~~~~~ -resources/filenew.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "# ##@ ##@...##########", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "#@ #@+#@ ++..#########", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "##@ @ @ +++.+.########", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "## @ +@@@@+.++.#######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "#@@@+ ++++.....######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "###+@++@..+++++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "#@##@ +++++++++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "####@+.......++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "####.++++++++++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "####.+.......++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "####.++++++++++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "####.+.......++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "####.++++++++++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 26 | "####.++++++++++.######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | "####............######", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 28 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 30 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/filenew.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 31 | "######################", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from qt_mainwindow.cpp:32: +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", | ^~~~~~~~~~~ @@ -11862,366 +12202,60 @@ resources/fileopen.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView3D.o QFitsViews/QFitsView3D.cpp -In file included from qt_mainwindow.cpp:33: -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 qt_mainwindow.cpp:35: -resources/editredo.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "16 16 2 1", - | ^~~~~~~~~~~ -resources/editredo.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c black", - | ^~~~~~~~~~~ -resources/editredo.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c None", - | ^~~~~~~~~~ -resources/editredo.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "..... ......", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | ".... ..... .....", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "... ....... .. .", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | ".. ......... .", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | ".. ......... .", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | ".. ........ .", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "... ............", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | ".... ...........", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "..... ..........", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | ". . . . .", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "................", - | ^~~~~~~~~~~~~~~~~~ -resources/editredo.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "................" - | ^~~~~~~~~~~~~~~~~~ -In file included from qt_mainwindow.cpp:36: -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 qt_mainwindow.cpp:37: -resources/editcut.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "22 22 3 1", - | ^~~~~~~~~~~ -resources/editcut.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #000000", - | ^~~~~~~~~~~~~ -resources/editcut.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #000080", - | ^~~~~~~~~~~~~ -resources/editcut.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "+ c None", - | ^~~~~~~~~~ -resources/editcut.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "++++++++ +++ +++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "++++++++ +++ +++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "++++++++ +++ +++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "++++++++ + +++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "+++++++++ + ++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "+++++++++ ++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "++++++++++ +++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "+++++++++. .++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "+++++++++.+...++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "+++++++...+.++.+++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "++++++.++.+.++.+++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "++++++.++.+.++.+++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "++++++.++.++..++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "+++++++..+++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 26 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 28 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editcut.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | "++++++++++++++++++++++", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from qt_mainwindow.cpp:38: -resources/editpaste.xpm:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 4 | "22 22 7 1", - | ^~~~~~~~~~~ -resources/editpaste.xpm:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 5 | " c #000000", - | ^~~~~~~~~~~~~ -resources/editpaste.xpm:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 6 | ". c #ffff00", - | ^~~~~~~~~~~~~ -resources/editpaste.xpm:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 7 | "+ c #808000", - | ^~~~~~~~~~~~~ -resources/editpaste.xpm:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 8 | "@ c #000080", - | ^~~~~~~~~~~~~ -resources/editpaste.xpm:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 9 | "# c #ffffff", - | ^~~~~~~~~~~~~ -resources/editpaste.xpm:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 10 | "$ c #aca899", - | ^~~~~~~~~~~~~ -resources/editpaste.xpm:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 11 | "% c None", - | ^~~~~~~~~~ -resources/editpaste.xpm:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 12 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 13 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 14 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 15 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 16 | "%%%%%%%% %%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | "%%%% .. %%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 18 | "%%% $+$ . . +$+ %%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 19 | "%%% +$ %%%%%% +$ %%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 20 | "%%% $+ $+ %%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 21 | "%%% +$+$+$+$+$+$ %%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 22 | "%%% $+$+$@@@@@@@ %%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 23 | "%%% +$+$+@#####@@%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | "%%% $+$+$@#####@#@%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 25 | "%%% +$+$+@#@@@#@@@%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 26 | "%%% $+$+$@#######@%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | "%%% +$+$+@#@@@@@#@%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 28 | "%%%% @#######@%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | "%%%%%%%%%@@@@@@@@@%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 30 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 31 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 32 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -resources/editpaste.xpm:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | "%%%%%%%%%%%%%%%%%%%%%%", - | ^~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~ +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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QButtonGroup:1, + from imred.cpp:1: +/usr/include/x86_64-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 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; | ^~ +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)); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, + from extra/tetrixpiece.cpp:44: +/usr/include/x86_64-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(); + | ^~~~~ 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()); @@ -12253,12 +12287,14 @@ /usr/include/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsView3D.o QFitsViews/QFitsView3D.cpp 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o functions.o ../dpuser/functions.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o y.tab.o ../dpuser/parser/y.tab.cpp In file included from RGBDialog.h:12, from dialogs.h:39, from dialogs.cpp:25: @@ -12299,6 +12335,7 @@ ../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } | ^~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.input.o ../dpuser/dpuser.input.cpp ../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); } @@ -12341,27 +12378,6 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o y.tab.o ../dpuser/parser/y.tab.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.input.o ../dpuser/dpuser.input.cpp -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 ../dpuser/functions.h:9, - from ../dpuser/functions.cpp:21: -../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) { } - | ~~~~~~~~~~~~^~~~~~ 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) { @@ -12390,8 +12406,103 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o procedures.o ../dpuser/procedures.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/functions.cpp:21: +../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/functions.cpp:21: +../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/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); } @@ -12410,6 +12521,92 @@ ../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 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) { } + | ~~~~~~~~~~~~^~~~~~ +../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/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) { } + | ^~~~~~~~~~~~~ +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(); } + | ^~~~~ ../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); } @@ -12452,9 +12649,76 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o procedures.o ../dpuser/procedures.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.yy.o ../dpuser/parser/lex.yy.cpp +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; + | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o svn_revision.o ../dpuser/parser/svn_revision.cpp +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/x86_64-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/x86_64-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)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser_utils.o ../dpuser/dpuser_utils.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(); } + | ^~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.procs.o ../dpuser/dpuser.procs.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] + 19 | #define DPUSERVERSION2 " ____ ____ _ _ ____ _____ ____ \n| _ \\| _ \\| | | / ___|| ____| _ \\ \n| | | | |_) | | | \\___ \\| _| | |_) |\n| |_| | __/| |_| |___) | |___| _ < \n|____/|_| \\___/|____/|_____|_| \\_\\ - The Next Generation " + | ^ +../dpuser/dpuser.h:19:24: note: in definition of macro 'DPUSERVERSION2' + 19 | #define DPUSERVERSION2 " ____ ____ _ _ ____ _____ ____ \n| _ \\| _ \\| | | / ___|| ____| _ \\ \n| | | | |_) | | | \\___ \\| _| | |_) |\n| |_| | __/| |_| |___) | |___| _ < \n|____/|_| \\___/|____/|_____|_| \\_\\ - The Next Generation " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ast.y:331:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +ast.y:332:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +ast.y:333:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +ast.y:334:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +ast.y:335:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +ast.y:336:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +ast.y: In function 'void controlcsignal(int)': +ast.y:339:25: warning: unused parameter 'signum' [-Wunused-parameter] +ast.y: In function 'void dpuser_gsl_error_handler(const char*, const char*, int, int)': +ast.y:346:43: warning: unused parameter 'reason' [-Wunused-parameter] +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] In file included from ../dpuser/functions.h:9, - from ast.y:13: + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from QFitsViews/QFitsView3D.h:7, + from QFitsViews/QFitsView3D.cpp:12: ../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 *) { } @@ -12467,7 +12731,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 QFitsViews/QFitsView3D.h:7, + from QFitsViews/QFitsView3D.cpp:12: ../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); } @@ -12528,11 +12795,32 @@ ../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 QFitsViews/QFitsView3D.h:7, + from QFitsViews/QFitsView3D.cpp:12: +../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 QFitsViews/QFitsView3D.h:7, + from QFitsViews/QFitsView3D.cpp: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(); } + | ^~~~~ +In file included from ../libfits/astrolib.h:4, + from ../dpuser/functions.cpp:26: +../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/astrolib.h:4, + from ../dpuser/functions.cpp:26: +../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o y.mpfit.o ../dpuser/mpfit/y.mpfit.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: + from ../dpuser/dpuser.input.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 *) { } @@ -12544,11 +12832,15 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ +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; } + | ~~~~~^~~~~~~~~~~~~ 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: + from ../dpuser/dpuser.input.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); } @@ -12609,55 +12901,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(); } - | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.yy.o ../dpuser/parser/lex.yy.cpp -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/x86_64-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/x86_64-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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o svn_revision.o ../dpuser/parser/svn_revision.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 ../libfits/astrolib.h:4, - from ../dpuser/functions.cpp:26: -../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/astrolib.h:4, - from ../dpuser/functions.cpp:26: -../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/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"; } - | ^~~~~~~~~~ ../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; @@ -12857,6 +13100,15 @@ ../dpuser/functions.cpp:122:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "float", 1, 1, { typeStr|NUMBER|typeFits }, 0 }, | ^~~~~~~ +In file included from ../dpuser/dpuser.input.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 ../dpuser/dpuser.input.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(); } + | ^~~~~ ../dpuser/functions.cpp:336:1: warning: missing initializer for member '_function_declarations::options' [-Wmissing-field-initializers] 336 | }; | ^ @@ -13513,7 +13765,6 @@ ../dpuser/functions.cpp:347:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | "sprintf" | ^~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser_utils.o ../dpuser/dpuser_utils.cpp ../dpuser/functions.cpp:378:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | "stringarray", | ^~~~~~~~~~~~~ @@ -13695,6 +13946,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.mpfit.o ../dpuser/mpfit/lex.mpfit.cpp ../dpuser/functions.cpp:4903:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 4903 | for (i = 0; i < rv.arrvalue->size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ @@ -13744,238 +13996,6 @@ ../dpuser/functions.cpp:395:16: warning: unused variable 'arguments' [-Wunused-variable] 395 | dpuserType arguments[20]; | ^~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from QFitsViews/QFitsView3D.h:7, - from QFitsViews/QFitsView3D.cpp:12: -../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 QFitsViews/QFitsView3D.h:7, - from QFitsViews/QFitsView3D.cpp:12: -../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 QFitsViews/QFitsView3D.h:7, - from QFitsViews/QFitsView3D.cpp:12: -../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 QFitsViews/QFitsView3D.h:7, - from QFitsViews/QFitsView3D.cpp: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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuser.procs.o ../dpuser/dpuser.procs.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] - 19 | #define DPUSERVERSION2 " ____ ____ _ _ ____ _____ ____ \n| _ \\| _ \\| | | / ___|| ____| _ \\ \n| | | | |_) | | | \\___ \\| _| | |_) |\n| |_| | __/| |_| |___) | |___| _ < \n|____/|_| \\___/|____/|_____|_| \\_\\ - The Next Generation " - | ^ -../dpuser/dpuser.h:19:24: note: in definition of macro 'DPUSERVERSION2' - 19 | #define DPUSERVERSION2 " ____ ____ _ _ ____ _____ ____ \n| _ \\| _ \\| | | / ___|| ____| _ \\ \n| | | | |_) | | | \\___ \\| _| | |_) |\n| |_| | __/| |_| |___) | |___| _ < \n|____/|_| \\___/|____/|_____|_| \\_\\ - The Next Generation " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ast.y:331:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -ast.y:332:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -ast.y:333:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -ast.y:334:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -ast.y:335:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -ast.y:336:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -ast.y: In function 'void controlcsignal(int)': -ast.y:339:25: warning: unused parameter 'signum' [-Wunused-parameter] -ast.y: In function 'void dpuser_gsl_error_handler(const char*, const char*, int, int)': -ast.y:346:43: warning: unused parameter 'reason' [-Wunused-parameter] -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] -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; } - | ~~~~~^~~~~~~~~~~~~ -../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o y.mpfit.o ../dpuser/mpfit/y.mpfit.cpp -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../dpuser/dpuser.input.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 *) { } - | ^ -../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/dpuser.input.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); } - | ~~^~~~~~~~~~~~~ -../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/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; - | ^~ -In file included from ../dpuser/dpuser.input.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 ../dpuser/dpuser.input.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(); } - | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o lex.mpfit.o ../dpuser/mpfit/lex.mpfit.cpp ../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; @@ -14046,6 +14066,89 @@ ../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 '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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfitAST.o ../dpuser/mpfit/mpfitAST.cpp 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*)': @@ -14060,6 +14163,41 @@ 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: +../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: +../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.procs.cpp:6: ../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] @@ -14087,6 +14225,24 @@ ../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 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 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 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; @@ -14121,7 +14277,35 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfitAST.o ../dpuser/mpfit/mpfitAST.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(); } + | ^ +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] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ 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] @@ -14155,12 +14339,38 @@ ../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; } | ^~~~~~~~~~~~ +In file included from ast.l: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(); } + | ^~~~~ ../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] +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] +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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, + from QCustomPlot/qcustomplot.h:62, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:298:57: note: declared here + 298 | QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &); + | ^~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -14177,20 +14387,18 @@ ../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: -../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) { } - | ~~~~~~~~~~~~^~~~~~ +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/x86_64-linux-gnu/qt5/QtCore/qvariant.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:1374:15: note: declared here + 1374 | QMap &QMap::unite(const QMap &other) + | ^~~~~~~~~~~~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -14200,35 +14408,10 @@ ../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); } | ~~^~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ast.l: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 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 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 constructor 'statementNode::statementNode(ASTNode*)': ../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] 272 | int id; @@ -14239,20 +14422,6 @@ ../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } | ^~~~~~~~~~~~~ -../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 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); } @@ -14291,30 +14460,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) { } | ^~~~~~~~~~~ -../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(); } - | ^ ../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(); } @@ -14330,23 +14475,51 @@ ../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.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] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ast.l: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(); } - | ^~~~~ -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] +../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; } | ~~~~~^~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuserType.o ../dpuser/dpuserType.cpp +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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here + 225 | inline QPoint pos() const { return p.toPoint(); } + | ^~~ +ast.l:64:7: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 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] @@ -14384,83 +14557,101 @@ ../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; } | ^~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuserType.o ../dpuser/dpuserType.cpp -ast.l:64:7: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] -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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, +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; + | ^~ +In file included from QCustomPlot/qcustomplot.h:29, from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, +QCustomPlot/qcustomplot.cpp: In destructor 'virtual QCPItemAnchor::~QCPItemAnchor()': +QCustomPlot/qcustomplot.cpp:11326:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] +11326 | foreach (QCPItemPosition *child, mChildrenX.toList()) + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +QCustomPlot/qcustomplot.cpp:11326:3: note: in expansion of macro 'foreach' +11326 | foreach (QCPItemPosition *child, mChildrenX.toList()) + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +In file included from QCustomPlot/qcustomplot.h:29, from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, +QCustomPlot/qcustomplot.cpp:11331:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] +11331 | foreach (QCPItemPosition *child, mChildrenY.toList()) + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +QCustomPlot/qcustomplot.cpp:11331:3: note: in expansion of macro 'foreach' +11331 | foreach (QCPItemPosition *child, mChildrenY.toList()) + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +In file included from QCustomPlot/qcustomplot.h:29, from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ +QCustomPlot/qcustomplot.cpp: In destructor 'virtual QCPItemPosition::~QCPItemPosition()': +QCustomPlot/qcustomplot.cpp:11504:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] +11504 | foreach (QCPItemPosition *child, mChildrenX.toList()) + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +QCustomPlot/qcustomplot.cpp:11504:3: note: in expansion of macro 'foreach' +11504 | foreach (QCPItemPosition *child, mChildrenX.toList()) + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +In file included from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +QCustomPlot/qcustomplot.cpp:11509:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] +11509 | foreach (QCPItemPosition *child, mChildrenY.toList()) + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +QCustomPlot/qcustomplot.cpp:11509:3: note: in expansion of macro 'foreach' +11509 | foreach (QCPItemPosition *child, mChildrenY.toList()) + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/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; } | ^~~~~~~~~~ -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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ ../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; } @@ -14493,10 +14684,37 @@ ../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; } | ^~~~~~~~~~ -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(); - | ^ +../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]; + | ^~~~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, + from QCustomPlot/qcustomplot.h:51, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, @@ -14505,11 +14723,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here 562 | T *data() const noexcept { return internalData(); } | ^~~~ -../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]; - | ^~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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=] 161 | } @@ -14517,6 +14730,29 @@ ../dpuser/mpfit/mpfitAST.cpp:163:5: note: here 163 | default: return a3; break; | ^~~~~~~ +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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qvariant.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, + from QCustomPlot/qcustomplot.h:56, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpuserAST.o ../dpuser/dpuserAST.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../dpuser/dpuser_utils.cpp:12: @@ -14594,16 +14830,6 @@ ../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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/dpuser_utils.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] @@ -14613,81 +14839,74 @@ ../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/dpuser_utils.cpp: At global scope: -../dpuser/dpuser_utils.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 61 | char* xpaServer = "ds9"; - | ^~~~~ -../dpuser/dpuser_utils.cpp: In function 'int ds9_running()': -../dpuser/dpuser_utils.cpp:70:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | n = XPANSLookup(NULL, "ds9", "g", &classes, &names, &methods, &infos); - | ^~~~~ -../dpuser/dpuser_utils.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | n = XPANSLookup(NULL, "ds9", "g", &classes, &names, &methods, &infos); - | ^~~ -../dpuser/dpuser_utils.cpp: In function 'int ds9_frame_loaded()': -../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, - | ^~~~~~~~~~~ -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/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, - from QCustomPlot/qcustomplot.h:62, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qvariant.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:1374:15: note: declared here - 1374 | QMap &QMap::unite(const QMap &other) - | ^~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gdl_dpuser.o ../dpuser/gdl_dpuser.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] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../dpuser/dpuser.procs.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(); } - | ^~~~~ -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 - | ^ +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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, from QCustomPlot/qcustomplot.h:56, from QCustomPlot/qcustomplot.cpp:26: /usr/include/x86_64-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())); - | ^ +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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, from QCustomPlot/qcustomplot.h:56, from QCustomPlot/qcustomplot.cpp:26: /usr/include/x86_64-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())); - | ^ +../dpuser/dpuser_utils.cpp: At global scope: +../dpuser/dpuser_utils.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 61 | char* xpaServer = "ds9"; + | ^~~~~ +../dpuser/dpuser_utils.cpp: In function 'int ds9_running()': +../dpuser/dpuser_utils.cpp:70:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | n = XPANSLookup(NULL, "ds9", "g", &classes, &names, &methods, &infos); + | ^~~~~ +../dpuser/dpuser_utils.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | n = XPANSLookup(NULL, "ds9", "g", &classes, &names, &methods, &infos); + | ^~~ +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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, from QCustomPlot/qcustomplot.h:56, from QCustomPlot/qcustomplot.cpp:26: /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here 225 | inline QPoint pos() const { return p.toPoint(); } | ^~~ +../dpuser/dpuser_utils.cpp: In function 'int ds9_frame_loaded()': +../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gdl_dpuser.o ../dpuser/gdl_dpuser.cpp +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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, + from QCustomPlot/qcustomplot.h:29, + from QCustomPlot/qcustomplot.cpp:26: +/usr/include/x86_64-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/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/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(""); @@ -14765,10 +14984,6 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ -../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/dpuser_utils.cpp: In function 'bool CubeMerge(const char*, dpStringList&)': ../dpuser/dpuser_utils.cpp:1141:49: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'dpint64' {aka 'long long int'} [-Wsign-compare] 1141 | if (fwrite(ptr, 1, memsize, out.fd) != memsize) { @@ -14780,43 +14995,6 @@ ../dpuser/dpuser_utils.cpp:1407:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] 1407 | for (unsigned long n = 0; n < result.fvalue->Nelements(); n++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -QCustomPlot/qcustomplot.cpp: In destructor 'virtual QCPItemAnchor::~QCPItemAnchor()': -QCustomPlot/qcustomplot.cpp:11326:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] -11326 | foreach (QCPItemPosition *child, mChildrenX.toList()) - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -QCustomPlot/qcustomplot.cpp:11326:3: note: in expansion of macro 'foreach' -11326 | foreach (QCPItemPosition *child, mChildrenX.toList()) - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here - 265 | QList toList() const { return values(); } - | ^~~~~~ -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] -11331 | foreach (QCPItemPosition *child, mChildrenY.toList()) - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -QCustomPlot/qcustomplot.cpp:11331:3: note: in expansion of macro 'foreach' -11331 | foreach (QCPItemPosition *child, mChildrenY.toList()) - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here - 265 | QList toList() const { return values(); } - | ^~~~~~ ../dpuser/dpuser_utils.cpp: At global scope: ../dpuser/dpuser_utils.cpp:1504:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1504 | { "fltarr", "floatarray" }, @@ -14846,54 +15024,89 @@ ../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 QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -QCustomPlot/qcustomplot.cpp: In destructor 'virtual QCPItemPosition::~QCPItemPosition()': -QCustomPlot/qcustomplot.cpp:11504:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] -11504 | foreach (QCPItemPosition *child, mChildrenX.toList()) - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -QCustomPlot/qcustomplot.cpp:11504:3: note: in expansion of macro 'foreach' -11504 | foreach (QCPItemPosition *child, mChildrenX.toList()) - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here - 265 | QList toList() const { return values(); } - | ^~~~~~ -In file included from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -QCustomPlot/qcustomplot.cpp:11509:54: warning: 'QList QSet::toList() const [with T = QCPItemPosition*]' is deprecated: Use values() instead. [-Wdeprecated-declarations] -11509 | foreach (QCPItemPosition *child, mChildrenY.toList()) - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -QCustomPlot/qcustomplot.cpp:11509:3: note: in expansion of macro 'foreach' -11509 | foreach (QCPItemPosition *child, mChildrenY.toList()) - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here - 265 | QList toList() const { return values(); } - | ^~~~~~ +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] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../dpuser/dpuser.procs.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/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); } + | ~~^~~~~~~~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o python_dpuser.o ../dpuser/python_dpuser.cpp -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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/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(); } + | ^ ../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++) { @@ -14915,20 +15128,6 @@ ../dpuser/dpuser.procs.cpp:220:19: warning: comparison of integer expressions of different signedness: 'dpint64' {aka 'long long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 220 | if (n != userprocedure_arguments[proc.first].size() - 1) vars += ", "; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from mpfit.l:6: -../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/dpuser.procs.cpp:226:41: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 226 | vars = userprovars[n].c_str(); | ^ @@ -14983,17 +15182,6 @@ ../dpuser/dpuser.procs.cpp:508:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 508 | char *title = "", *xtitle = "", *ytitle = ""; | ^~ -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from mpfit.l:6: -../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/dpuser.procs.cpp: At global scope: ../dpuser/dpuser.procs.cpp:628:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 628 | "Introduction to DPUSER:", @@ -15052,38 +15240,10 @@ ../dpuser/dpuser.procs.cpp:651:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | "" | ^~ -../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/dpuser.procs.cpp: In function 'void printHelpNew(char*)': ../dpuser/dpuser.procs.cpp:720:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 720 | for (int i = 0; i < procedureHelp[what].size(); 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/dpuser.procs.cpp: In function 'void help(char*)': ../dpuser/dpuser.procs.cpp:726:9: warning: unused variable 'j' [-Wunused-variable] 726 | int i, j, k, l, n, count = 0, success = 0; @@ -15103,119 +15263,9 @@ ../dpuser/dpuser.procs.cpp:727:8: warning: unused variable 'f' [-Wunused-variable] 727 | char *f; | ^ -../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 '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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here - 562 | T *data() const noexcept { return internalData(); } - | ^~~~ -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] -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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1, - from QCustomPlot/qcustomplot.h:51, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtCore/qvariant.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o arithmetics.o ../dpuser/arithmetics.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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5/QtGui/QPaintEvent:1, - from QCustomPlot/qcustomplot.h:56, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here - 225 | inline QPoint pos() const { return p.toPoint(); } - | ^~~ -In file included from ../dpuser/dpuserAST.cpp:4: +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from mpfit.l:6: ../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 *) { } @@ -15227,31 +15277,13 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ -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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/dpuserAST.cpp:4: +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from mpfit.l:6: ../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); } | ~~^~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, - from QCustomPlot/qcustomplot.h:29, - from QCustomPlot/qcustomplot.cpp:26: -/usr/include/x86_64-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/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); } @@ -15284,9 +15316,6 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -../dpuser/python_dpuser.cpp:506:1: warning: multi-line comment [-Wcomment] - 506 | // PyErr_Format(PyExc_RuntimeError, "module compiled against "\ - | ^ ../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; @@ -15307,27 +15336,26 @@ ../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(); } + | ^ +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] +../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.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(); } - | ^ -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/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; - | ^ ../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; @@ -15335,18 +15363,6 @@ ../dpuser/dpuser.procs.cpp:78:3: note: here 78 | case typeFits: { | ^~~~ -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); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -15402,13 +15418,6 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -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); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../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; @@ -15789,6 +15798,10 @@ ../dpuser/dpuserType.cpp:1423:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1423 | throw dpuserTypeException("readfitsbintable: Could not read extension"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/dpuserType.cpp:1436:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1436 | throw dpuserTypeException("readfitsbintable: Unable to open file!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15819,7 +15832,11 @@ ../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++) { | ~~^~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o boolean.o ../dpuser/boolean.cpp +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/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())) { @@ -15827,11 +15844,13 @@ ../dpuser/dpuserType.cpp:375:9: note: here 375 | case typeFits: | ^~~~ +lex.mpfit.c: At global scope: +lex.mpfit.c:1175:17: warning: 'void mpfitunput(int, char*)' defined but not used [-Wunused-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o arithmetics.o ../dpuser/arithmetics.cpp ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o helpmap.o ../dpuser/doc/helpmap.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../dpuser/gdl_dpuser.cpp:33: @@ -15846,6 +15865,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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: @@ -15918,7 +15938,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpstring.o ../utils/dpstring.cpp ../dpuser/gdl_dpuser.cpp: In function 'int call_gdl(std::string, std::vector*, std::vector >, std::map, std::pair, dpuserType> >*, bool, dpuserType&)': ../dpuser/gdl_dpuser.cpp:669:26: warning: unused parameter 'func_or_pro' [-Wunused-parameter] 669 | int call_gdl(std::string func_or_pro, std::vector *args, std::vector variables, std::map > *keyw, bool isFunction, dpuserType &rv) { @@ -15938,365 +15957,21 @@ ../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) { | ~~~~~~~~~~~~^~ -../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 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; - | ^~ -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] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../dpuser/dpuserAST.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(); } - | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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 ../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) { - | ~~~~~~~~~~~~^~ -../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"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:56:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 56 | if (result.type == typeUnknown) throw dpuserTypeException("Cannot assign this to a variable\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:67:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 67 | if (result.type != typeCon) throw dpuserTypeException("variable must be an integer\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:69:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | if (result.toInt() < 1) throw dpuserTypeException("variable must be >= 1\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:73:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | if (result.type != typeStr) throw dpuserTypeException("variable must be a string\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType variableNode::evaluate()': -../dpuser/dpuserAST.cpp:104:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 104 | throw dpuserTypeException("No such variable\n"); - | ^~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In constructor 'functionNode::functionNode(std::string)': -../dpuser/dpuserAST.cpp:137:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 137 | if (builtin_id >= funcs.size()) builtin_id = -1; - | ~~~~~~~~~~~^~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType functionNode::evaluate()': -../dpuser/dpuserAST.cpp:166:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 166 | for (int i = 1; i < userfunction_arguments[id].size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:169:69: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 169 | if ((nparams > 0) && (userfunction_arguments[id].size() <= nparams)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -../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/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; - | ~~~~~~~~~~~^~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType procedureNode::evaluate()': -../dpuser/dpuserAST.cpp:300:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 300 | for (int i = 1; i <= args.size(); i++) { - | ~~^~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:312:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 312 | if (i < userprocedure_arguments[id].size()) new_dpuser_vars[userprocedure_arguments[id][i]] = args.at(i-1)->evaluate(); - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:316:66: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 316 | if ((nparams > 0) && (userprocedure_arguments[id].size() <= nparams)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -../dpuser/dpuserAST.cpp:318:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 318 | for (int i = 0; i < options.size(); i++) { - | ~~^~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:338:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 338 | for (int i = 1; i < userprocedure_arguments[id].size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 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.cpp:298:13: warning: unused variable 'argcount' [-Wunused-variable] - 298 | int argcount = 0; - | ^~~~~~~~ -../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++) { - | ~~^~~~~~~~~~~~~ -../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++) { - | ~~^~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In constructor 'statementNode::statementNode(std::string, ASTNode*)': -../dpuser/dpuserAST.cpp:434:42: warning: unused parameter 'proc' [-Wunused-parameter] - 434 | statementNode::statementNode(std::string proc, ASTNode *arg1) : stmt(arg1) { - | ~~~~~~~~~~~~^~~~ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType listNode::evaluate()': -../dpuser/dpuserAST.cpp:458:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 458 | for (int i = 0; i < list.size(); i++) { - | ~~^~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType forloopNode::evaluate()': -../dpuser/dpuserAST.cpp:509:1: warning: no return statement in function returning non-void [-Wreturn-type] - 509 | } - | ^ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType whileNode::evaluate()': -../dpuser/dpuserAST.cpp:532:1: warning: no return statement in function returning non-void [-Wreturn-type] - 532 | } - | ^ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType createrangeNode::evaluate()': -../dpuser/dpuserAST.cpp:566:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 566 | for (i = 0; i < newrange->list.size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:587:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 587 | for (i = 1; i < newrange->list.size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:609:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 609 | for (i = 0; i < newrange->list.size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType extractrangeNode::evaluate()': -../dpuser/dpuserAST.cpp:701:48: warning: comparison of integer expressions of different signedness: 'long int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 701 | if (index < 0 || index >= arg.svalue->length()) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:709:48: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 709 | if (index < 0 || index >= arg.arrvalue->size()) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:736:52: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 736 | if ((index >= 0) && (index < arg.dparrvalue->size())) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:794:70: warning: comparison of integer expressions of different signedness: 'long int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 794 | if ((index1 < 0) || (index1 > index2) || (index2 > arg.svalue->length())) { - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -../dpuser/dpuserAST.cpp:800:72: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] - 800 | *rv.svalue = tmpstr.mid(index1, index2-index1+1); - | ^ -In file included from ../dpuser/dpuser.h:10, - from ../dpuser/dpuser.yacchelper.h:4, - from ../dpuser/dpuserAST.h:11, - from ../dpuser/dpuserAST.cpp:4: -../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' - 19 | dpString(const dpString &); - | ^~~~~~~~ -../dpuser/dpuserAST.cpp:843:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 843 | for (int i = 0; i < newrange->list.size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -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); } - | ~~^~~~~~~~~~~~~ -../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.cpp: In member function 'long int operatorRangeEqualsNode::extractIndices()': -../dpuser/dpuserAST.cpp:961:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 961 | for (int i = 0; i < newrange->list.size(); 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.cpp:960:10: warning: variable 'hasStar' set but not used [-Wunused-but-set-variable] - 960 | bool hasStar = false; - | ^~~~~~~ -../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.cpp: In member function 'virtual dpuserType operatorRangeEqualsNode::evaluate()': -../dpuser/dpuserAST.cpp:1063:106: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] - 1063 | for (long n = indices[0]; n <= indices[1]; n++) (*dpuser_vars[id].arrvalue)[n] = (*var.svalue); - | ^ -In file included from ../dpuser/dpuser.h:10, - from ../dpuser/dpuser.yacchelper.h:4, - from ../dpuser/dpuserAST.h:11, - from ../dpuser/dpuserAST.cpp:4: -../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' - 19 | dpString(const dpString &); - | ^~~~~~~~ -../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(); } - | ^ -../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) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../dpuser/arithmetics.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/arithmetics.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(); } - | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o regex_sr.o ../utils/regex/regex_sr.cpp -../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; - | ^~~~~~ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ +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); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o helpmap.o ../dpuser/doc/helpmap.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); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../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 }, @@ -16316,14 +15991,6 @@ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:816:65: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 816 | *result.cvalue = leftvalue.dvalue / *rightvalue.cvalue; - | ^~~~~~ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:76:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | { "pgband", 7, 7, { typeCon, typeCon, REALNUM, REALNUM, typeId|REALNUM, typeId|REALNUM, typeId|ANYTHING }, 0 }, | ^~~~~~~~ @@ -16397,10 +16064,6 @@ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp: In member function 'virtual dpuserType powerNode::evaluate()': -../dpuser/arithmetics.cpp:1037:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1037 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:88:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | { "pgcont", 10, 10, { typeFits, typeCon, typeCon, typeCon, typeCon, typeCon, typeCon, typeFits, typeCon, typeFits }, 0 }, | ^~~~~~~~ @@ -16428,51 +16091,18 @@ ../dpuser/procedures.cpp:92:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | { "pgcurs", 3, 3, { typeId|REALNUM, typeId|REALNUM, typeId|ANYTHING }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1039:106: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1039 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../dpuser/arithmetics.cpp:1045:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1045 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ ../dpuser/procedures.cpp:93:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | { "pgdraw", 2, 2, { REALNUM, REALNUM }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1068:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1068 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/arithmetics.cpp:1070:102: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1070 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ ../dpuser/procedures.cpp:94:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | { "pgebuf", 0, 0, { typeCon }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1091:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1091 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../dpuser/arithmetics.cpp:1093:106: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1093 | dpComplex(rightvalue.cvalue->real(), rightvalue.cvalue->imag())); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ @@ -16488,40 +16118,18 @@ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:1106:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1106 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:97:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | { "pgeras", 0, 0, { typeCon }, 0 }, | ^~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:1109:122: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1109 | dpComplex(rightvalue.fvalue->cdata[i].r, rightvalue.fvalue->cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:98:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | { "pgerr1", 5, 5, { typeCon, REALNUM, REALNUM, REALNUM, REALNUM }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1112:91: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1112 | dpComplex(rightvalue.fvalue->ValueAt(i))); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:1119:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1119 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:99:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | { "pgerrb", 6, 6, { typeCon, typeCon, typeFits, typeFits, typeFits, REALNUM }, 0 }, | ^~~~~~~~ @@ -16534,9 +16142,6 @@ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:1128:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1128 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:101:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | { "pgerry", 5, 5, { typeCon, typeFits, typeFits, typeFits, REALNUM }, 0 }, | ^~~~~~~~ @@ -16546,28 +16151,9 @@ ../dpuser/procedures.cpp:102:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | { "pgetxt", 0, 0, { typeCon }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1131:114: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1131 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:1134:114: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1134 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../dpuser/arithmetics.cpp:1141:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1141 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:103:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | { "pgfunt", 0, 0, { typeCon }, 0 }, | ^~~~~~~~ @@ -16583,40 +16169,18 @@ ../dpuser/procedures.cpp:105:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | { "pgfuny", 0, 0, { typeCon }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1151:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1151 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ ../dpuser/procedures.cpp:106:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | { "pggray", 10, 10, { typeFits, typeCon, typeCon, typeCon, typeCon, typeCon, typeCon, REALNUM, REALNUM, typeFits }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1154:122: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1154 | dpComplex(rightvalue.fvalue->cdata[i].r, rightvalue.fvalue->cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ -../dpuser/arithmetics.cpp:1157:91: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 1157 | dpComplex(rightvalue.fvalue->ValueAt(i))); - | ^ -In file included from ../libfits/fits.h:32, - from ../dpuser/arithmetics.cpp:3: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ ../dpuser/procedures.cpp:107:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | { "pghi2d", 12, 12, { typeFits, typeCon, typeCon, typeCon, typeCon, typeCon, typeCon, typeFits, typeCon, REALNUM, typeCon, typeFits }, 0 }, | ^~~~~~~~ -../dpuser/arithmetics.cpp:1164:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 1164 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ @@ -16707,6 +16271,12 @@ ../dpuser/procedures.cpp:122:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "pgnumb", 5, 5, { typeCon, typeCon, typeCon, typeId|ANYTHING, typeId|ANYTHING }, 0 }, | ^~~~~~~~ +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/procedures.cpp:304:1: warning: missing initializer for member '_pgplot_declarations::options' [-Wmissing-field-initializers] 304 | }; | ^ @@ -16736,6 +16306,15 @@ ../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/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] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../dpuser/dpuserAST.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/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] @@ -16878,6 +16457,10 @@ ../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] +../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: 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] @@ -17118,6 +16701,7 @@ ../dpuser/procedures.cpp:374:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 374 | 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpstring.o ../utils/dpstring.cpp ../dpuser/procedures.cpp:1851:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1851 | for (int i = 1; i < arg[1].dparrvalue->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17144,10 +16728,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, | ^~~~~~~~~~~~~~ -../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; - | ^~~~~~~ ../dpuser/procedures.cpp:2516:27: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 2516 | key = "t"; | ^~~ @@ -17243,6 +16823,10 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ +../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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:3285:72: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 3285 | dpString::number(arg[2].toInt()) + " }"; | ^~~~ @@ -17254,6 +16838,12 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ +../dpuser/dpuserAST.cpp:56:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 56 | if (result.type == typeUnknown) throw dpuserTypeException("Cannot assign this to a variable\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:67:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 67 | if (result.type != typeCon) throw dpuserTypeException("variable must be an integer\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:3291:72: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 3291 | dpString::number(arg[2].toInt()) + " 45 }"; | ^~~~~~~ @@ -17265,6 +16855,12 @@ ../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' 19 | dpString(const dpString &); | ^~~~~~~~ +../dpuser/dpuserAST.cpp:69:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | if (result.toInt() < 1) throw dpuserTypeException("variable must be >= 1\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:73:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | if (result.type != typeStr) throw dpuserTypeException("variable must be a string\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:3296:76: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 3296 | dpString::number(arg[2].toInt() / 2) + " }"; | ^~~~ @@ -17279,6 +16875,10 @@ ../dpuser/procedures.cpp:3340:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3340 | ret = XPASet(xpa, xpaServer, "regions delete all", NULL, | ^~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType variableNode::evaluate()': +../dpuser/dpuserAST.cpp:104:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 104 | throw dpuserTypeException("No such variable\n"); + | ^~~~~~~~~~~~~~~~~~~~ ../dpuser/procedures.cpp:3420:50: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] 3420 | env = *arg[0].svalue + "=" + *arg[1].svalue; | ^~~~~~ @@ -17324,6 +16924,233 @@ ../dpuser/procedures.cpp:519:14: warning: unused variable 'data5' [-Wunused-variable] 519 | *data5 = NULL; | ^~~~~ +../dpuser/dpuserAST.cpp: In constructor 'functionNode::functionNode(std::string)': +../dpuser/dpuserAST.cpp:137:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 137 | if (builtin_id >= funcs.size()) builtin_id = -1; + | ~~~~~~~~~~~^~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType functionNode::evaluate()': +../dpuser/dpuserAST.cpp:166:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 166 | for (int i = 1; i < userfunction_arguments[id].size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:169:69: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 169 | if ((nparams > 0) && (userfunction_arguments[id].size() <= nparams)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +../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++) { + | ~~^~~~~~~~~~~~~ +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) { } + | ~~~~~~~~~~~~^~~~~~ +../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; + | ~~~~~~~~~~~^~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType procedureNode::evaluate()': +../dpuser/dpuserAST.cpp:300:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 300 | for (int i = 1; i <= args.size(); i++) { + | ~~^~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:312:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 312 | if (i < userprocedure_arguments[id].size()) new_dpuser_vars[userprocedure_arguments[id][i]] = args.at(i-1)->evaluate(); + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:316:66: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 316 | if ((nparams > 0) && (userprocedure_arguments[id].size() <= nparams)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +../dpuser/dpuserAST.cpp:318:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 318 | for (int i = 0; i < options.size(); i++) { + | ~~^~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:338:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 338 | for (int i = 1; i < userprocedure_arguments[id].size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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.cpp:298:13: warning: unused variable 'argcount' [-Wunused-variable] + 298 | int argcount = 0; + | ^~~~~~~~ +../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.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++) { + | ~~^~~~~~~~~~~~~ +../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.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++) { + | ~~^~~~~~~~~~~~~~~~~~ +../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.cpp: In constructor 'statementNode::statementNode(std::string, ASTNode*)': +../dpuser/dpuserAST.cpp:434:42: warning: unused parameter 'proc' [-Wunused-parameter] + 434 | statementNode::statementNode(std::string proc, ASTNode *arg1) : stmt(arg1) { + | ~~~~~~~~~~~~^~~~ +../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType listNode::evaluate()': +../dpuser/dpuserAST.cpp:458:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 458 | for (int i = 0; i < list.size(); i++) { + | ~~^~~~~~~~~~~~~ +../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.cpp: In member function 'virtual dpuserType forloopNode::evaluate()': +../dpuser/dpuserAST.cpp:509:1: warning: no return statement in function returning non-void [-Wreturn-type] + 509 | } + | ^ +../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.cpp: In member function 'virtual dpuserType whileNode::evaluate()': +../dpuser/dpuserAST.cpp:532:1: warning: no return statement in function returning non-void [-Wreturn-type] + 532 | } + | ^ +../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType createrangeNode::evaluate()': +../dpuser/dpuserAST.cpp:566:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 566 | for (i = 0; i < newrange->list.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:587:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 587 | for (i = 1; i < newrange->list.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:609:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 609 | for (i = 0; i < newrange->list.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp: In member function 'virtual dpuserType extractrangeNode::evaluate()': +../dpuser/dpuserAST.cpp:701:48: warning: comparison of integer expressions of different signedness: 'long int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 701 | if (index < 0 || index >= arg.svalue->length()) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:709:48: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 709 | if (index < 0 || index >= arg.arrvalue->size()) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:736:52: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 736 | if ((index >= 0) && (index < arg.dparrvalue->size())) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:794:70: warning: comparison of integer expressions of different signedness: 'long int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 794 | if ((index1 < 0) || (index1 > index2) || (index2 > arg.svalue->length())) { + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:800:72: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] + 800 | *rv.svalue = tmpstr.mid(index1, index2-index1+1); + | ^ +In file included from ../dpuser/dpuser.h:10, + from ../dpuser/dpuser.yacchelper.h:4, + from ../dpuser/dpuserAST.h:11, + from ../dpuser/dpuserAST.cpp:4: +../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' + 19 | dpString(const dpString &); + | ^~~~~~~~ +../dpuser/dpuserAST.cpp:843:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 843 | for (int i = 0; i < newrange->list.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp: In member function 'long int operatorRangeEqualsNode::extractIndices()': +../dpuser/dpuserAST.cpp:961:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 961 | for (int i = 0; i < newrange->list.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/dpuserAST.cpp:960:10: warning: variable 'hasStar' set but not used [-Wunused-but-set-variable] + 960 | bool hasStar = false; + | ^~~~~~~ +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/dpuserAST.cpp: In member function 'virtual dpuserType operatorRangeEqualsNode::evaluate()': +../dpuser/dpuserAST.cpp:1063:106: warning: implicitly-declared 'dpString& dpString::operator=(const dpString&)' is deprecated [-Wdeprecated-copy] + 1063 | for (long n = indices[0]; n <= indices[1]; n++) (*dpuser_vars[id].arrvalue)[n] = (*var.svalue); + | ^ +In file included from ../dpuser/dpuser.h:10, + from ../dpuser/dpuser.yacchelper.h:4, + from ../dpuser/dpuserAST.h:11, + from ../dpuser/dpuserAST.cpp:4: +../utils/dpstring.h:19:2: note: because 'dpString' has user-provided 'dpString::dpString(const dpString&)' + 19 | dpString(const dpString &); + | ^~~~~~~~ +../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) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpstringlist.o ../utils/dpstringlist.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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; + | ^~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mpfit.o ../utils/cmpfit/mpfit.cpp ../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] @@ -17337,12 +17164,224 @@ ../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 ../libfits/fits.h:30, + 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) { } + | ~~~~~~~~~~~~^~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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 ../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); } + | ~~^~~~~~~~~~~~~ +../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/arithmetics.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/arithmetics.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; + | ^~~~~~ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:816:65: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 816 | *result.cvalue = leftvalue.dvalue / *rightvalue.cvalue; + | ^~~~~~ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp: In member function 'virtual dpuserType powerNode::evaluate()': +../dpuser/arithmetics.cpp:1037:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1037 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1039:106: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1039 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1045:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1045 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1068:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1068 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1070:102: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1070 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1091:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1091 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1093:106: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1093 | dpComplex(rightvalue.cvalue->real(), rightvalue.cvalue->imag())); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1106:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1106 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1109:122: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1109 | dpComplex(rightvalue.fvalue->cdata[i].r, rightvalue.fvalue->cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1112:91: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1112 | dpComplex(rightvalue.fvalue->ValueAt(i))); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1119:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1119 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1128:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1128 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1131:114: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1131 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1134:114: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1134 | dpComplex(result.fvalue->cdata[i].r, result.fvalue->cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1141:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1141 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1151:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1151 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../dpuser/arithmetics.cpp:1154:122: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1154 | dpComplex(rightvalue.fvalue->cdata[i].r, rightvalue.fvalue->cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1157:91: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 1157 | dpComplex(rightvalue.fvalue->ValueAt(i))); + | ^ +In file included from ../libfits/fits.h:32, + from ../dpuser/arithmetics.cpp:3: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../dpuser/arithmetics.cpp:1164:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 1164 | for (unsigned long i = 0; i < result.fvalue->Nelements(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o 3d_stuff.o ../libfits/3d_stuff.cpp +../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 ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -17431,7 +17470,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cube.o ../libfits/cube.c ../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; @@ -17587,10 +17626,19 @@ ../dpuser/boolean.cpp:580:9: note: here 580 | case typeFits: switch(rightvalue.type) { | ^~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cube.o ../libfits/cube.c -../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()); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +../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; + | ~~~~~~~~^~ +../libfits/cube.c:106:52: warning: 'point.y' may be used uninitialized in this function [-Wmaybe-uninitialized] + 106 | distance = sqrt(pow((point.x-res.x),2)+pow((point.y-res.y),2)+pow((point.z-res.z),2)); + | ~~~~~^~ +../libfits/cube.c:106:75: warning: 'point.z' may be used uninitialized in this function [-Wmaybe-uninitialized] + 106 | distance = sqrt(pow((point.x-res.x),2)+pow((point.y-res.y),2)+pow((point.z-res.z),2)); + | ~~~~~^~ +../libfits/cube.c:106:29: warning: 'point.x' may be used uninitialized in this function [-Wmaybe-uninitialized] + 106 | distance = sqrt(pow((point.x-res.x),2)+pow((point.y-res.y),2)+pow((point.z-res.z),2)); + | ~~~~~^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../utils/dpstring.cpp:5: @@ -17616,6 +17664,10 @@ ../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); } | ~~^~~~~~~~~~~~~ +../libfits/cube.c: In function 'interpol1d': +../libfits/cube.c:254:121: warning: 'selected.w' may be used uninitialized in this function [-Wmaybe-uninitialized] + 254 | mycube[index(dim,(unsigned short )igndata[i].x,(unsigned short )igndata[i].y,(unsigned short )igndata[i].z)] = selected.w; + | ~~~~~~~~^~ ../dpuser/dpuserAST.h: In constructor 'statementNode::statementNode(ASTNode*)': ../dpuser/dpuserAST.h:272:6: warning: 'statementNode::id' will be initialized after [-Wreorder] 272 | int id; @@ -17668,20 +17720,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -../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; - | ~~~~~~~~^~ -../libfits/cube.c:106:52: warning: 'point.y' may be used uninitialized in this function [-Wmaybe-uninitialized] - 106 | distance = sqrt(pow((point.x-res.x),2)+pow((point.y-res.y),2)+pow((point.z-res.z),2)); - | ~~~~~^~ -../libfits/cube.c:106:75: warning: 'point.z' may be used uninitialized in this function [-Wmaybe-uninitialized] - 106 | distance = sqrt(pow((point.x-res.x),2)+pow((point.y-res.y),2)+pow((point.z-res.z),2)); - | ~~~~~^~ -../libfits/cube.c:106:29: warning: 'point.x' may be used uninitialized in this function [-Wmaybe-uninitialized] - 106 | distance = sqrt(pow((point.x-res.x),2)+pow((point.y-res.y),2)+pow((point.z-res.z),2)); - | ~~~~~^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpheader.o ../libfits/dpheader.cpp ../utils/dpstring.cpp: In member function 'int dpString::contains(char)': ../utils/dpstring.cpp:89:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 89 | for (i = 0; i < size(); i++) if (c_str()[i] == c) rv++; @@ -17794,10 +17832,14 @@ ../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; | ~~~^~~~~~~~~ -../libfits/cube.c: In function 'interpol1d': -../libfits/cube.c:254:121: warning: 'selected.w' may be used uninitialized in this function [-Wmaybe-uninitialized] - 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpheader.o ../libfits/dpheader.cpp +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; + | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits.o ../libfits/fits.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../utils/dpstringlist.cpp:10: @@ -17929,18 +17971,10 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits.o ../libfits/fits.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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_cube.o ../libfits/fits_cube.cpp ../libfits/fits.cpp:192: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 192 | #pragma omp parallel for | @@ -17983,7 +18017,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_dpl.o ../libfits/fits_dpl.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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: @@ -18061,6 +18095,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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)) | @@ -18170,7 +18205,6 @@ 1999 | #define COLLAPSEACTION(source,dest) if((source)!=ignore){sortdata[counter]=(source);counter++;} | 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_exc.o ../libfits/fits_exc.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_file.o ../libfits/fits_file.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -18263,6 +18297,16 @@ ../libfits/3d_stuff.cpp:197:21: warning: zero-length gnu_printf format string [-Wformat-zero-length] 197 | sprintf(crtype, ""); | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_file.o ../libfits/fits_file.cpp +../libfits/3d_stuff.cpp: In function 'bool norm3d(Fits&, const char*)': +../libfits/3d_stuff.cpp:137:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 137 | for (i = 0; i < 600; i++) fscanf(fd, "%f %f\n", &w[i], &v[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../libfits/3d_stuff.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; + | ^~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_filters.o ../libfits/fits_filters.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, @@ -18373,16 +18417,6 @@ ../libfits/dpheader.cpp:991:12: warning: unused variable 'l' [-Wunused-variable] 991 | int i, l; | ^ -../libfits/3d_stuff.cpp: In function 'bool norm3d(Fits&, const char*)': -../libfits/3d_stuff.cpp:137:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 137 | for (i = 0; i < 600; i++) fscanf(fd, "%f %f\n", &w[i], &v[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../libfits/3d_stuff.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; - | ^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, @@ -18398,6 +18432,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, @@ -18471,229 +18506,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 file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/fits_cube.cpp:28: -../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_cube.cpp:28: -../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/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 ../libfits/fits_cube.cpp:28: -../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_cube.cpp:28: -../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_cube.cpp: In function 'bool cube_avg(const char*, Fits&, int, int)': -../libfits/fits_cube.cpp:123:27: warning: variable 'status' set but not used [-Wunused-but-set-variable] - 123 | int m, nfiles, numfiles, status; - | ^~~~~~ -../libfits/fits_cube.cpp: In function 'bool cube_avg(const char*, Fits&, double)': -../libfits/fits_cube.cpp:178:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] - 178 | int m, status; - | ^~~~~~ -../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; - | ^ -../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; - | ^~~~~~~~ -../libfits/fits_cube.cpp: In member function 'bool Fits::wsastat(const char*, int, int, float, int, int, Fits*, Fits*, Fits*, Fits*, Fits*, Fits*)': -../libfits/fits_cube.cpp:1119:15: warning: variable 'first' set but not used [-Wunused-but-set-variable] - 1119 | int i, c, n, first, doit; - | ^~~~~ -../libfits/fits_cube.cpp: In function 'bool cube_median(char*, Fits&, int, int)': -../libfits/fits_cube.cpp:1213:24: warning: unused parameter 'fname' [-Wunused-parameter] - 1213 | bool cube_median(char *fname, Fits & result, int first, int last) - | ~~~~~~^~~~~ -../libfits/fits_cube.cpp:1213:38: warning: unused parameter 'result' [-Wunused-parameter] - 1213 | bool cube_median(char *fname, Fits & result, int first, int last) - | ~~~~~~~^~~~~~ -../libfits/fits_cube.cpp:1213:50: warning: unused parameter 'first' [-Wunused-parameter] - 1213 | bool cube_median(char *fname, Fits & result, int first, int last) - | ~~~~^~~~~ -../libfits/fits_cube.cpp:1213:61: warning: unused parameter 'last' [-Wunused-parameter] - 1213 | bool cube_median(char *fname, Fits & result, int first, int last) - | ~~~~^~~~ -../libfits/fits_cube.cpp: In member function 'bool Fits::CubeMedian(const char*, double)': -../libfits/fits_cube.cpp:1620:30: warning: variable 'numfiles' set but not used [-Wunused-but-set-variable] - 1620 | int i, j, m, nfiles, nrows, numfiles, k; - | ^~~~~~~~ -../libfits/fits_cube.cpp: In member function 'bool Fits::CubeQuantile(const char*, double)': -../libfits/fits_cube.cpp:1734:37: warning: variable 'numfiles' set but not used [-Wunused-but-set-variable] - 1734 | int i, j, m, nfiles, nrows, numfiles, k; - | ^~~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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_dpl.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 *) { } - | ^ -../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_dpl.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_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] - 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } - | ^ -In file included from ../libfits/fits_dpl.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.cpp: In function 'void getFitsFile(char*, Fits&)': +../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); + | ~~~~~^~~~~~~~~~~~~ ../libfits/fits_funcs.cpp:31: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 31 | #pragma omp parallel for | @@ -18841,30 +18663,12 @@ ../libfits/fits_funcs.cpp:824: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 824 | #pragma omp parallel for | -../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; - | ^ -../libfits/fits.cpp: In function 'void getFitsFile(char*, Fits&)': -../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 ../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; + | ^~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_ops.o ../libfits/fits_ops.cpp -../libfits/fits_dpl.cpp: In member function 'void Fits::dpl_apply(char*)': -../libfits/fits_dpl.cpp:96:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 96 | fscanf(fd, "%6i", &imax); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -../libfits/fits_dpl.cpp:99:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 99 | fscanf(fd, "%4i %4i %1i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i", - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 100 | &deadlist[1][i], &deadlist[2][i], &deadlist[3][i], &deadlist[4][i], &deadlist[5][i], - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 101 | &deadlist[6][i], &deadlist[7][i], &deadlist[8][i], &deadlist[9][i], &deadlist[10][i], - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 102 | &deadlist[11][i], &deadlist[12][i], &deadlist[13][i], &deadlist[14][i], &deadlist[15][i], - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 103 | &deadlist[16][i], &deadlist[17][i], &deadlist[18][i], &deadlist[19][i]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../libfits/dpheader.cpp:15: In function 'char* strncpy(char*, const char*, size_t)', @@ -18876,16 +18680,95 @@ ../libfits/dpheader.cpp:867:30: note: length computed here 867 | strncpy(key, work, strlen(work) + 1); | ~~~~~~^~~~~~ -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; - | ^~ -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; - | ^~ +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_cube.cpp:28: +../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_cube.cpp:28: +../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_cube.cpp:28: +../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_cube.cpp:28: +../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_procs.o ../libfits/fits_procs.cpp In file included from /usr/include/string.h:495, from ../libfits/dpheader.cpp:15: In function 'char* strncat(char*, const char*, size_t)', @@ -18893,6 +18776,14 @@ /usr/include/x86_64-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 function 'bool cube_avg(const char*, Fits&, int, int)': +../libfits/fits_cube.cpp:123:27: warning: variable 'status' set but not used [-Wunused-but-set-variable] + 123 | int m, nfiles, numfiles, status; + | ^~~~~~ +../libfits/fits_cube.cpp: In function 'bool cube_avg(const char*, Fits&, double)': +../libfits/fits_cube.cpp:178:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] + 178 | int m, status; + | ^~~~~~ 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/x86_64-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] @@ -18903,6 +18794,31 @@ /usr/include/x86_64-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::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; + | ^ +../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; + | ^~~~~~~~ +../libfits/fits_cube.cpp: In member function 'bool Fits::wsastat(const char*, int, int, float, int, int, Fits*, Fits*, Fits*, Fits*, Fits*, Fits*)': +../libfits/fits_cube.cpp:1119:15: warning: variable 'first' set but not used [-Wunused-but-set-variable] + 1119 | int i, c, n, first, doit; + | ^~~~~ +../libfits/fits_cube.cpp: In function 'bool cube_median(char*, Fits&, int, int)': +../libfits/fits_cube.cpp:1213:24: warning: unused parameter 'fname' [-Wunused-parameter] + 1213 | bool cube_median(char *fname, Fits & result, int first, int last) + | ~~~~~~^~~~~ +../libfits/fits_cube.cpp:1213:38: warning: unused parameter 'result' [-Wunused-parameter] + 1213 | bool cube_median(char *fname, Fits & result, int first, int last) + | ~~~~~~~^~~~~~ +../libfits/fits_cube.cpp:1213:50: warning: unused parameter 'first' [-Wunused-parameter] + 1213 | bool cube_median(char *fname, Fits & result, int first, int last) + | ~~~~^~~~~ +../libfits/fits_cube.cpp:1213:61: warning: unused parameter 'last' [-Wunused-parameter] + 1213 | bool cube_median(char *fname, Fits & result, int first, int last) + | ~~~~^~~~ 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/x86_64-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] @@ -18918,6 +18834,14 @@ /usr/include/x86_64-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::CubeMedian(const char*, double)': +../libfits/fits_cube.cpp:1620:30: warning: variable 'numfiles' set but not used [-Wunused-but-set-variable] + 1620 | int i, j, m, nfiles, nrows, numfiles, k; + | ^~~~~~~~ +../libfits/fits_cube.cpp: In member function 'bool Fits::CubeQuantile(const char*, double)': +../libfits/fits_cube.cpp:1734:37: warning: variable 'numfiles' set but not used [-Wunused-but-set-variable] + 1734 | int i, j, m, nfiles, nrows, numfiles, k; + | ^~~~~~~~ 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/x86_64-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] @@ -18933,7 +18857,28 @@ /usr/include/x86_64-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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_procs.o ../libfits/fits_procs.cpp +In file included from /usr/include/string.h:495, + from ../libfits/fits.cpp:19: +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'bool Fits::copy(const Fits&)' at ../libfits/fits.cpp:345:12: +/usr/include/x86_64-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, + from ../libfits/fits_dpl.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 *) { } + | ^ +../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) { } + | ~~~~~~~~~~~~^~~~~~ ../libfits/fits_ops.cpp:42: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 42 | #pragma omp parallel for | @@ -19369,6 +19314,11 @@ ../libfits/fits_ops.cpp:2142: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 2142 | #pragma omp parallel for private(f,z) | +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'void Fits::CopyHeader(const Fits&)' at ../libfits/dpheader.cpp:832:10: +/usr/include/x86_64-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)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libfits/fits_ops.cpp:2149: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 2149 | #pragma omp parallel for private(f,z) | @@ -19429,24 +19379,79 @@ ../libfits/fits_ops.cpp:2417: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 2417 | #pragma omp parallel for private(y,z) | -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'void Fits::CopyHeader(const Fits&)' at ../libfits/dpheader.cpp:832:10: -/usr/include/x86_64-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 /usr/include/string.h:495, - from ../libfits/fits.cpp:19: -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'bool Fits::copy(const Fits&)' at ../libfits/fits.cpp:345:12: -/usr/include/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_range.o ../libfits/fits_range.cpp +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/fits_dpl.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_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] + 161 | FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; } + | ^ +In file included from ../libfits/fits_dpl.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, @@ -19526,6 +19531,10 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ +../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 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] @@ -19545,6 +19554,7 @@ ../libfits/fits_file.cpp:147:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | return fits_error("Could not open file for reading"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_range.o ../libfits/fits_range.cpp ../libfits/fits_file.cpp: In member function 'bool Fits::CreateFITS(const char*)': ../libfits/fits_file.cpp:166:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | return fits_error("Could not open file for writing"); @@ -19597,21 +19607,6 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../libfits/fits_filters.cpp:18: -../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_exc.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] @@ -19627,70 +19622,6 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../libfits/fits_filters.cpp:18: -../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/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, from ../libfits/fits_exc.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] @@ -19718,11 +19649,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); } | ~~^~~~~~~~~~~~~ -In file included from ../libfits/fits_filters.cpp:18: -../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; } - | ^ ../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; @@ -19733,10 +19659,6 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -In file included from ../libfits/fits_filters.cpp:18: -../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/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; @@ -19761,6 +19683,21 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ +../libfits/fits_dpl.cpp: In member function 'void Fits::dpl_apply(char*)': +../libfits/fits_dpl.cpp:96:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 96 | fscanf(fd, "%6i", &imax); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +../libfits/fits_dpl.cpp:99:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 99 | fscanf(fd, "%4i %4i %1i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i %4i", + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 100 | &deadlist[1][i], &deadlist[2][i], &deadlist[3][i], &deadlist[4][i], &deadlist[5][i], + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 101 | &deadlist[6][i], &deadlist[7][i], &deadlist[8][i], &deadlist[9][i], &deadlist[10][i], + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 102 | &deadlist[11][i], &deadlist[12][i], &deadlist[13][i], &deadlist[14][i], &deadlist[15][i], + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 103 | &deadlist[16][i], &deadlist[17][i], &deadlist[18][i], &deadlist[19][i]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libfits/fits_exc.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] @@ -19770,116 +19707,44 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_red.o ../libfits/fits_red.cpp ../libfits/fits_exc.cpp: In member function 'bool Fits::enlarge(int, int)': ../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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libfits/fits_file.cpp: In member function 'bool Fits::WriteFITSExtension(const char*)': -../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: +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; | ^~ +../libfits/fits_file.cpp: In member function 'bool Fits::WriteFITSExtension(const char*)': +../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); + | ~~~~~^~~~~~~~~~~~~ ../libfits/fits_exc.cpp:55:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 55 | sum /= (double)isum; | ~~~~^~~~~~~~~~~~~~~ ../libfits/fits_exc.cpp:57:9: note: here 57 | case 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o JulianDay.o ../libfits/JulianDay.cpp +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; + | ^~ In file included from ../libfits/fits_exc.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; | ^~ -../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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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, - 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 ../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, - from ../libfits/fits_mem.cpp:13: + from ../libfits/fits_filters.cpp:18: ../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 *) { } @@ -19894,11 +19759,19 @@ 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: + from ../libfits/fits_filters.cpp:18: ../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); } | ~~^~~~~~~~~~~~~ +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 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); } @@ -19913,6 +19786,13 @@ ../dpuser/dpuserAST.h:273:2: warning: when initialized here [-Wreorder] 273 | statementNode(ASTNode *s) : id(0), stmt(s) { } | ^~~~~~~~~~~~~ +../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); } @@ -19958,7 +19838,7 @@ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../libfits/fits_mem.cpp:13: + 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); } @@ -19981,6 +19861,15 @@ ../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 ../libfits/fits_filters.cpp:18: +../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_filters.cpp:18: +../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/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); } @@ -19995,19 +19884,10 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ -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; } - | ^ ../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; | ^~~~~~ -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(); } - | ^~~~~ ../dpuser/dpuserAST.h:374:34: warning: 'ASTNode* forloopNode::commands' [-Wreorder] 374 | ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL; | ^~~~~~~~ @@ -20028,21 +19908,15 @@ ../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_mem.cpp:13: +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_mem.cpp:13: +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/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' - | -../libfits/JulianDay.cpp:519: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] - 519 | #pragma warning (default: 4244) - | ../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)); @@ -20052,13 +19926,6 @@ ../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' 33 | dpComplex(const dpComplex &); | ^~~~~~~~~ -../libfits/fits_mem.cpp: In member function 'bool Fits::allocateMemory(dpint64)': -../libfits/fits_mem.cpp:76:24: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] - 76 | if (bytesAllocated == memNecessary) return TRUE; - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -../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"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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)); @@ -20149,83 +20016,71 @@ ../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' 33 | dpComplex(const dpComplex &); | ^~~~~~~~~ -../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; - | ^~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator=(JDStruct)': -../libfits/JulianDay.cpp:135:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 135 | return *this; - | ^~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+(const CJulianDay&)': -../libfits/JulianDay.cpp:145:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 145 | return NewJD; - | ^~~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+(JDStruct)': -../libfits/JulianDay.cpp:155:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 155 | return NewJD; - | ^~~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+=(const CJulianDay&)': -../libfits/JulianDay.cpp:166:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 166 | return *this; - | ^~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+=(JDStruct)': -../libfits/JulianDay.cpp:177:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 177 | return *this; - | ^~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-(const CJulianDay&)': -../libfits/JulianDay.cpp:187:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 187 | return NewJD; - | ^~~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-(JDStruct)': -../libfits/JulianDay.cpp:197:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 197 | return NewJD; - | ^~~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-=(const CJulianDay&)': -../libfits/JulianDay.cpp:208:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 208 | return *this; - | ^~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-=(JDStruct)': -../libfits/JulianDay.cpp:219:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] - 219 | return *this; - | ^~~~ -../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' - 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) - | ^~~~~~~~~~ -../libfits/JulianDay.cpp: In member function 'void CJulianDay::SetJD(USHORT, USHORT, long int, USHORT, USHORT, double)': -../libfits/JulianDay.cpp:427:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 427 | reform = (lYear == 1582) && ((usMonth == 10) && (usDay > 15) || (usMonth > 10)) || (lYear > 1582); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -../libfits/JulianDay.cpp:427:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 427 | reform = (lYear == 1582) && ((usMonth == 10) && (usDay > 15) || (usMonth > 10)) || (lYear > 1582); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); @@ -20241,11 +20096,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o math_utils.o ../libfits/math_utils.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, - from ../libfits/fits_ops.cpp:16: + from ../libfits/fits_mem.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 *) { } @@ -20257,10 +20111,11 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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, - from ../libfits/fits_ops.cpp:16: + from ../libfits/fits_mem.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); } @@ -20321,63 +20176,26 @@ ../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_ops.cpp:16: +In file included from ../libfits/fits_mem.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_ops.cpp:16: +In file included from ../libfits/fits_mem.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_ops.cpp: In member function 'bool Fits::power(const double&)': -../libfits/fits_ops.cpp:225:66: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 225 | cr = complex_pow(dpComplex(cdata[i].r, cdata[i].i), a); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_ops.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../libfits/fits_ops.cpp: In member function 'bool Fits::ipower(const double&)': -../libfits/fits_ops.cpp:277:57: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 277 | cr = complex_pow(a, dpComplex(cdata[i].r, cdata[i].i)); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_ops.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ -../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; - | ^~~~ -../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; - | ^~~~ -../libfits/fits_ops.cpp: In member function 'bool Fits::mul2(const Fits&)': -../libfits/fits_ops.cpp:1552:7: warning: unused variable 'loop' [-Wunused-variable] - 1552 | 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpComplex.o ../libfits/dpComplex.cpp -../libfits/fits_ops.cpp: In member function 'bool Fits::div2(const Fits&)': -../libfits/fits_ops.cpp:2111:7: warning: unused variable 'loop' [-Wunused-variable] - 2111 | bool loop = FALSE; - | ^~~~ -../libfits/fits_ops.cpp: In member function 'Fits& Fits::operator^=(const dpComplex&)': -../libfits/fits_ops.cpp:2871:62: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] - 2871 | cr = complex_pow(dpComplex(cdata[i].r, cdata[i].i), r); - | ^ -In file included from ../libfits/fits.h:32, - from ../libfits/fits_ops.cpp:16: -../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' - 33 | dpComplex(const dpComplex &); - | ^~~~~~~~~ +../libfits/fits_mem.cpp: In member function 'bool Fits::allocateMemory(dpint64)': +../libfits/fits_mem.cpp:76:24: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] + 76 | if (bytesAllocated == memNecessary) return TRUE; + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +../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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: + from ../libfits/fits_ops.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 *) { } @@ -20392,7 +20210,7 @@ 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: + from ../libfits/fits_ops.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); } @@ -20429,6 +20247,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o JulianDay.o ../libfits/JulianDay.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; @@ -20453,33 +20272,34 @@ ../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_range.cpp:13: +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 *) { } + | ^ +../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 ../libfits/fits_ops.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_range.cpp:13: +In file included from ../libfits/fits_ops.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_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 ../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 *) { } @@ -20517,6 +20337,15 @@ ../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); } | ~~^~~~~~~~~~~~~ +../libfits/fits_ops.cpp: In member function 'bool Fits::power(const double&)': +../libfits/fits_ops.cpp:225:66: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 225 | cr = complex_pow(dpComplex(cdata[i].r, cdata[i].i), a); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_ops.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ ../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); } @@ -20531,6 +20360,15 @@ ../dpuser/dpuserAST.h:311:5: warning: when initialized here [-Wreorder] 311 | extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { } | ^~~~~~~~~~~~~~~~ +../libfits/fits_ops.cpp: In member function 'bool Fits::ipower(const double&)': +../libfits/fits_ops.cpp:277:57: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 277 | cr = complex_pow(a, dpComplex(cdata[i].r, cdata[i].i)); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_ops.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ ../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; @@ -20555,6 +20393,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/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); } + | ~~^~~~~~~~~~~~~ +../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; + | ^~~~ +../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) { } + | ^~~~~~~~~~~~~~~~ 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] @@ -20564,6 +20446,43 @@ ../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/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_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; + | ^~~~ +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 'void Fits::rotateWCS(double, double, double)': ../libfits/fits_procs.cpp:29:10: warning: unused variable 'x1' [-Wunused-variable] 29 | double x1, x2; @@ -20571,16 +20490,41 @@ ../libfits/fits_procs.cpp:29:14: warning: unused variable 'x2' [-Wunused-variable] 29 | double x1, x2; | ^~ +../libfits/fits_ops.cpp: In member function 'bool Fits::mul2(const Fits&)': +../libfits/fits_ops.cpp:1552:7: warning: unused variable 'loop' [-Wunused-variable] + 1552 | bool loop = FALSE; + | ^~~~ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fitting.o ../libfits/fitting.cpp -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_ops.cpp: In member function 'bool Fits::div2(const Fits&)': +../libfits/fits_ops.cpp:2111:7: warning: unused variable 'loop' [-Wunused-variable] + 2111 | bool loop = FALSE; + | ^~~~ +../libfits/fits_ops.cpp: In member function 'Fits& Fits::operator^=(const dpComplex&)': +../libfits/fits_ops.cpp:2871:62: warning: implicitly-declared 'dpComplex& dpComplex::operator=(const dpComplex&)' is deprecated [-Wdeprecated-copy] + 2871 | cr = complex_pow(dpComplex(cdata[i].r, cdata[i].i), r); + | ^ +In file included from ../libfits/fits.h:32, + from ../libfits/fits_ops.cpp:16: +../libfits/dpComplex.h:33:2: note: because 'dpComplex' has user-provided 'dpComplex::dpComplex(const dpComplex&)' + 33 | dpComplex(const dpComplex &); + | ^~~~~~~~~ +../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++) { + | ~~^~~~~~~~~~~~~~~~~~~~~ ../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; @@ -20599,6 +20543,109 @@ ../libfits/fits_procs.cpp:3017:34: warning: unused variable 'd' [-Wunused-variable] 3017 | float *xshift, *yshift, *scale, d, xmin, xmax, ymin, ymax; | ^ +../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' + | +../libfits/JulianDay.cpp:519: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] + 519 | #pragma warning (default: 4244) + | +../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; + | ^~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator=(JDStruct)': +../libfits/JulianDay.cpp:135:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 135 | return *this; + | ^~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+(const CJulianDay&)': +../libfits/JulianDay.cpp:145:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 145 | return NewJD; + | ^~~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+(JDStruct)': +../libfits/JulianDay.cpp:155:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 155 | return NewJD; + | ^~~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+=(const CJulianDay&)': +../libfits/JulianDay.cpp:166:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 166 | return *this; + | ^~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator+=(JDStruct)': +../libfits/JulianDay.cpp:177:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 177 | return *this; + | ^~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-(const CJulianDay&)': +../libfits/JulianDay.cpp:187:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 187 | return NewJD; + | ^~~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-(JDStruct)': +../libfits/JulianDay.cpp:197:9: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 197 | return NewJD; + | ^~~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-=(const CJulianDay&)': +../libfits/JulianDay.cpp:208:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 208 | return *this; + | ^~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'CJulianDay CJulianDay::operator-=(JDStruct)': +../libfits/JulianDay.cpp:219:10: warning: implicitly-declared 'constexpr CJulianDay::CJulianDay(const CJulianDay&)' is deprecated [-Wdeprecated-copy] + 219 | return *this; + | ^~~~ +../libfits/JulianDay.cpp:122:12: note: because 'CJulianDay' has user-provided 'CJulianDay CJulianDay::operator=(const CJulianDay&)' + 122 | CJulianDay CJulianDay::operator=(const CJulianDay& CJD) + | ^~~~~~~~~~ +../libfits/JulianDay.cpp: In member function 'void CJulianDay::SetJD(USHORT, USHORT, long int, USHORT, USHORT, double)': +../libfits/JulianDay.cpp:427:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 427 | reform = (lYear == 1582) && ((usMonth == 10) && (usDay > 15) || (usMonth > 10)) || (lYear > 1582); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +../libfits/JulianDay.cpp:427:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 427 | reform = (lYear == 1582) && ((usMonth == 10) && (usDay > 15) || (usMonth > 10)) || (lYear > 1582); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o math_utils.o ../libfits/math_utils.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dpComplex.o ../libfits/dpComplex.cpp +../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) { + | ^~~~ +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; + | ^~ +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; + | ^~ +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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fitting.o ../libfits/fitting.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o voronoi.o ../libfits/voronoi.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, @@ -20615,6 +20662,7 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_logic.o ../libfits/fits_logic.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -20679,13 +20727,6 @@ ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type] 403 | dpuserType evaluate() { body->evaluate(); } | ^ -../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) { - | ^~~~ In file included from ../libfits/fits_red.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] @@ -20741,18 +20782,57 @@ | | | | int long int | %li -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; - | ^~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fits_logic.o ../libfits/fits_logic.cpp 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] 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, + from ../libfits/math_utils.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) { } + | ~~~~~~~~~~~~^~~~~~ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o astrolib.o ../libfits/astrolib.cpp +In file included from ../dpuser/functions.h:9, + from ../dpuser/dpuser_utils.h:51, + from ../libfits/fits.h:30, + from ../libfits/math_utils.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); } + | ~~^~~~~~~~~~~~~ ../libfits/fits_logic.cpp:15: warning: "LOGICACTION" redefined 15 | #define LOGICACTION >= | @@ -20831,53 +20911,6 @@ ../libfits/fits_logic.cpp:86: note: this is the location of the previous definition 86 | #define LOGICACTION && | -/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 -In file included from ../dpuser/functions.h:9, - from ../dpuser/dpuser_utils.h:51, - from ../libfits/fits.h:30, - from ../libfits/math_utils.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/math_utils.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; @@ -20925,8 +20958,11 @@ ../libfits/math_utils.cpp:359:31: warning: variable 'error' set but not used [-Wunused-but-set-variable] 359 | double *A[11], angle, scale, error; | ^~~~~ +/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_QFitsViewRes.o qrc_QFitsViewRes.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -20981,48 +21017,6 @@ ../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/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21049,6 +21043,24 @@ ../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 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 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); } @@ -21083,30 +21095,65 @@ ../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 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/fitting.h:4, - from ../libfits/fitting.cpp:8: +../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/voronoi.cpp:1: ../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/fitting.h:4, - from ../libfits/fitting.cpp:8: +In file included from ../libfits/voronoi.cpp:1: ../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/voronoi.cpp:1: +In file included from ../libfits/fitting.h:4, + from ../libfits/fitting.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 ../libfits/voronoi.cpp:1: +In file included from ../libfits/fitting.h:4, + from ../libfits/fitting.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(); } | ^~~~~ +../libfits/voronoi.cpp: In function 'void bin2d_reassign_bad_bins(Fits&, Fits&, Fits&, Fits&, double, Fits&, Fits&, Fits&)': +../libfits/voronoi.cpp:205:68: warning: unused parameter 'noise' [-Wunused-parameter] + 205 | void bin2d_reassign_bad_bins(Fits &x, Fits &y, Fits &signal, Fits &noise, double targetSN, Fits &cclass, Fits &xnode, Fits &ynode) { + | ~~~~~~^~~~~ +../libfits/voronoi.cpp:205:82: warning: unused parameter 'targetSN' [-Wunused-parameter] + 205 | void bin2d_reassign_bad_bins(Fits &x, Fits &y, Fits &signal, Fits &noise, double targetSN, Fits &cclass, Fits &xnode, Fits &ynode) { + | ~~~~~~~^~~~~~~~ +../libfits/voronoi.cpp: In function 'void bin2d_cvt_equal_mass(Fits&, Fits&, Fits&, Fits&, Fits&, Fits&, int*)': +../libfits/voronoi.cpp:291:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 291 | for (j = 0; j < npixels; j++) { + | ~~^~~~~~~~~ In file included from ../libfits/fitting.cpp:9: ../libfits/../dpuser/mpfit/mpfitAST.h: In destructor 'mpfitunaryMinusNode::~mpfitunaryMinusNode()': ../libfits/../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] @@ -21144,17 +21191,7 @@ ../libfits/../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; } | ^~~~~~~~~~ -../libfits/voronoi.cpp: In function 'void bin2d_reassign_bad_bins(Fits&, Fits&, Fits&, Fits&, double, Fits&, Fits&, Fits&)': -../libfits/voronoi.cpp:205:68: warning: unused parameter 'noise' [-Wunused-parameter] - 205 | void bin2d_reassign_bad_bins(Fits &x, Fits &y, Fits &signal, Fits &noise, double targetSN, Fits &cclass, Fits &xnode, Fits &ynode) { - | ~~~~~~^~~~~ -../libfits/voronoi.cpp:205:82: warning: unused parameter 'targetSN' [-Wunused-parameter] - 205 | void bin2d_reassign_bad_bins(Fits &x, Fits &y, Fits &signal, Fits &noise, double targetSN, Fits &cclass, Fits &xnode, Fits &ynode) { - | ~~~~~~~^~~~~~~~ -../libfits/voronoi.cpp: In function 'void bin2d_cvt_equal_mass(Fits&, Fits&, Fits&, Fits&, Fits&, Fits&, int*)': -../libfits/voronoi.cpp:291:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 291 | for (j = 0; j < npixels; j++) { - | ~~^~~~~~~~~ +/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsMainWindow.h -o moc_QFitsMainWindow.cpp ../libfits/fitting.cpp: In function 'double polyfit1d(Fits&, const Fits&, const Fits&, const Fits&, int)': ../libfits/fitting.cpp:39:9: warning: unused variable 'nn' [-Wunused-variable] 39 | int nn = 0; @@ -21334,7 +21371,6 @@ ../libfits/fitting.cpp:3530:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'dpint64' {aka 'long long int'} [-Wsign-compare] 3530 | if (mpfit_sorted_variables.size() != estimate.Naxis(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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_QFitsViewRes.o qrc_QFitsViewRes.cpp ../libfits/fitting.cpp:3517:12: warning: unused variable 'f' [-Wunused-variable] 3517 | double f; | ^ @@ -21357,12 +21393,7 @@ ../libfits/fitting.cpp:3648:12: warning: unused variable 'v' [-Wunused-variable] 3648 | double v, f; | ^ -/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsMainWindow.h -o moc_QFitsMainWindow.cpp -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; - | ^~ +/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsMainView.h -o moc_QFitsMainView.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21451,6 +21482,11 @@ ../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/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; + | ^~ ../libfits/fits_logic.cpp: In member function 'long unsigned int Fits::where(Fits&, const char*, double)': ../libfits/fits_logic.cpp:152:18: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] 152 | for (n = 0; n < Nelements(); n++) { @@ -21521,14 +21557,20 @@ ../libfits/fits_logic.cpp:326:16: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'dpint64' {aka 'long long int'} [-Wsign-compare] 326 | for (i = 0; i < Nelements(); i++) { | ~~^~~~~~~~~~~~~ -/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsBuffers/QFitsBaseBuffer.h -o moc_QFitsBaseBuffer.cpp In file included from ../libfits/fitting.h:4, from ../libfits/fitting.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; | ^~ -/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsBuffers/QFitsSingleBuffer.h -o moc_QFitsSingleBuffer.cpp +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/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsBuffers/QFitsMultiBuffer.h -o moc_QFitsMultiBuffer.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21545,11 +21587,6 @@ ../dpuser/dpuserAST.h:37:39: warning: unused parameter 'option' [-Wunused-parameter] 37 | virtual ASTNode *append(std::string option) { } | ~~~~~~~~~~~~^~~~~~ -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; - | ^~ In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21655,16 +21692,14 @@ ../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++) { | ~~~^~~~~~~ -/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsWidgets/QFitsBaseWidget.h -o moc_QFitsBaseWidget.cpp 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/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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidgetWiregrid.h -o moc_QFitsWidgetWiregrid.cpp @@ -21694,25 +21729,26 @@ /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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QPgplot.h -o moc_QPgplot.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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsWidgets/QFitsWidget3D.h -o moc_QFitsWidget3D.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/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include QFitsViews/QFitsView3D.h -o moc_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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsMainWindow.o moc_QFitsMainWindow.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsMainView.o moc_QFitsMainView.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); | ~~~~^~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsMainWindow.o moc_QFitsMainWindow.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsMainView.o moc_QFitsMainView.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsBaseBuffer.o moc_QFitsBaseBuffer.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsSingleBuffer.o moc_QFitsSingleBuffer.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); | ~~~~^~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsBaseBuffer.o moc_QFitsBaseBuffer.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsSingleBuffer.o moc_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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsMultiBuffer.o moc_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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsScroller.o moc_QFitsScroller.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsBaseWidget.o moc_QFitsBaseWidget.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); | ~~~~^~~~~~~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsScroller.o moc_QFitsScroller.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget1D.o moc_QFitsWidget1D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21729,7 +21765,6 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidget1D.o moc_QFitsWidget1D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21807,28 +21842,29 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidgetWiregrid.o moc_QFitsWidgetWiregrid.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidgetWiregrid.o moc_QFitsWidgetWiregrid.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsWidgetTable.o moc_QFitsWidgetTable.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsView2D.o moc_QFitsView2D.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -21932,7 +21968,6 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsTools.o moc_QFitsTools.cpp In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5, @@ -21943,6 +21978,7 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsCubeSpectrum.o moc_QFitsCubeSpectrum.cpp In file included from ../QFitsView/QFitsBuffers/QFitsMultiBuffer.h:5, from QFitsWidgets/QFitsWidgetTable.h:13, from moc_QFitsWidgetTable.cpp:10: @@ -21955,10 +21991,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_imred.o moc_imred.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22051,9 +22088,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(); } | ^~~~~ -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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QFitsViewingTools.o moc_QFitsViewingTools.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_qtdpuser.o moc_qtdpuser.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22146,7 +22182,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_qtdpuser.o moc_qtdpuser.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_qt_mainwindow.o moc_qt_mainwindow.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22163,7 +22199,6 @@ ../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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_qt_mainwindow.o moc_qt_mainwindow.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22243,6 +22278,7 @@ 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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_qt_mdichild.o moc_qt_mdichild.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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_tetrixboard.o moc_tetrixboard.cpp In file included from ../dpuser/functions.h:9, from ../dpuser/dpuser_utils.h:51, from ../libfits/fits.h:30, @@ -22335,7 +22371,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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-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/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_QPgplot.o moc_QPgplot.cpp @@ -23328,11 +23363,11 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'dpuser-doc' in '../dpuser-doc_4.0+dfsg-3_all.deb'. dpkg-deb: building package 'dpuser' in '../dpuser_4.0+dfsg-3_amd64.deb'. -dpkg-deb: building package 'qfitsview' in '../qfitsview_4.0+dfsg-3_amd64.deb'. dpkg-deb: building package 'dpuser-dbgsym' in '../dpuser-dbgsym_4.0+dfsg-3_amd64.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_amd64.deb'. +dpkg-deb: building package 'qfitsview' in '../qfitsview_4.0+dfsg-3_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../dpuser_4.0+dfsg-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -23340,12 +23375,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/130685/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/130685/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/3217613 and its subdirectories -I: Current time: Wed Feb 15 17:36:54 -12 2023 -I: pbuilder-time-stamp: 1676525814 +I: removing directory /srv/workspace/pbuilder/130685 and its subdirectories +I: Current time: Fri Jan 14 14:57:55 +14 2022 +I: pbuilder-time-stamp: 1642121875