Diff of the two buildlogs: -- --- b1/build.log 2023-08-04 22:02:48.350216275 +0000 +++ b2/build.log 2023-08-04 22:08:11.455577118 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Aug 4 09:58:49 -12 2023 -I: pbuilder-time-stamp: 1691186329 +I: Current time: Fri Sep 6 18:25:53 +14 2024 +I: pbuilder-time-stamp: 1725596753 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./oscar_1.2.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.D3cAnJt_/trustedkeys.kbx': General error -gpgv: Signature made Sun Dec 20 12:41:36 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.zSVNGXBo/trustedkeys.kbx': General error +gpgv: Signature made Mon Dec 21 14:41:36 2020 +14 gpgv: using RSA key 237A54B1028728BF00EF31F4D0EB762865FC5E36 gpgv: issuer "sergiodj@debian.org" gpgv: Can't check signature: No public key @@ -31,135 +31,166 @@ dpkg-source: info: applying 0002-Don-t-print-build-date.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/92692/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2102172/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 6 18:26 /bin/sh -> /bin/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/2102172/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2102172/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=15 ' - DISTRIBUTION='bullseye' - 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=16 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='71d2a00fadf34fc59d12110b8054d381' - 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='92692' - PS1='# ' - PS2='> ' + INVOCATION_ID=5ca03a04774e4acb96ba601dd45ffa0d + 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=2102172 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/r-b-build.4FsP6u6e/pbuilderrc_j95x --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4FsP6u6e/b1 --logfile b1/build.log oscar_1.2.0-1.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://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4FsP6u6e/pbuilderrc_zU6B --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4FsP6u6e/b2 --logfile b2/build.log oscar_1.2.0-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 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 Jan 20 2022 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 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 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 Jan 20 2022 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 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 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 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 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 Jul 6 21:24 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 Jan 20 2022 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 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/92692/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 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 Jan 21 2022 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 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 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 Jan 21 2022 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 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 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 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 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 9 Sep 6 18:26 sh -> /bin/bash + -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 Jan 21 2022 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 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2102172/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -409,7 +440,7 @@ Get: 197 http://deb.debian.org/debian bullseye/main amd64 qtattributionsscanner-qt5 amd64 5.15.2-5 [35.2 kB] Get: 198 http://deb.debian.org/debian bullseye/main amd64 qttools5-dev-tools amd64 5.15.2-5 [970 kB] Get: 199 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB] -Fetched 126 MB in 3s (39.0 MB/s) +Fetched 126 MB in 2s (73.9 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 ... 19707 files and directories currently installed.) @@ -1227,7 +1258,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/oscar-1.2.0/ && 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 > ../oscar_1.2.0-1_source.changes +I: user script /srv/workspace/pbuilder/2102172/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/2102172/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/oscar-1.2.0/ && 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 > ../oscar_1.2.0-1_source.changes dpkg-buildpackage: info: source package oscar dpkg-buildpackage: info: source version 1.2.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1265,7 +1300,7 @@ Info: creating stash file /build/oscar-1.2.0/_build/.qmake.stash make[1]: Leaving directory '/build/oscar-1.2.0' dh_auto_build -O--buildsystem=qmake -O--builddirectory=_build/ - cd _build && make -j15 + cd _build && make -j16 make[1]: Entering directory '/build/oscar-1.2.0/_build' cd oscar/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /build/oscar-1.2.0/oscar/oscar.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now' QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile Project MESSAGE: Platform is /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ @@ -1464,22 +1499,34 @@ g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gFooBar.o ../../oscar/Graphs/gFooBar.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gGraph.o ../../oscar/Graphs/gGraph.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gGraphView.o ../../oscar/Graphs/gGraphView.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o glcommon.o ../../oscar/Graphs/glcommon.cpp +In file included from ../../oscar/main.cpp:26: +../../oscar/logger.h: In constructor 'LogThread::LogThread()': +../../oscar/logger.h:24:73: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 24 | explicit LogThread() : QRunnable() { running = false; logtime.start(); connected = false; m_logFile = nullptr; m_logStream = nullptr; } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1, + from ../../oscar/logger.h:9, + from ../../oscar/main.cpp:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/newprofile.cpp:18: + from ../../oscar/preferencesdialog.h:18, + from ../../oscar/preferencesdialog.cpp:24: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ 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 ../../oscar/newprofile.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, + from ../../oscar/preferencesdialog.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o glcommon.o ../../oscar/Graphs/glcommon.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/Graphs/gFlagsLine.cpp:12: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -1494,106 +1541,84 @@ 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/exportcsv.cpp:15: + from ../../oscar/newprofile.cpp:18: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from ../../oscar/exportcsv.cpp:10: +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 ../../oscar/newprofile.cpp:10: /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 ../../oscar/main.cpp:26: -../../oscar/logger.h: In constructor 'LogThread::LogThread()': -../../oscar/logger.h:24:73: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 24 | explicit LogThread() : QRunnable() { running = false; logtime.start(); connected = false; m_logFile = nullptr; m_logStream = nullptr; } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1, - from ../../oscar/logger.h:9, - from ../../oscar/main.cpp:26: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here - 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); - | ^~~~~ -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/loader_plugins/zeo_loader.h:13, - from ../../oscar/mainwindow.cpp:42: +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gLineChart.o ../../oscar/Graphs/gLineChart.cpp +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/gGraph.h:22, + from ../../oscar/Graphs/gGraphView.h:39, + from ../../oscar/reports.h:11, + from ../../oscar/reports.cpp:17: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1, - from ../../oscar/mainwindow.cpp:10: +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 ../../oscar/reports.cpp:10: /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 ../../oscar/mainwindow.cpp:51: -../../oscar/logger.h: In constructor 'LogThread::LogThread()': -../../oscar/logger.h:24:73: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 24 | explicit LogThread() : QRunnable() { running = false; logtime.start(); connected = false; m_logFile = nullptr; m_logStream = nullptr; } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, - from ../../oscar/mainwindow.cpp:28: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here - 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); - | ^~~~~ -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/daily.h:25, - from ../../oscar/mainwindow.h:19, - from ../../oscar/checkupdates.cpp:26: +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/gGraph.h:22, + from ../../oscar/Graphs/gGraph.cpp:9: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedDataPointer:1, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkrequest.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkRequest:1, - from ../../oscar/checkupdates.cpp:10: +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1, + from ../../oscar/Graphs/gGraph.h:14, + from ../../oscar/Graphs/gGraph.cpp:9: /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 ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/gFooBar.h:12, - from ../../oscar/Graphs/gFooBar.cpp:9: +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/exportcsv.cpp:15: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QKeyEvent:1, - from ../../oscar/Graphs/layer.h:12, - from ../../oscar/Graphs/gFooBar.h:12, - from ../../oscar/Graphs/gFooBar.cpp:9: +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from ../../oscar/exportcsv.cpp:10: /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 ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/overview.cpp:20: + from ../../oscar/daily.h:25, + from ../../oscar/mainwindow.h:19, + from ../../oscar/checkupdates.cpp:26: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -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/qcalendarwidget.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, - from ../../oscar/overview.cpp:10: +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedDataPointer:1, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkrequest.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkRequest:1, + from ../../oscar/checkupdates.cpp:10: /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); | ^~~~~~~ @@ -1612,27 +1637,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); | ^~~~~~~ -../../oscar/exportcsv.cpp: In member function 'void ExportCSV::on_exportButton_clicked()': -../../oscar/exportcsv.cpp:255:74: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 255 | data += sep + QString().sprintf("%02i:%02i:%02i", h, m, s); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from ../../oscar/exportcsv.cpp:10: -/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); - | ^~~~~~~ -../../oscar/exportcsv.cpp:300:78: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 300 | data += sep + QString().sprintf("%02i:%02i:%02i", h, m, s); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1, - from ../../oscar/exportcsv.cpp:10: -/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 ../../oscar/SleepLib/session.h:23, from ../../oscar/sessionbar.h:17, from ../../oscar/sessionbar.cpp:16: @@ -1651,87 +1655,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 ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/gGraph.h:22, - from ../../oscar/Graphs/gGraphView.h:39, - from ../../oscar/reports.h:11, - from ../../oscar/reports.cpp:17: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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 ../../oscar/reports.cpp:10: -/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); - | ^~~~~~~ -../../oscar/checkupdates.cpp: In member function 'void CheckUpdates::checkForUpdates(bool)': -../../oscar/checkupdates.cpp:228:21: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 228 | readTimer.start(); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslcertificate.h:52, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslerror.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslsocket.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslconfiguration.h:62, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QSslConfiguration:1, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkaccessmanager.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkAccessManager:1, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkreply.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkReply:1, - from ../../oscar/checkupdates.cpp:11: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here - 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); - | ^~~~~ -../../oscar/checkupdates.cpp: In member function 'void CheckUpdates::replyFinished(QNetworkReply*)': -../../oscar/checkupdates.cpp:281:45: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 281 | elapsedTime = readTimer.elapsed() / 1000.0; - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslcertificate.h:52, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslerror.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslsocket.h:50, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslconfiguration.h:62, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QSslConfiguration:1, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkaccessmanager.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkAccessManager:1, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkreply.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkReply:1, - from ../../oscar/checkupdates.cpp:11: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here - 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; - | ^~~~~~~ -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/preferencesdialog.h:18, - from ../../oscar/preferencesdialog.cpp:24: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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/qframe.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, - from ../../oscar/preferencesdialog.cpp:10: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gLineChart.o ../../oscar/Graphs/gLineChart.cpp -../../oscar/mainwindow.cpp: In member function 'void MainWindow::SetupGUI()': -../../oscar/mainwindow.cpp:247:51: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] - 247 | qsrand(QDateTime::currentDateTime().toTime_t()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qtnetworkglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1, - from ../../oscar/mainwindow.cpp:10: -/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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/daily.h:25, from ../../oscar/daily.cpp:27: @@ -1749,35 +1672,26 @@ /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); | ^~~~~~~ -../../oscar/mainwindow.cpp: In member function 'QList MainWindow::detectCPAPCards()': -../../oscar/mainwindow.cpp:887:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 887 | time.start(); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, - from ../../oscar/mainwindow.cpp:28: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here - 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); - | ^~~~~ -../../oscar/mainwindow.cpp:941:29: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 941 | int el=time.elapsed(); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, - from ../../oscar/mainwindow.cpp:28: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here - 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; - | ^~~~~~~ -../../oscar/mainwindow.cpp: In member function 'QList MainWindow::selectCPAPDataCards(const QString&)': -../../oscar/mainwindow.cpp:1003:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 1003 | time.start(); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, - from ../../oscar/mainwindow.cpp:28: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here - 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); - | ^~~~~ +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/gFooBar.h:12, + from ../../oscar/Graphs/gFooBar.cpp:9: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QKeyEvent:1, + from ../../oscar/Graphs/layer.h:12, + from ../../oscar/Graphs/gFooBar.h:12, + from ../../oscar/Graphs/gFooBar.cpp:9: +/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); + | ^~~~~~~ ../../oscar/reports.cpp: In static member function 'static void Report::PrintReport(gGraphView*, QString, QDate)': ../../oscar/reports.cpp:81:47: warning: 'void QPrinter::setOrientation(QPrinter::Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 81 | printer->setOrientation(QPrinter::Portrait); @@ -1808,22 +1722,41 @@ 259 | QRect pageRect() const; | ^~~~~~~~ g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gLineOverlay.o ../../oscar/Graphs/gLineOverlay.cpp -In file included from ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/gGraph.h:22, - from ../../oscar/Graphs/gGraph.cpp:9: +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/overview.cpp:20: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1, - from ../../oscar/Graphs/gGraph.h:14, - from ../../oscar/Graphs/gGraph.cpp:9: +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/qcalendarwidget.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, + from ../../oscar/overview.cpp:10: +/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); + | ^~~~~~~ +../../oscar/exportcsv.cpp: In member function 'void ExportCSV::on_exportButton_clicked()': +../../oscar/exportcsv.cpp:255:74: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 255 | data += sep + QString().sprintf("%02i:%02i:%02i", h, m, s); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from ../../oscar/exportcsv.cpp:10: +/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); + | ^~~~~~~ +../../oscar/exportcsv.cpp:300:78: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 300 | data += sep + QString().sprintf("%02i:%02i:%02i", h, m, s); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1, + from ../../oscar/exportcsv.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gSegmentChart.o ../../oscar/Graphs/gSegmentChart.cpp ../../oscar/daily.cpp: In member function 'void Daily::on_ReloadDay()': ../../oscar/daily.cpp:883:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 883 | time.start(); @@ -1897,7 +1830,23 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gspacer.o ../../oscar/Graphs/gspacer.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gSegmentChart.o ../../oscar/Graphs/gSegmentChart.cpp +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/loader_plugins/zeo_loader.h:13, + from ../../oscar/mainwindow.cpp:42: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1, + from ../../oscar/mainwindow.cpp:10: +/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); + | ^~~~~~~ ../../oscar/Graphs/gGraph.cpp: In member function 'virtual void gGraph::mouseMoveEvent(QMouseEvent*)': ../../oscar/Graphs/gGraph.cpp:796:74: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 796 | m_selDurString.sprintf("%02i:%02i:%02i:%03i", h, m, s, ms); @@ -1931,6 +1880,23 @@ ../../oscar/Graphs/gGraph.cpp:1074:80: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 1074 | qDebug() << m_title << "Wheel" << event->x() << event->y() << event->delta(); | ^ +../../oscar/checkupdates.cpp: In member function 'void CheckUpdates::checkForUpdates(bool)': +../../oscar/checkupdates.cpp:228:21: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 228 | readTimer.start(); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslcertificate.h:52, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslerror.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslsocket.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslconfiguration.h:62, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QSslConfiguration:1, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkaccessmanager.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkAccessManager:1, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkreply.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkReply:1, + from ../../oscar/checkupdates.cpp:11: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QResizeEvent:1, from ../../oscar/Graphs/gGraph.h:17, from ../../oscar/Graphs/gGraph.cpp:9: @@ -1982,7 +1948,35 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here 225 | inline QPoint pos() const { return p.toPoint(); } | ^~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gStatsLine.o ../../oscar/Graphs/gStatsLine.cpp +../../oscar/checkupdates.cpp: In member function 'void CheckUpdates::replyFinished(QNetworkReply*)': +../../oscar/checkupdates.cpp:281:45: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 281 | elapsedTime = readTimer.elapsed() / 1000.0; + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslcertificate.h:52, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslerror.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslsocket.h:50, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslconfiguration.h:62, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QSslConfiguration:1, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkaccessmanager.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkAccessManager:1, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkreply.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkReply:1, + from ../../oscar/checkupdates.cpp:11: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +In file included from ../../oscar/mainwindow.cpp:51: +../../oscar/logger.h: In constructor 'LogThread::LogThread()': +../../oscar/logger.h:24:73: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 24 | explicit LogThread() : QRunnable() { running = false; logtime.start(); connected = false; m_logFile = nullptr; m_logStream = nullptr; } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, + from ../../oscar/mainwindow.cpp:28: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gspacer.o ../../oscar/Graphs/gspacer.cpp In file included from ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gGraph.h:22, @@ -2001,6 +1995,26 @@ /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 ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/gLineChart.h:15, + from ../../oscar/Graphs/gLineChart.cpp:10: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1, + from ../../oscar/Graphs/gLineChart.h:12, + from ../../oscar/Graphs/gLineChart.cpp:10: +/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); + | ^~~~~~~ ../../oscar/Graphs/gGraphView.cpp: In constructor 'MyLabel::MyLabel(QWidget*)': ../../oscar/Graphs/gGraphView.cpp:51:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 51 | time.start(); @@ -2068,7 +2082,47 @@ /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 -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gSummaryChart.o ../../oscar/Graphs/gSummaryChart.cpp +../../oscar/mainwindow.cpp: In member function 'void MainWindow::SetupGUI()': +../../oscar/mainwindow.cpp:247:51: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] + 247 | qsrand(QDateTime::currentDateTime().toTime_t()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qtnetworkglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1, + from ../../oscar/mainwindow.cpp:10: +/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); + | ^~~~~~ +../../oscar/mainwindow.cpp: In member function 'QList MainWindow::detectCPAPCards()': +../../oscar/mainwindow.cpp:887:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 887 | time.start(); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, + from ../../oscar/mainwindow.cpp:28: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +../../oscar/mainwindow.cpp:941:29: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 941 | int el=time.elapsed(); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, + from ../../oscar/mainwindow.cpp:28: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +../../oscar/mainwindow.cpp: In member function 'QList MainWindow::selectCPAPDataCards(const QString&)': +../../oscar/mainwindow.cpp:1003:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 1003 | time.start(); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1, + from ../../oscar/mainwindow.cpp:28: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gStatsLine.o ../../oscar/Graphs/gStatsLine.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/Graphs/gLineOverlay.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2081,7 +2135,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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gXAxis.o ../../oscar/Graphs/gXAxis.cpp ../../oscar/Graphs/gGraphView.cpp: In member function 'virtual void gGraphView::wheelEvent(QWheelEvent*)': ../../oscar/Graphs/gGraphView.cpp:2996:32: warning: 'Qt::Orientation QWheelEvent::orientation() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 2996 | if (event->orientation() == Qt::Vertical) { // Vertical Scrolling @@ -2150,36 +2203,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ -../../oscar/Graphs/gLineOverlay.cpp: In member function 'virtual void gLineOverlaySummary::paint(QPainter&, gGraph&, const QRegion&)': -../../oscar/Graphs/gLineOverlay.cpp:370:88: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 370 | QObject::tr("Duration") + " " + QString().sprintf("%02i:%02i:%02i", h, m, s) + ", " + - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, - from ../../oscar/SleepLib/profiles.h:13, - from ../../oscar/Graphs/gLineOverlay.cpp:10: -/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 ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/gLineChart.h:15, - from ../../oscar/Graphs/gLineChart.cpp:10: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1, - from ../../oscar/Graphs/gLineChart.h:12, - from ../../oscar/Graphs/gLineChart.cpp:10: -/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 ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gGraph.h:22, @@ -2200,7 +2223,17 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gYAxis.o ../../oscar/Graphs/gYAxis.cpp +../../oscar/Graphs/gLineOverlay.cpp: In member function 'virtual void gLineOverlaySummary::paint(QPainter&, gGraph&, const QRegion&)': +../../oscar/Graphs/gLineOverlay.cpp:370:88: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 370 | QObject::tr("Duration") + " " + QString().sprintf("%02i:%02i:%02i", h, m, s) + ", " + + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, + from ../../oscar/SleepLib/profiles.h:13, + from ../../oscar/Graphs/gLineOverlay.cpp:10: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gSummaryChart.o ../../oscar/Graphs/gSummaryChart.cpp In file included from ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gGraph.h:22, @@ -2221,6 +2254,7 @@ /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); | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gXAxis.o ../../oscar/Graphs/gXAxis.cpp In file included from ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/gStatsLine.cpp:9: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2234,7 +2268,15 @@ /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); | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gYAxis.o ../../oscar/Graphs/gYAxis.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o layer.o ../../oscar/Graphs/layer.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o calcs.o ../../oscar/SleepLib/calcs.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o common.o ../../oscar/SleepLib/common.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o day.o ../../oscar/SleepLib/day.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o event.o ../../oscar/SleepLib/event.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o machine.o ../../oscar/SleepLib/machine.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o machine_loader.o ../../oscar/SleepLib/machine_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o preferences.o ../../oscar/SleepLib/preferences.cpp In file included from ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gYAxis.h:13, @@ -2252,7 +2294,23 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o calcs.o ../../oscar/SleepLib/calcs.cpp +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/gXAxis.h:14, + from ../../oscar/Graphs/gXAxis.cpp:14: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, + from ../../oscar/Graphs/gXAxis.cpp:9: +/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); + | ^~~~~~~ ../../oscar/Graphs/gSummaryChart.cpp: In member function 'virtual void SummaryChart::paint(QPainter&, gGraph&, const QRegion&)': ../../oscar/Graphs/gSummaryChart.cpp:857:26: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 857 | int bw = fm.width('X'); @@ -2327,46 +2385,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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o common.o ../../oscar/SleepLib/common.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o day.o ../../oscar/SleepLib/day.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o event.o ../../oscar/SleepLib/event.cpp -In file included from ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/gXAxis.h:14, - from ../../oscar/Graphs/gXAxis.cpp:14: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, - from ../../oscar/Graphs/gXAxis.cpp:9: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o machine.o ../../oscar/SleepLib/machine.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o machine_loader.o ../../oscar/SleepLib/machine_loader.cpp -In file included from ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/layer.cpp:9: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QKeyEvent:1, - from ../../oscar/Graphs/layer.h:12, - from ../../oscar/Graphs/layer.cpp:9: -/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 ../../oscar/SleepLib/day.h:15, from ../../oscar/SleepLib/day.cpp:17: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2416,38 +2434,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); | ^~~~~~~ -../../oscar/Graphs/gYAxis.cpp: In member function 'virtual const QString gYAxisTime::Format(EventDataType, int)': -../../oscar/Graphs/gYAxis.cpp:347:75: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 347 | if (dp > 2) { return QString().sprintf("%02i:%02i:%02i%s", h, m, s, pm); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from ../../oscar/Graphs/gYAxis.h:12, - from ../../oscar/Graphs/gYAxis.cpp:9: -/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); - | ^~~~~~~ -../../oscar/Graphs/gYAxis.cpp:349:51: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 349 | return QString().sprintf("%i:%02i%s", h, m, pm); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from ../../oscar/Graphs/gYAxis.h:12, - from ../../oscar/Graphs/gYAxis.cpp:9: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o preferences.o ../../oscar/SleepLib/preferences.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o profiles.o ../../oscar/SleepLib/profiles.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o schema.o ../../oscar/SleepLib/schema.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/common.cpp:35: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2460,17 +2446,22 @@ /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 ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/machine_loader.cpp:15: +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o profiles.o ../../oscar/SleepLib/profiles.cpp +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/layer.cpp:9: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -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 ../../oscar/SleepLib/machine_loader.cpp:10: +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QKeyEvent:1, + from ../../oscar/Graphs/layer.h:12, + from ../../oscar/Graphs/layer.cpp:9: /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); | ^~~~~~~ @@ -2489,6 +2480,36 @@ /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); | ^~~~~~~ +../../oscar/Graphs/gYAxis.cpp: In member function 'virtual const QString gYAxisTime::Format(EventDataType, int)': +../../oscar/Graphs/gYAxis.cpp:347:75: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 347 | if (dp > 2) { return QString().sprintf("%02i:%02i:%02i%s", h, m, s, pm); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from ../../oscar/Graphs/gYAxis.h:12, + from ../../oscar/Graphs/gYAxis.cpp:9: +/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); + | ^~~~~~~ +../../oscar/Graphs/gYAxis.cpp:349:51: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 349 | return QString().sprintf("%i:%02i%s", h, m, pm); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from ../../oscar/Graphs/gYAxis.h:12, + from ../../oscar/Graphs/gYAxis.cpp:9: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o schema.o ../../oscar/SleepLib/schema.cpp ../../oscar/SleepLib/machine.cpp: In member function 'bool Machine::Load(ProgressDialog*)': ../../oscar/SleepLib/machine.cpp:704:20: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 704 | time.start(); @@ -2502,6 +2523,7 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o session.o ../../oscar/SleepLib/session.cpp ../../oscar/SleepLib/machine.cpp:794:94: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 794 | qDebug() << "Loaded" << info.model.toLocal8Bit().data() << "data in" << time.elapsed() << "ms"; | ^ @@ -2527,6 +2549,7 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cms50_loader.o ../../oscar/SleepLib/loader_plugins/cms50_loader.cpp ../../oscar/SleepLib/machine.cpp:1047:90: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 1047 | qDebug() << "Loaded" << info.model.toLocal8Bit().data() << "data in" << time.elapsed() << "ms"; | ^ @@ -2539,7 +2562,21 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o session.o ../../oscar/SleepLib/session.cpp +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/machine_loader.cpp:15: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +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 ../../oscar/SleepLib/machine_loader.cpp:10: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dreem_loader.o ../../oscar/SleepLib/loader_plugins/dreem_loader.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/profiles.cpp:24: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2551,8 +2588,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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cms50_loader.o ../../oscar/SleepLib/loader_plugins/cms50_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dreem_loader.o ../../oscar/SleepLib/loader_plugins/dreem_loader.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/schema.cpp:22: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2568,33 +2603,7 @@ /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); | ^~~~~~~ -../../oscar/SleepLib/profiles.cpp: In member function 'void Profile::addLock()': -../../oscar/SleepLib/profiles.cpp:159:41: warning: 'QByteArray& QByteArray::append(const QString&)' is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations] - 159 | ba.append(QHostInfo::localHostName()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, - from ../../oscar/SleepLib/profiles.cpp:10: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1507:20: note: declared here - 1507 | inline QByteArray &QByteArray::append(const QString &s) - | ^~~~~~~~~~ g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o icon_loader.o ../../oscar/SleepLib/loader_plugins/icon_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o intellipap_loader.o ../../oscar/SleepLib/loader_plugins/intellipap_loader.cpp -In file included from ../../oscar/SleepLib/session.h:23, - from ../../oscar/SleepLib/session.cpp:11: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, - from ../../oscar/SleepLib/session.h:19, - from ../../oscar/SleepLib/session.cpp:11: -/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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/machine_loader.h:18, from ../../oscar/SleepLib/serialoximeter.h:16, @@ -2611,6 +2620,22 @@ /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 ../../oscar/SleepLib/session.h:23, + from ../../oscar/SleepLib/session.cpp:11: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, + from ../../oscar/SleepLib/session.h:19, + from ../../oscar/SleepLib/session.cpp:11: +/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); + | ^~~~~~~ ../../oscar/SleepLib/loader_plugins/cms50_loader.cpp: In member function 'virtual int CMS50Loader::Open(const QString&)': ../../oscar/SleepLib/loader_plugins/cms50_loader.cpp:86:18: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 86 | m_time.start(); @@ -2620,7 +2645,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mseries_loader.o ../../oscar/SleepLib/loader_plugins/mseries_loader.cpp ../../oscar/SleepLib/loader_plugins/cms50_loader.cpp: In member function 'int CMS50Loader::doImportMode()': ../../oscar/SleepLib/loader_plugins/cms50_loader.cpp:303:80: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 303 | qDebug() << "Session start (according to CMS50)" << m_startTime << hex << buffer.at(idx + 1) << buffer.at(idx + 2) << ":" << dec << hour << minute ; @@ -2737,32 +2761,41 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o prs1_loader.o ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o resmed_loader.o ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o resmed_EDFinfo.o ../../oscar/SleepLib/loader_plugins/resmed_EDFinfo.cpp -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/loader_plugins/dreem_loader.h:12, - from ../../oscar/SleepLib/loader_plugins/dreem_loader.cpp:20: +../../oscar/SleepLib/profiles.cpp: In member function 'void Profile::addLock()': +../../oscar/SleepLib/profiles.cpp:159:41: warning: 'QByteArray& QByteArray::append(const QString&)' is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations] + 159 | ba.append(QHostInfo::localHostName()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, + from ../../oscar/SleepLib/profiles.cpp:10: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1507:20: note: declared here + 1507 | inline QByteArray &QByteArray::append(const QString &s) + | ^~~~~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o intellipap_loader.o ../../oscar/SleepLib/loader_plugins/intellipap_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mseries_loader.o ../../oscar/SleepLib/loader_plugins/mseries_loader.cpp +In file included from ../../oscar/SleepLib/loader_plugins/icon_loader.h:13, + from ../../oscar/SleepLib/loader_plugins/icon_loader.cpp:15: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, - from ../../oscar/SleepLib/loader_plugins/dreem_loader.cpp:16: + from ../../oscar/SleepLib/loader_plugins/icon_loader.cpp:9: /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 ../../oscar/SleepLib/loader_plugins/icon_loader.h:13, - from ../../oscar/SleepLib/loader_plugins/icon_loader.cpp:15: +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o prs1_loader.o ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/loader_plugins/dreem_loader.h:12, + from ../../oscar/SleepLib/loader_plugins/dreem_loader.cpp:20: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, - from ../../oscar/SleepLib/loader_plugins/icon_loader.cpp:9: + from ../../oscar/SleepLib/loader_plugins/dreem_loader.cpp:16: /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); | ^~~~~~~ @@ -2783,34 +2816,9 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here 277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s); | ^~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o resmed_loader.o ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o resmed_EDFinfo.o ../../oscar/SleepLib/loader_plugins/resmed_EDFinfo.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o somnopose_loader.o ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o viatom_loader.o ../../oscar/SleepLib/loader_plugins/viatom_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o zeo_loader.o ../../oscar/SleepLib/loader_plugins/zeo_loader.cpp -In file included from ../../oscar/SleepLib/loader_plugins/intellipap_loader.h:12, - from ../../oscar/SleepLib/loader_plugins/intellipap_loader.cpp:13: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, - from ../../oscar/SleepLib/loader_plugins/intellipap_loader.cpp:11: -/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 ../../oscar/SleepLib/session.h:23, - from ../../oscar/SleepLib/loader_plugins/resmed_EDFinfo.cpp:21: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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 ../../oscar/SleepLib/loader_plugins/resmed_EDFinfo.cpp:10: -/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 ../../oscar/SleepLib/loader_plugins/mseries_loader.h:15, from ../../oscar/SleepLib/loader_plugins/mseries_loader.cpp:12: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2823,7 +2831,7 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o zip.o ../../oscar/zip.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o viatom_loader.o ../../oscar/SleepLib/loader_plugins/viatom_loader.cpp ../../oscar/SleepLib/loader_plugins/mseries_loader.cpp: In member function 'virtual int MSeriesLoader::Open(const QString&)': ../../oscar/SleepLib/loader_plugins/mseries_loader.cpp:240:56: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 240 | qDebug() << "New Sparse Chunk" << chk << dt << hex << ts; @@ -2882,6 +2890,33 @@ /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 ../../oscar/SleepLib/loader_plugins/intellipap_loader.h:12, + from ../../oscar/SleepLib/loader_plugins/intellipap_loader.cpp:13: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, + from ../../oscar/SleepLib/loader_plugins/intellipap_loader.cpp:11: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o zeo_loader.o ../../oscar/SleepLib/loader_plugins/zeo_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o zip.o ../../oscar/zip.cpp +In file included from ../../oscar/SleepLib/session.h:23, + from ../../oscar/SleepLib/loader_plugins/resmed_EDFinfo.cpp:21: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +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 ../../oscar/SleepLib/loader_plugins/resmed_EDFinfo.cpp:10: +/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 ../../oscar/SleepLib/loader_plugins/prs1_loader.h:14, from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:21: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -2909,17 +2944,35 @@ /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); | ^~~~~~~ -../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In function 'QString relativePath(const QString&)': -../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:862:109: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] - 862 | QStringList pathlist = QDir::toNativeSeparators(inpath).split(QDir::separator(), QString::SkipEmptyParts); - | ^ -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 ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:10: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:615:17: note: declared here - 615 | QStringList split(QChar sep, SplitBehavior behavior, - | ^~~~~ +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/loader_plugins/somnopose_loader.h:12, + from ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:18: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, + from ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:16: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o csv.o ../../oscar/csv.cpp +../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp: In member function 'virtual int SomnoposeLoader::OpenFile(const QString&)': +../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:96:38: warning: 'QDateTime::QDateTime(const QDate&)' is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] + 96 | QDateTime epoch(QDate(2001, 1, 1)); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, + from ../../oscar/SleepLib/machine.h:16, + from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/loader_plugins/somnopose_loader.h:12, + from ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:18: +/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 &); + | ^~~~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o translation.o ../../oscar/translation.cpp ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp: In member function 'int ResmedLoader::ScanFiles(Machine*, const QString&, QDate)': ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp:833:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 833 | time.start(); @@ -2966,26 +3019,17 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:1230:37: note: declared here 1230 | Q_OUTOFLINE_TEMPLATE QHash &QHash::unite(const QHash &other) { | ^~~~~~~~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o csv.o ../../oscar/csv.cpp -../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In member function 'void PRS1Import::CreateEventChannels(const PRS1DataChunk*)': -../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:2689:84: warning: 'static QSet QSet::fromList(const QList&) [with T = PRS1ParsedEventType]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] - 2689 | QSet supportedNonSliceEvents = QSet::fromList(QList::fromVector(supported)); - | ^~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, - from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here - 416 | QSet QSet::fromList(const QList &list) - | ^~~~~~~ -../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:2689:142: warning: 'static QSet QSet::fromList(const QList&) [with T = PRS1ParsedEventType]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] - 2689 | QSet supportedNonSliceEvents = QSet::fromList(QList::fromVector(supported)); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, - from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here - 416 | QSet QSet::fromList(const QList &list) - | ^~~~~~~ +../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In function 'QString relativePath(const QString&)': +../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:862:109: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] + 862 | QStringList pathlist = QDir::toNativeSeparators(inpath).split(QDir::separator(), QString::SkipEmptyParts); + | ^ +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 ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:10: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:615:17: note: declared here + 615 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp: In member function 'bool ResmedLoader::LoadCSL(Session*, const QString&)': ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp:2476:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 2476 | time.start(); @@ -3027,6 +3071,20 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/loader_plugins/viatom_loader.h:13, + from ../../oscar/SleepLib/loader_plugins/viatom_loader.cpp:21: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, + from ../../oscar/SleepLib/loader_plugins/viatom_loader.cpp:17: +/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); + | ^~~~~~~ ../../oscar/SleepLib/loader_plugins/resmed_loader.cpp:2543:35: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 2543 | timeInLoadCSL += time.elapsed(); | ^ @@ -3249,50 +3307,6 @@ | ^~~~~~~ In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/loader_plugins/somnopose_loader.h:12, - from ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:18: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, - from ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:16: -/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); - | ^~~~~~~ -../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp: In member function 'virtual int SomnoposeLoader::OpenFile(const QString&)': -../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:96:38: warning: 'QDateTime::QDateTime(const QDate&)' is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] - 96 | QDateTime epoch(QDate(2001, 1, 1)); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, - from ../../oscar/SleepLib/machine.h:16, - from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/loader_plugins/somnopose_loader.h:12, - from ../../oscar/SleepLib/loader_plugins/somnopose_loader.cpp:18: -/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 &); - | ^~~~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o translation.o ../../oscar/translation.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o statistics.o ../../oscar/statistics.cpp -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/loader_plugins/viatom_loader.h:13, - from ../../oscar/SleepLib/loader_plugins/viatom_loader.cpp:21: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDir:1, - from ../../oscar/SleepLib/loader_plugins/viatom_loader.cpp:17: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o oximeterimport.o ../../oscar/oximeterimport.cpp -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, from ../../oscar/SleepLib/loader_plugins/zeo_loader.h:13, from ../../oscar/SleepLib/loader_plugins/zeo_loader.cpp:19: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -3305,7 +3319,32 @@ /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); | ^~~~~~~ +../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In member function 'void PRS1Import::CreateEventChannels(const PRS1DataChunk*)': +../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:2689:84: warning: 'static QSet QSet::fromList(const QList&) [with T = PRS1ParsedEventType]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 2689 | QSet supportedNonSliceEvents = QSet::fromList(QList::fromVector(supported)); + | ^~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, + from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here + 416 | QSet QSet::fromList(const QList &list) + | ^~~~~~~ +../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:2689:142: warning: 'static QSet QSet::fromList(const QList&) [with T = PRS1ParsedEventType]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 2689 | QSet supportedNonSliceEvents = QSet::fromList(QList::fromVector(supported)); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, + from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here + 416 | QSet QSet::fromList(const QList &list) + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o statistics.o ../../oscar/statistics.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o oximeterimport.o ../../oscar/oximeterimport.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o deviceconnection.o ../../oscar/SleepLib/deviceconnection.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o xmlreplay.o ../../oscar/SleepLib/xmlreplay.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o serialoximeter.o ../../oscar/SleepLib/serialoximeter.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o md300w1_loader.o ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gSessionTimesChart.o ../../oscar/Graphs/gSessionTimesChart.cpp ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In member function 'bool PRS1DataChunk::ParseSettingsF3V6(const unsigned char*, int)': ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:6296:51: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 6296 | qDebug() << "Unknown setting:" << hex << code << "in" << this->sessionid << "at" << pos; @@ -3325,7 +3364,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here 277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s); | ^~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o xmlreplay.o ../../oscar/SleepLib/xmlreplay.cpp ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In member function 'bool PRS1DataChunk::ParseSettingsF0V6(const unsigned char*, int)': ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:7474:51: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 7474 | qDebug() << "Unknown setting:" << hex << code << "in" << this->sessionid << "at" << pos; @@ -3364,7 +3402,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here 277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s); | ^~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o serialoximeter.o ../../oscar/SleepLib/serialoximeter.cpp In file included from ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gYAxis.h:13, @@ -3380,6 +3417,23 @@ /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); | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gPressureChart.o ../../oscar/Graphs/gPressureChart.cpp +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/serialoximeter.h:16, + from ../../oscar/SleepLib/loader_plugins/md300w1_loader.h:12, + from ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:31: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +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 ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:17: +/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); + | ^~~~~~~ ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In static member function 'static PRS1DataChunk* PRS1DataChunk::ParseNext(QFile&, PRS1Loader*)': ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:8996:91: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 8996 | qWarning() << chunk->m_path << "@" << chunk->m_filepos << "block CRC calc" << hex << chunk->calcCrc << "!= stored" << hex << chunk->storedCrc; @@ -3454,6 +3508,42 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here 277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s); | ^~~ +../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp: In member function 'virtual int MD300W1Loader::Open(const QString&)': +../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:81:18: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 81 | m_time.start(); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, + from ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp: In member function 'bool MD300W1Loader::readDATFile(const QString&)': +../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:198:100: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 198 | (unsigned char)data.at(i+6),(unsigned char)data.at(i+7),(unsigned char)data.at(i+8)); + | ^ +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 ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:17: +/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 ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/serialoximeter.h:16, + from ../../oscar/SleepLib/serialoximeter.cpp:10: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, + from ../../oscar/SleepLib/serialoximeter.h:13, + from ../../oscar/SleepLib/serialoximeter.cpp:10: +/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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/daily.h:25, from ../../oscar/mainwindow.h:19, @@ -3469,7 +3559,8 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o md300w1_loader.o ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o logger.o ../../oscar/logger.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o machine_common.o ../../oscar/SleepLib/machine_common.cpp ../../oscar/statistics.cpp: In function 'QString formatTime(float)': ../../oscar/statistics.cpp:51:57: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 51 | return QString().sprintf("%02i:%02i", hours, minutes); //,seconds); @@ -3481,35 +3572,8 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gSessionTimesChart.o ../../oscar/Graphs/gSessionTimesChart.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gPressureChart.o ../../oscar/Graphs/gPressureChart.cpp -../../oscar/statistics.cpp: In static member function 'static void Statistics::printReport(QWidget*)': -../../oscar/statistics.cpp:1314:46: warning: 'void QPrinter::setOrientation(QPrinter::Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] - 1314 | printer.setOrientation(QPrinter::Portrait); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, - from ../../oscar/statistics.cpp:16: -/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here - 172 | void setOrientation(Orientation); - | ^~~~~~~~~~~~~~ -../../oscar/statistics.cpp:1316:27: warning: 'void QPrinter::setNumCopies(int)' is deprecated: Use setCopyCount() instead. [-Wdeprecated-declarations] - 1316 | printer.setNumCopies(1); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, - from ../../oscar/statistics.cpp:16: -/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:217:10: note: declared here - 217 | void setNumCopies(int); - | ^~~~~~~~~~~~ -../../oscar/statistics.cpp:1319:162: warning: 'void QPrinter::setPageMargins(qreal, qreal, qreal, qreal, QPrinter::Unit)' is deprecated: Use setPageMargins(QMarginsF, QPageLayout::Unit) instead. [-Wdeprecated-declarations] - 1319 | printer.setPageMargins(fmax(10,minMargins.left()), fmax(10,minMargins.top()), fmax(10,minMargins.right()), fmax(12,minMargins.bottom()), QPrinter::Millimeter); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, - from ../../oscar/statistics.cpp:16: -/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:287:10: note: declared here - 287 | void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, Unit unit); - | ^~~~~~~~~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o logger.o ../../oscar/logger.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o machine_common.o ../../oscar/SleepLib/machine_common.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o weinmann_loader.o ../../oscar/SleepLib/loader_plugins/weinmann_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gdailysummary.o ../../oscar/Graphs/gdailysummary.cpp ../../oscar/oximeterimport.cpp: In member function 'SerialOximeter* OximeterImport::detectOximeter()': ../../oscar/oximeterimport.cpp:193:16: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 193 | time.start(); @@ -3546,6 +3610,8 @@ /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); | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o MinutesAtPressure.o ../../oscar/Graphs/MinutesAtPressure.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o journal.o ../../oscar/SleepLib/journal.cpp ../../oscar/oximeterimport.cpp: In member function 'void OximeterImport::updateLiveDisplay()': ../../oscar/oximeterimport.cpp:742:69: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 742 | ui->pulseDisplay->display(QString().sprintf("%3i", pulse)); @@ -3577,6 +3643,31 @@ /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); | ^~~~~~~ +../../oscar/statistics.cpp: In static member function 'static void Statistics::printReport(QWidget*)': +../../oscar/statistics.cpp:1314:46: warning: 'void QPrinter::setOrientation(QPrinter::Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] + 1314 | printer.setOrientation(QPrinter::Portrait); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, + from ../../oscar/statistics.cpp:16: +/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here + 172 | void setOrientation(Orientation); + | ^~~~~~~~~~~~~~ +../../oscar/statistics.cpp:1316:27: warning: 'void QPrinter::setNumCopies(int)' is deprecated: Use setCopyCount() instead. [-Wdeprecated-declarations] + 1316 | printer.setNumCopies(1); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, + from ../../oscar/statistics.cpp:16: +/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:217:10: note: declared here + 217 | void setNumCopies(int); + | ^~~~~~~~~~~~ +../../oscar/statistics.cpp:1319:162: warning: 'void QPrinter::setPageMargins(qreal, qreal, qreal, qreal, QPrinter::Unit)' is deprecated: Use setPageMargins(QMarginsF, QPageLayout::Unit) instead. [-Wdeprecated-declarations] + 1319 | printer.setPageMargins(fmax(10,minMargins.left()), fmax(10,minMargins.top()), fmax(10,minMargins.right()), fmax(12,minMargins.bottom()), QPrinter::Millimeter); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, + from ../../oscar/statistics.cpp:16: +/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:287:10: note: declared here + 287 | void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, Unit unit); + | ^~~~~~~~~~~~~~ ../../oscar/oximeterimport.cpp: In member function 'void OximeterImport::chooseSession()': ../../oscar/oximeterimport.cpp:1091:79: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 1091 | item = new QTableWidgetItem(QString(). sprintf("%02i:%02i:%02i", h,m,s)); @@ -3588,51 +3679,25 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o weinmann_loader.o ../../oscar/SleepLib/loader_plugins/weinmann_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o progressdialog.o ../../oscar/SleepLib/progressdialog.cpp In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/serialoximeter.h:16, - from ../../oscar/SleepLib/serialoximeter.cpp:10: + from ../../oscar/daily.h:25, + from ../../oscar/mainwindow.h:19, + from ../../oscar/Graphs/gSessionTimesChart.cpp:14: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, - from ../../oscar/SleepLib/serialoximeter.h:13, - from ../../oscar/SleepLib/serialoximeter.cpp:10: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gdailysummary.o ../../oscar/Graphs/gdailysummary.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o MinutesAtPressure.o ../../oscar/Graphs/MinutesAtPressure.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o journal.o ../../oscar/SleepLib/journal.cpp -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/serialoximeter.h:16, - from ../../oscar/SleepLib/loader_plugins/md300w1_loader.h:12, - from ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:31: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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 ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:17: + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, + from ../../oscar/Graphs/gSessionTimesChart.cpp:11: /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); | ^~~~~~~ -../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp: In member function 'virtual int MD300W1Loader::Open(const QString&)': -../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:81:18: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] - 81 | m_time.start(); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, - from ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here - 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); - | ^~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cms50f37_loader.o ../../oscar/SleepLib/loader_plugins/cms50f37_loader.cpp In file included from ../../oscar/logger.cpp:10: ../../oscar/logger.h: In constructor 'LogThread::LogThread()': ../../oscar/logger.h:24:73: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] @@ -3644,35 +3709,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ -../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp: In member function 'bool MD300W1Loader::readDATFile(const QString&)': -../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:198:100: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 198 | (unsigned char)data.at(i+6),(unsigned char)data.at(i+7),(unsigned char)data.at(i+8)); - | ^ -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 ../../oscar/SleepLib/loader_plugins/md300w1_loader.cpp:17: -/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 ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/gSessionTimesChart.h:13, - from ../../oscar/Graphs/gPressureChart.h:13, - from ../../oscar/Graphs/gPressureChart.cpp:10: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, - from ../../oscar/SleepLib/common.h:12, - from ../../oscar/SleepLib/day.h:13, - from ../../oscar/Graphs/gSessionTimesChart.h:13, - from ../../oscar/Graphs/gPressureChart.h:13, - from ../../oscar/Graphs/gPressureChart.cpp:10: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o progressdialog.o ../../oscar/SleepLib/progressdialog.cpp ../../oscar/logger.cpp: In member function 'void LogThread::append(QString)': ../../oscar/logger.cpp:155:57: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 155 | QString tmp = QString("%1: %2").arg(logtime.elapsed(), 5, 10, QChar('0')).arg(msg); @@ -3704,15 +3740,28 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cms50f37_loader.o ../../oscar/SleepLib/loader_plugins/cms50f37_loader.cpp -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/daily.h:25, - from ../../oscar/mainwindow.h:19, - from ../../oscar/Graphs/gSessionTimesChart.cpp:14: +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/gSessionTimesChart.h:13, + from ../../oscar/Graphs/gPressureChart.h:13, + from ../../oscar/Graphs/gPressureChart.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, + from ../../oscar/SleepLib/common.h:12, + from ../../oscar/SleepLib/day.h:13, + from ../../oscar/Graphs/gSessionTimesChart.h:13, + from ../../oscar/Graphs/gPressureChart.h:13, + from ../../oscar/Graphs/gPressureChart.cpp:10: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o profileselector.o ../../oscar/profileselector.cpp +../../oscar/Graphs/gSessionTimesChart.cpp: In member function 'virtual void gTTIAChart::populate(Day*, int)': +../../oscar/Graphs/gSessionTimesChart.cpp:1141:148: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 1141 | slices.append(SummaryChartSlice(&calcitems[0], ttia / 60.0, ttia / 60.0, QObject::tr("\nTTIA: %1").arg(QString().sprintf("%02i:%02i:%02i",h,m,s)), QColor(255,147,150))); + | ^ 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/qframe.h:44, @@ -3722,6 +3771,8 @@ /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); | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o appsettings.o ../../oscar/SleepLib/appsettings.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o edfparser.o ../../oscar/SleepLib/loader_plugins/edfparser.cpp In file included from ../../oscar/SleepLib/loader_plugins/weinmann_loader.h:12, from ../../oscar/SleepLib/loader_plugins/weinmann_loader.cpp:18: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -3778,20 +3829,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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o profileselector.o ../../oscar/profileselector.cpp -../../oscar/Graphs/gSessionTimesChart.cpp: In member function 'virtual void gTTIAChart::populate(Day*, int)': -../../oscar/Graphs/gSessionTimesChart.cpp:1141:148: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 1141 | slices.append(SummaryChartSlice(&calcitems[0], ttia / 60.0, ttia / 60.0, QObject::tr("\nTTIA: %1").arg(QString().sprintf("%02i:%02i:%02i",h,m,s)), QColor(255,147,150))); - | ^ -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/qframe.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, - from ../../oscar/Graphs/gSessionTimesChart.cpp:11: -/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 ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gdailysummary.h:12, @@ -3807,8 +3844,21 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o appsettings.o ../../oscar/SleepLib/appsettings.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o edfparser.o ../../oscar/SleepLib/loader_plugins/edfparser.cpp +In file included from ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/MinutesAtPressure.h:12, + from ../../oscar/Graphs/MinutesAtPressure.cpp:14: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +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 ../../oscar/Graphs/MinutesAtPressure.cpp:10: +/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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/journal.h:13, from ../../oscar/SleepLib/journal.cpp:9: @@ -3825,21 +3875,6 @@ | ^~~~~~~ g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o aboutdialog.o ../../oscar/aboutdialog.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o welcome.o ../../oscar/welcome.cpp -In file included from ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/MinutesAtPressure.h:12, - from ../../oscar/Graphs/MinutesAtPressure.cpp:14: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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 ../../oscar/Graphs/MinutesAtPressure.cpp:10: -/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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/machine_loader.h:18, from ../../oscar/SleepLib/serialoximeter.h:16, @@ -4186,10 +4221,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ -/usr/lib/qt5/bin/rcc -name Resources ../../oscar/Resources.qrc -o qrc_Resources.cpp -g++ -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_Resources.o qrc_Resources.cpp -/usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/checkupdates.h -o moc_checkupdates.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/profileselector.h:16, from ../../oscar/profileselector.cpp:12: @@ -4206,6 +4237,10 @@ /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); | ^~~~~~~ +/usr/lib/qt5/bin/rcc -name Resources ../../oscar/Resources.qrc -o qrc_Resources.cpp +g++ -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_Resources.o qrc_Resources.cpp +/usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/checkupdates.h -o moc_checkupdates.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/daily.h -o moc_daily.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/exportcsv.h -o moc_exportcsv.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/mainwindow.h -o moc_mainwindow.cpp @@ -4213,8 +4248,6 @@ /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/overview.h -o moc_overview.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/preferencesdialog.h -o moc_preferencesdialog.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/sessionbar.h -o moc_sessionbar.cpp -/usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/Graphs/gGraph.h -o moc_gGraph.cpp -/usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/Graphs/gGraphView.h -o moc_gGraphView.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/daily.h:25, from ../../oscar/mainwindow.h:19, @@ -4231,6 +4264,8 @@ /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); | ^~~~~~~ +/usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/Graphs/gGraph.h -o moc_gGraph.cpp +/usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/Graphs/gGraphView.h -o moc_gGraphView.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/SleepLib/machine_loader.h -o moc_machine_loader.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/SleepLib/loader_plugins/cms50_loader.h -o moc_cms50_loader.cpp /usr/lib/qt5/bin/moc -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /build/oscar-1.2.0/_build/oscar/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/oscar-1.2.0/oscar -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -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 ../../oscar/SleepLib/loader_plugins/icon_loader.h -o moc_icon_loader.cpp @@ -4263,22 +4298,23 @@ g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_cms50_loader.o moc_cms50_loader.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_icon_loader.o moc_icon_loader.cpp g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_prs1_loader.o moc_prs1_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_resmed_loader.o moc_resmed_loader.cpp In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/overview.h:18, - from moc_overview.cpp:10: + from ../../oscar/daily.h:25, + from moc_daily.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ 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/QWidget:1, - from ../../oscar/overview.h:12, - from moc_overview.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmenu.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMenu:1, + from ../../oscar/daily.h:13, + from moc_daily.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_resmed_loader.o moc_resmed_loader.cpp In file included from ../../oscar/SleepLib/profiles.h:18, from ../../oscar/preferencesdialog.h:18, from moc_preferencesdialog.cpp:10: @@ -4295,25 +4331,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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_zip.o moc_zip.cpp -In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/daily.h:25, - from ../../oscar/mainwindow.h:19, - from moc_mainwindow.cpp:10: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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/qmainwindow.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1, - from ../../oscar/mainwindow.h:12, - from moc_mainwindow.cpp:10: -/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); - | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_statistics.o moc_statistics.cpp In file included from ../../oscar/SleepLib/session.h:23, from ../../oscar/sessionbar.h:17, from moc_sessionbar.cpp:10: @@ -4329,77 +4346,79 @@ /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); | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_zip.o moc_zip.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_statistics.o moc_statistics.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_oximeterimport.o moc_oximeterimport.cpp In file included from ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gGraph.h:22, - from moc_gGraph.cpp:10: + from ../../oscar/Graphs/gGraphView.h:39, + from moc_gGraphView.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1, - from ../../oscar/Graphs/gGraph.h:14, - from moc_gGraph.cpp:10: +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/qmainwindow.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1, + from ../../oscar/Graphs/gGraphView.h:12, + from moc_gGraphView.cpp:10: /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 ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/daily.h:25, - from moc_daily.cpp:10: + from ../../oscar/overview.h:18, + from moc_overview.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ 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/qmenu.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMenu:1, - from ../../oscar/daily.h:13, - from moc_daily.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1, + from ../../oscar/overview.h:12, + from moc_overview.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_oximeterimport.o moc_oximeterimport.cpp In file included from ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/serialoximeter.h:16, - from ../../oscar/SleepLib/loader_plugins/cms50_loader.h:12, - from moc_cms50_loader.cpp:10: + from ../../oscar/daily.h:25, + from ../../oscar/mainwindow.h:19, + from moc_mainwindow.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, - from ../../oscar/SleepLib/serialoximeter.h:13, - from ../../oscar/SleepLib/loader_plugins/cms50_loader.h:12, - from moc_cms50_loader.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1, + from ../../oscar/mainwindow.h:12, + from moc_mainwindow.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_deviceconnection.o moc_deviceconnection.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_serialoximeter.o moc_serialoximeter.cpp -In file included from ../../oscar/SleepLib/loader_plugins/icon_loader.h:13, - from moc_icon_loader.cpp:10: +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from moc_machine_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QMultiMap:1, - from ../../oscar/SleepLib/loader_plugins/icon_loader.h:12, - from moc_icon_loader.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPixmap:1, + from ../../oscar/SleepLib/machine_loader.h:15, + from moc_machine_loader.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_md300w1_loader.o moc_md300w1_loader.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_logger.o moc_logger.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_progressdialog.o moc_progressdialog.cpp -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_cms50f37_loader.o moc_cms50f37_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_deviceconnection.o moc_deviceconnection.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_serialoximeter.o moc_serialoximeter.cpp In file included from ../../oscar/SleepLib/loader_plugins/prs1_loader.h:14, from moc_prs1_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -4413,21 +4432,39 @@ /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_profileselector.o moc_profileselector.cpp -In file included from ../../oscar/statistics.h:19, - from moc_statistics.cpp:10: +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/serialoximeter.h:16, + from ../../oscar/SleepLib/loader_plugins/cms50_loader.h:12, + from moc_cms50_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, - from ../../oscar/statistics.h:12, - from moc_statistics.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, + from ../../oscar/SleepLib/serialoximeter.h:13, + from ../../oscar/SleepLib/loader_plugins/cms50_loader.h:12, + from moc_cms50_loader.cpp:10: +/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 ../../oscar/SleepLib/day.h:15, + from ../../oscar/Graphs/layer.h:19, + from ../../oscar/Graphs/gGraph.h:22, + from moc_gGraph.cpp:10: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1, + from ../../oscar/Graphs/gGraph.h:14, + from moc_gGraph.cpp:10: /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); | ^~~~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_aboutdialog.o moc_aboutdialog.cpp In file included from ../../oscar/SleepLib/loader_plugins/resmed_loader.h:14, from moc_resmed_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': @@ -4442,25 +4479,58 @@ /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 ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from moc_machine_loader.cpp:10: +In file included from ../../oscar/SleepLib/loader_plugins/icon_loader.h:13, + from moc_icon_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPixmap:1, - from ../../oscar/SleepLib/machine_loader.h:15, - from moc_machine_loader.cpp:10: + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QMultiMap:1, + from ../../oscar/SleepLib/loader_plugins/icon_loader.h:12, + from moc_icon_loader.cpp:10: +/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); + | ^~~~~~~ +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_md300w1_loader.o moc_md300w1_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_logger.o moc_logger.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_progressdialog.o moc_progressdialog.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_cms50f37_loader.o moc_cms50f37_loader.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_profileselector.o moc_profileselector.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_aboutdialog.o moc_aboutdialog.cpp +In file included from ../../oscar/statistics.h:19, + from moc_statistics.cpp:10: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ../../oscar/statistics.h:12, + from moc_statistics.cpp:10: /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); | ^~~~~~~ g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_welcome.o moc_welcome.cpp +g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_mytextbrowser.o moc_mytextbrowser.cpp +In file included from ../../oscar/SleepLib/profiles.h:18, + from ../../oscar/SleepLib/machine_loader.h:18, + from ../../oscar/SleepLib/serialoximeter.h:16, + from moc_serialoximeter.cpp:10: +../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': +../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, + from ../../oscar/SleepLib/serialoximeter.h:13, + from moc_serialoximeter.cpp:10: +/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 ../../oscar/SleepLib/day.h:15, from ../../oscar/Graphs/layer.h:19, from ../../oscar/Graphs/gGraph.h:22, @@ -4491,47 +4561,11 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ -g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -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/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_mytextbrowser.o moc_mytextbrowser.cpp -In file included from ../../oscar/SleepLib/day.h:15, - from ../../oscar/Graphs/layer.h:19, - from ../../oscar/Graphs/gGraph.h:22, - from ../../oscar/Graphs/gGraphView.h:39, - from moc_gGraphView.cpp:10: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -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/qmainwindow.h:44, - from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1, - from ../../oscar/Graphs/gGraphView.h:12, - from moc_gGraphView.cpp:10: -/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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/machine_loader.h:18, from ../../oscar/SleepLib/serialoximeter.h:16, - from ../../oscar/SleepLib/loader_plugins/md300w1_loader.h:12, - from moc_md300w1_loader.cpp:10: -../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': -../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, - from ../../oscar/SleepLib/serialoximeter.h:13, - from ../../oscar/SleepLib/loader_plugins/md300w1_loader.h:12, - from moc_md300w1_loader.cpp:10: -/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 ../../oscar/SleepLib/profiles.h:18, - from ../../oscar/SleepLib/machine_loader.h:18, - from ../../oscar/SleepLib/serialoximeter.h:16, - from moc_serialoximeter.cpp:10: + from ../../oscar/SleepLib/loader_plugins/cms50f37_loader.h:12, + from moc_cms50f37_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } @@ -4540,15 +4574,16 @@ from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, from ../../oscar/SleepLib/serialoximeter.h:13, - from moc_serialoximeter.cpp:10: + from ../../oscar/SleepLib/loader_plugins/cms50f37_loader.h:12, + from moc_cms50f37_loader.cpp:10: /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 ../../oscar/SleepLib/profiles.h:18, from ../../oscar/SleepLib/machine_loader.h:18, from ../../oscar/SleepLib/serialoximeter.h:16, - from ../../oscar/SleepLib/loader_plugins/cms50f37_loader.h:12, - from moc_cms50f37_loader.cpp:10: + from ../../oscar/SleepLib/loader_plugins/md300w1_loader.h:12, + from moc_md300w1_loader.cpp:10: ../../oscar/SleepLib/machine.h: In member function 'QString Machine::hexid()': ../../oscar/SleepLib/machine.h:162:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 162 | QString hexid() { return QString().sprintf("%08lx", m_id); } @@ -4557,8 +4592,8 @@ from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtimer.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTimer:1, from ../../oscar/SleepLib/serialoximeter.h:13, - from ../../oscar/SleepLib/loader_plugins/cms50f37_loader.h:12, - from moc_cms50f37_loader.cpp:10: + from ../../oscar/SleepLib/loader_plugins/md300w1_loader.h:12, + from moc_md300w1_loader.cpp:10: /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); | ^~~~~~~ @@ -4581,7 +4616,7 @@ make[2]: Leaving directory '/build/oscar-1.2.0/_build/oscar' make[1]: Leaving directory '/build/oscar-1.2.0/_build' dh_auto_test -O--buildsystem=qmake -O--builddirectory=_build/ - cd _build && make -j15 check + cd _build && make -j16 check make[1]: Entering directory '/build/oscar-1.2.0/_build' cd oscar/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /build/oscar-1.2.0/oscar/oscar.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now' QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile check make[2]: Entering directory '/build/oscar-1.2.0/_build/oscar' @@ -4589,7 +4624,7 @@ g++ -Wl,-z,relro -Wl,-z,now -o OSCAR checkupdates.o common_gui.o cprogressbar.o daily.o exportcsv.o main.o mainwindow.o newprofile.o overview.o preferencesdialog.o reports.o sessionbar.o version.o gFlagsLine.o gFooBar.o gGraph.o gGraphView.o glcommon.o gLineChart.o gLineOverlay.o gSegmentChart.o gspacer.o gStatsLine.o gSummaryChart.o gXAxis.o gYAxis.o layer.o calcs.o common.o day.o event.o machine.o machine_loader.o preferences.o profiles.o schema.o session.o cms50_loader.o dreem_loader.o icon_loader.o intellipap_loader.o mseries_loader.o prs1_loader.o resmed_loader.o resmed_EDFinfo.o somnopose_loader.o viatom_loader.o zeo_loader.o zip.o miniz.o csv.o translation.o statistics.o oximeterimport.o deviceconnection.o xmlreplay.o serialoximeter.o md300w1_loader.o gSessionTimesChart.o gPressureChart.o logger.o machine_common.o weinmann_loader.o gdailysummary.o MinutesAtPressure.o journal.o progressdialog.o cms50f37_loader.o profileselector.o appsettings.o edfparser.o aboutdialog.o welcome.o qrc_Resources.o moc_checkupdates.o moc_daily.o moc_exportcsv.o moc_mainwindow.o moc_newprofile.o moc_overview.o moc_preferencesdialog.o moc_sessionbar.o moc_gGraph.o moc_gGraphView.o moc_machine_loader.o moc_cms50_loader.o moc_icon_loader.o moc_prs1_loader.o moc_resmed_loader.o moc_zip.o moc_statistics.o moc_oximeterimport.o moc_deviceconnection.o moc_serialoximeter.o moc_md300w1_loader.o moc_logger.o moc_progressdialog.o moc_cms50f37_loader.o moc_profileselector.o moc_aboutdialog.o moc_welcome.o moc_mytextbrowser.o -lX11 -lz -lGLU /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Xml.so /usr/lib/x86_64-linux-gnu/libQt5SerialPort.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread make[2]: Leaving directory '/build/oscar-1.2.0/_build/oscar' make[1]: Leaving directory '/build/oscar-1.2.0/_build' - rm -fr -- /tmp/dh-xdg-rundir-6zsfQPQP + rm -fr -- /tmp/dh-xdg-rundir-an2_CrmP create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=qmake -O--builddirectory=_build/ dh_prep -O--buildsystem=qmake -O--builddirectory=_build/ @@ -4597,7 +4632,7 @@ rm -fr -- debian/.debhelper/generated/oscar/ debian/oscar/ debian/tmp/ dh_auto_install -O--buildsystem=qmake -O--builddirectory=_build/ install -d /build/oscar-1.2.0/debian/oscar - cd _build && make -j15 install DESTDIR=/build/oscar-1.2.0/debian/oscar AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/oscar-1.2.0/debian/oscar + cd _build && make -j16 install DESTDIR=/build/oscar-1.2.0/debian/oscar AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/oscar-1.2.0/debian/oscar make[1]: Entering directory '/build/oscar-1.2.0/_build' cd oscar/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /build/oscar-1.2.0/oscar/oscar.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/oscar-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now' QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile install make[2]: Entering directory '/build/oscar-1.2.0/_build/oscar' @@ -4733,8 +4768,8 @@ dh_builddeb -O--buildsystem=qmake -O--builddirectory=_build/ dpkg-deb --root-owner-group --build debian/oscar .. dpkg-deb --root-owner-group --build debian/.debhelper/oscar/dbgsym-root .. -dpkg-deb: building package 'oscar' in '../oscar_1.2.0-1_amd64.deb'. dpkg-deb: building package 'oscar-dbgsym' in '../oscar-dbgsym_1.2.0-1_amd64.deb'. +dpkg-deb: building package 'oscar' in '../oscar_1.2.0-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../oscar_1.2.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4742,12 +4777,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2102172/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2102172/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/92692 and its subdirectories -I: Current time: Fri Aug 4 10:02:47 -12 2023 -I: pbuilder-time-stamp: 1691186567 +I: removing directory /srv/workspace/pbuilder/2102172 and its subdirectories +I: Current time: Fri Sep 6 18:31:13 +14 2024 +I: pbuilder-time-stamp: 1725597073