Diff of the two buildlogs: -- --- b1/build.log 2022-01-15 13:05:50.335374365 +0000 +++ b2/build.log 2022-01-15 13:06:52.473452153 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 15 01:02:45 -12 2022 -I: pbuilder-time-stamp: 1642251765 +I: Current time: Sat Feb 18 09:28:54 +14 2023 +I: pbuilder-time-stamp: 1676662134 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./deepin-qt5dxcb-plugin_5.0.17-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.3OReJtNk/trustedkeys.kbx': General error -gpgv: Signature made Sun Dec 20 07:02:40 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Nrf7XdL6/trustedkeys.kbx': General error +gpgv: Signature made Mon Dec 21 09:02:40 2020 +14 gpgv: using RSA key E7AF3C82A7B83D2BAC51970B6646265B586B83CB gpgv: issuer "mitya57@debian.org" gpgv: Can't check signature: No public key @@ -31,135 +31,169 @@ dpkg-source: info: applying 0005-disable-wayland.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2873689/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3816454/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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3816454/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3816454/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='' - 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= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f0826fc1e696471da1a0d79c9d5c5d5d' - 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='2873689' - PS1='# ' - PS2='> ' + INVOCATION_ID=af3b198c7b044a76b344cab12d8d9165 + 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=3816454 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.AMyxyQDEDB/pbuilderrc_thDE --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.AMyxyQDEDB/b1 --logfile b1/build.log deepin-qt5dxcb-plugin_5.0.17-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.AMyxyQDEDB/pbuilderrc_FBsV --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.AMyxyQDEDB/b2 --logfile b2/build.log deepin-qt5dxcb-plugin_5.0.17-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 ionos11-amd64 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 07:09 more - -rwsr-xr-x 1 root root 55528 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 18664 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 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 Jan 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 Jul 28 07:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/2873689/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Feb 18 09:29 sh -> bash + lrwxrwxrwx 1 root root 4 Feb 10 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/3816454/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -528,7 +562,7 @@ Get: 269 http://deb.debian.org/debian bullseye/main amd64 libxkbcommon-dev amd64 1.0.3-2 [49.4 kB] Get: 270 http://deb.debian.org/debian bullseye/main amd64 libxkbcommon-x11-dev amd64 1.0.3-2 [8824 B] Get: 271 http://deb.debian.org/debian bullseye/main amd64 qtbase5-private-dev amd64 5.15.2+dfsg-9 [1299 kB] -Fetched 111 MB in 14s (8079 kB/s) +Fetched 111 MB in 1s (87.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -1644,7 +1678,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/deepin-qt5dxcb-plugin-5.0.17/ && 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 > ../deepin-qt5dxcb-plugin_5.0.17-1_source.changes +hostname: Name or service not known +I: Running cd /build/deepin-qt5dxcb-plugin-5.0.17/ && 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 > ../deepin-qt5dxcb-plugin_5.0.17-1_source.changes dpkg-buildpackage: info: source package deepin-qt5dxcb-plugin dpkg-buildpackage: info: source version 5.0.17-1 dpkg-buildpackage: info: source distribution unstable @@ -1663,10 +1698,10 @@ qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -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 Info: creating stash file /build/deepin-qt5dxcb-plugin-5.0.17/.qmake.stash dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/deepin-qt5dxcb-plugin-5.0.17' cd xcb/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /build/deepin-qt5dxcb-plugin-5.0.17/xcb/xcb.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -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 -sh: 1: git: not found +sh: line 1: git: command not found Project MESSAGE: /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version. Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point. @@ -1690,11 +1725,49 @@ gcc -c -pipe -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o clientwin.o 3rdparty/clientwin.c g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dframewindow.o dframewindow.cpp g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dplatformwindowhelper.o dplatformwindowhelper.cpp +g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dplatformbackingstorehelper.o dplatformbackingstorehelper.cpp +In file included from ../src/dplatformsettings.cpp:22: +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] + 35 | class DPlatformSettings + | ^~~~~~~~~~~~~~~~~ +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] +In file included from ../src/dxcbxsettings.h:43, + from ../src/dxcbxsettings.cpp:40: +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] + 35 | class DPlatformSettings + | ^~~~~~~~~~~~~~~~~ +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] +../src/vtablehook.cpp: In static member function 'static void deepin_platform_plugin::VtableHook::autoCleanVtable(const void*)': +../src/vtablehook.cpp:161:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 161 | Destruct destruct = *reinterpret_cast(&fun); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../src/vtablehook.cpp: In static member function 'static quintptr deepin_platform_plugin::VtableHook::originalFun(const void*, quintptr)': +../src/vtablehook.cpp:278:76: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] + 278 | qWarning() << "Is not a virtual function, function address: 0x" << hex << functionOffset; + | ^~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, + from ../src/vtablehook.h:23, + from ../src/vtablehook.cpp:18: +/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); + | ^~~ +../src/vtablehook.cpp:278:76: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] + 278 | qWarning() << "Is not a virtual function, function address: 0x" << hex << functionOffset; + | ^~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, + from ../src/vtablehook.h:23, + from ../src/vtablehook.cpp:18: +/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); + | ^~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from utility.h:21, - from utility_x11.cpp:18: + from dnotitlebarwindowhelper.h:25, + from dnotitlebarwindowhelper.cpp:21: utility.h: In function 'QRegion operator*(const QRegion&, qreal)': utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 203 | foreach (const QRect &rect, pointRegion.rects()) { @@ -1710,15 +1783,22 @@ from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from utility.h:21, - from utility_x11.cpp:18: + from dnotitlebarwindowhelper.h:25, + from dnotitlebarwindowhelper.cpp:21: /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractnativeeventfilter.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QAbstractNativeEventFilter:1, - from xcbnativeeventfilter.h:23, - from xcbnativeeventfilter.cpp:18: +In file included from ../src/dxcbxsettings.h:43, + from ../src/dnativesettings.cpp:23: +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] + 35 | class DPlatformSettings + | ^~~~~~~~~~~~~~~~~ +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: utility.h: In function 'QRegion operator*(const QRegion&, qreal)': utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 203 | foreach (const QRect &rect, pointRegion.rects()) { @@ -1734,47 +1814,13 @@ from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from utility.h:21, - from xcbnativeeventfilter.cpp:19: + from utility_x11.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -../src/vtablehook.cpp: In static member function 'static void deepin_platform_plugin::VtableHook::autoCleanVtable(const void*)': -../src/vtablehook.cpp:161:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 161 | Destruct destruct = *reinterpret_cast(&fun); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../src/vtablehook.cpp: In static member function 'static quintptr deepin_platform_plugin::VtableHook::originalFun(const void*, quintptr)': -../src/vtablehook.cpp:278:76: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] - 278 | qWarning() << "Is not a virtual function, function address: 0x" << hex << functionOffset; - | ^~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, - from ../src/vtablehook.h:23, - from ../src/vtablehook.cpp:18: -/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); - | ^~~ -../src/vtablehook.cpp:278:76: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] - 278 | qWarning() << "Is not a virtual function, function address: 0x" << hex << functionOffset; - | ^~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, - from ../src/vtablehook.h:23, - from ../src/vtablehook.cpp:18: -/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); - | ^~~ -In file included from ../src/dxcbxsettings.h:43, - from ../src/dxcbxsettings.cpp:40: -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] - 35 | class DPlatformSettings - | ^~~~~~~~~~~~~~~~~ -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from dnotitlebarwindowhelper.h:25, - from dnotitlebarwindowhelper.cpp:21: +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, + from dplatformnativeinterfacehook.h:21, + from dplatformnativeinterfacehook.cpp:18: utility.h: In function 'QRegion operator*(const QRegion&, qreal)': utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 203 | foreach (const QRect &rect, pointRegion.rects()) { @@ -1790,14 +1836,15 @@ from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from utility.h:21, - from dnotitlebarwindowhelper.h:25, - from dnotitlebarwindowhelper.cpp:21: + from dplatformnativeinterfacehook.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, - from dplatformnativeinterfacehook.h:21, - from dplatformnativeinterfacehook.cpp:18: +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractnativeeventfilter.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QAbstractNativeEventFilter:1, + from xcbnativeeventfilter.h:23, + from xcbnativeeventfilter.cpp:18: utility.h: In function 'QRegion operator*(const QRegion&, qreal)': utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 203 | foreach (const QRect &rect, pointRegion.rects()) { @@ -1813,21 +1860,10 @@ from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from utility.h:21, - from dplatformnativeinterfacehook.cpp:20: + from xcbnativeeventfilter.cpp:19: /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -In file included from ../src/dxcbxsettings.h:43, - from ../src/dnativesettings.cpp:23: -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] - 35 | class DPlatformSettings - | ^~~~~~~~~~~~~~~~~ -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] -In file included from ../src/dplatformsettings.cpp:22: -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] - 35 | class DPlatformSettings - | ^~~~~~~~~~~~~~~~~ -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, @@ -1854,14 +1890,7 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -In file included from ../src/dxcbxsettings.h:43, - from xcbnativeeventfilter.cpp:30: -../src/dplatformsettings.h: At global scope: -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] - 35 | class DPlatformSettings - | ^~~~~~~~~~~~~~~~~ -../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] -g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dplatformbackingstorehelper.o dplatformbackingstorehelper.cpp +g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dplatformopenglcontexthelper.o dplatformopenglcontexthelper.cpp In file included from ../src/dxcbxsettings.h:43, from dhighdpi.cpp:23: ../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] @@ -1895,6 +1924,18 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ +../src/dnativesettings.cpp: In member function 'void deepin_platform_plugin::DNativeSettings::init(const QMetaObject*)': +../src/dnativesettings.cpp:196:91: warning: 'QSet QList::toSet() const [with T = QByteArray]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 196 | m_base->setProperty(ALL_KEYS, QVariant::fromValue(m_settings->settingKeys().toSet())); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSet:1, + from ../src/dnativesettings.h:26, + from ../src/dnativesettings.cpp:21: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:413:13: note: declared here + 413 | QSet toSet() const; + | ^~~~~ dnotitlebarwindowhelper.cpp: In constructor 'deepin_platform_plugin::DNoTitlebarWindowHelper::DNoTitlebarWindowHelper(QWindow*, quint32)': dnotitlebarwindowhelper.cpp:74:70: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 74 | qWarning() << "native settings is invalid for window: 0x" << hex << windowID; @@ -1916,143 +1957,8 @@ /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); | ^~~ -../src/dnativesettings.cpp: In member function 'void deepin_platform_plugin::DNativeSettings::init(const QMetaObject*)': -../src/dnativesettings.cpp:196:91: warning: 'QSet QList::toSet() const [with T = QByteArray]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] - 196 | m_base->setProperty(ALL_KEYS, QVariant::fromValue(m_settings->settingKeys().toSet())); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSet:1, - from ../src/dnativesettings.h:26, - from ../src/dnativesettings.cpp:21: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:413:13: note: declared here - 413 | QSet toSet() const; - | ^~~~~ -utility_x11.cpp: In function 'QVector deepin_platform_plugin::qregion2XcbRectangles(const QRegion&)': -utility_x11.cpp:249:43: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 249 | for (const QRect &rect : region.rects()) { - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -utility_x11.cpp: In static member function 'static void deepin_platform_plugin::Utility::setShapePath(quint32, const QPainterPath&, bool, bool)': -utility_x11.cpp:301:71: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 301 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -utility_x11.cpp:301:9: note: in expansion of macro 'foreach' - 301 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ -utility_x11.cpp: In static member function 'static QRegion deepin_platform_plugin::Utility::regionAddMargins(const QRegion&, const QMargins&, const QPoint&)': -utility_x11.cpp:418:43: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 418 | for (const QRect &rect : region.rects()) { - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -utility_x11.cpp: In static member function 'static bool deepin_platform_plugin::Utility::blurWindowBackground(quint32, const QVector&)': -utility_x11.cpp:532:83: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 532 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -utility_x11.cpp:532:21: note: in expansion of macro 'foreach' - 532 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -utility_x11.cpp: In static member function 'static bool deepin_platform_plugin::Utility::blurWindowBackgroundByPaths(quint32, const QList&)': -utility_x11.cpp:586:79: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 586 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -utility_x11.cpp:586:17: note: in expansion of macro 'foreach' - 586 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ -utility_x11.cpp: In static member function 'static bool deepin_platform_plugin::Utility::blurWindowBackgroundByImage(quint32, const QRect&, const QImage&)': -utility_x11.cpp:609:99: warning: 'int QImage::byteCount() const' is deprecated: Use sizeInBytes [-Wdeprecated-declarations] - 609 | array.reserve(area.size() * sizeof(qint32) / sizeof(char) * area.size() + maskImage.byteCount()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:221:44: note: declared here - 221 | QT_DEPRECATED_X("Use sizeInBytes") int byteCount() const; - | ^~~~~~~~~ -utility_x11.cpp:611:74: warning: 'int QImage::byteCount() const' is deprecated: Use sizeInBytes [-Wdeprecated-declarations] - 611 | array.append((const char*)maskImage.constBits(), maskImage.byteCount()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from utility_x11.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:221:44: note: declared here - 221 | QT_DEPRECATED_X("Use sizeInBytes") int byteCount() const; - | ^~~~~~~~~ -g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dplatformopenglcontexthelper.o dplatformopenglcontexthelper.cpp -In file included from dnotitlebarwindowhelper.cpp:22: -../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = bool (QWindow::*)(QEvent*); Fun2 = bool (deepin_platform_plugin::DNoTitlebarWindowHelper::*)(QEvent*); quintptr = long long unsigned int]': -../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = bool (QWindow::*)(QEvent*); Fun2 = bool (deepin_platform_plugin::DNoTitlebarWindowHelper::*)(QEvent*); typename QtPrivate::FunctionPointer::Object = QWindow; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DNoTitlebarWindowHelper]' -dnotitlebarwindowhelper.cpp:391:108: required from here -../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] - 99 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) - | ~~~~~~~~~~~~^~~ +/usr/lib/qt5/bin/rcc -name cursor cursors/cursor.qrc -o qrc_cursor.cpp +/usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dxcbwmsupport.h -o moc_dxcbwmsupport.cpp In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui/qpa/qplatformwindow.h:51, from libqt5xcbqpa-dev/5.15.2/qxcbwindow.h:43, @@ -2103,8 +2009,13 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:1225:55: note: declared here 1225 | Q_OUTOFLINE_TEMPLATE typename QHash::iterator QHash::insertMulti(const Key &key, const T &value) { | ^~~~~~~~~~~~~ -/usr/lib/qt5/bin/rcc -name cursor cursors/cursor.qrc -o qrc_cursor.cpp -/usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dxcbwmsupport.h -o moc_dxcbwmsupport.cpp +In file included from dnotitlebarwindowhelper.cpp:22: +../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = bool (QWindow::*)(QEvent*); Fun2 = bool (deepin_platform_plugin::DNoTitlebarWindowHelper::*)(QEvent*); quintptr = long long unsigned int]': +../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = bool (QWindow::*)(QEvent*); Fun2 = bool (deepin_platform_plugin::DNoTitlebarWindowHelper::*)(QEvent*); typename QtPrivate::FunctionPointer::Object = QWindow; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DNoTitlebarWindowHelper]' +dnotitlebarwindowhelper.cpp:391:108: required from here +../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] + 99 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) + | ~~~~~~~~~~~~^~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, from dforeignplatformwindow.h:23, from dforeignplatformwindow_x11.cpp:18: @@ -2131,6 +2042,13 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ +In file included from ../src/dxcbxsettings.h:43, + from xcbnativeeventfilter.cpp:30: +../src/dplatformsettings.h: At global scope: +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::callback_links' [-Wattributes] + 35 | class DPlatformSettings + | ^~~~~~~~~~~~~~~~~ +../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, from dplatformwindowhelper.h:21, from dplatformwindowhelper.cpp:18: @@ -2182,7 +2100,10 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ -/usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dnotitlebarwindowhelper.h -o moc_dnotitlebarwindowhelper.cpp +../src/dxcbxsettings.cpp: At global scope: +../src/dxcbxsettings.cpp:75:19: warning: 'QByteArray atomName(xcb_connection_t*, xcb_atom_t)' defined but not used [-Wunused-function] + 75 | static QByteArray atomName(xcb_connection_t *conn, xcb_atom_t atom) + | ^~~~~~~~ In file included from windoweventhook.cpp:19: ../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, Fun2, bool) [with Fun1 = void (QXcbWindowEventListener::*)(const xcb_map_notify_event_t*); Fun2 = void (*)(QXcbWindowEventListener*, const xcb_map_notify_event_t*); quintptr = long long unsigned int]': ../src/vtablehook.h:207:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, Fun2) [with Fun1 = void (QXcbWindowEventListener::*)(const xcb_map_notify_event_t*); Fun2 = void (*)(QXcbWindowEventListener*, const xcb_map_notify_event_t*); typename QtPrivate::FunctionPointer::Object = QXcbWindowEventListener]' @@ -2214,14 +2135,45 @@ ../src/vtablehook.h:207:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, Fun2) [with Fun1 = void (QXcbWindowEventListener::*)(const xcb_property_notify_event_t*); Fun2 = void (*)(QXcbWindowEventListener*, const xcb_property_notify_event_t*); typename QtPrivate::FunctionPointer::Object = QXcbWindowEventListener]' windoweventhook.cpp:74:81: required from here ../src/vtablehook.h:183:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] -../src/dxcbxsettings.cpp: At global scope: -../src/dxcbxsettings.cpp:75:19: warning: 'QByteArray atomName(xcb_connection_t*, xcb_atom_t)' defined but not used [-Wunused-function] - 75 | static QByteArray atomName(xcb_connection_t *conn, xcb_atom_t atom) - | ^~~~~~~~ -windoweventhook.cpp: At global scope: -windoweventhook.cpp:390:13: warning: 'bool deepin_platform_plugin::focusInPeeker(QXcbConnection*, xcb_generic_event_t*)' defined but not used [-Wunused-function] - 390 | static bool focusInPeeker(QXcbConnection *connection, xcb_generic_event_t *event) - | ^~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, + from dplatformbackingstorehelper.h:21, + from dplatformbackingstorehelper.cpp:18: +utility.h: In function 'QRegion operator*(const QRegion&, qreal)': +utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 203 | foreach (const QRect &rect, pointRegion.rects()) { + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +utility.h:203:5: note: in expansion of macro 'foreach' + 203 | foreach (const QRect &rect, pointRegion.rects()) { + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qicon.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindow.h:55, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui/qpa/qplatformwindow.h:57, + from libqt5xcbqpa-dev/5.15.2/qxcbwindow.h:43, + from dplatformwindowhelper.h:25, + from dplatformbackingstorehelper.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ +utility_x11.cpp: In function 'QVector deepin_platform_plugin::qregion2XcbRectangles(const QRegion&)': +utility_x11.cpp:249:43: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 249 | for (const QRect &rect : region.rects()) { + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, from dplatformintegration.h:23, from dplatformintegration.cpp:18: @@ -2246,10 +2198,130 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -dhighdpi.cpp: In static member function 'static void deepin_platform_plugin::DHighDpi::onDPIChanged(xcb_connection_t*, const QByteArray&, const QVariant&, void*)': -dhighdpi.cpp:155:115: warning: unused parameter 'handle' [-Wunused-parameter] - 155 | void DHighDpi::onDPIChanged(xcb_connection_t *connection, const QByteArray &name, const QVariant &property, void *handle) - | ~~~~~~^~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +utility_x11.cpp: In static member function 'static void deepin_platform_plugin::Utility::setShapePath(quint32, const QPainterPath&, bool, bool)': +utility_x11.cpp:301:71: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 301 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +utility_x11.cpp:301:9: note: in expansion of macro 'foreach' + 301 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ +utility_x11.cpp: In static member function 'static QRegion deepin_platform_plugin::Utility::regionAddMargins(const QRegion&, const QMargins&, const QPoint&)': +utility_x11.cpp:418:43: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 418 | for (const QRect &rect : region.rects()) { + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +utility_x11.cpp: In static member function 'static bool deepin_platform_plugin::Utility::blurWindowBackground(quint32, const QVector&)': +utility_x11.cpp:532:83: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 532 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +utility_x11.cpp:532:21: note: in expansion of macro 'foreach' + 532 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +utility_x11.cpp: In static member function 'static bool deepin_platform_plugin::Utility::blurWindowBackgroundByPaths(quint32, const QList&)': +utility_x11.cpp:586:79: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 586 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +utility_x11.cpp:586:17: note: in expansion of macro 'foreach' + 586 | foreach(const QRect &area, QRegion(polygon.toPolygon()).rects()) { + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ +utility_x11.cpp: In static member function 'static bool deepin_platform_plugin::Utility::blurWindowBackgroundByImage(quint32, const QRect&, const QImage&)': +utility_x11.cpp:609:99: warning: 'int QImage::byteCount() const' is deprecated: Use sizeInBytes [-Wdeprecated-declarations] + 609 | array.reserve(area.size() * sizeof(qint32) / sizeof(char) * area.size() + maskImage.byteCount()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:221:44: note: declared here + 221 | QT_DEPRECATED_X("Use sizeInBytes") int byteCount() const; + | ^~~~~~~~~ +utility_x11.cpp:611:74: warning: 'int QImage::byteCount() const' is deprecated: Use sizeInBytes [-Wdeprecated-declarations] + 611 | array.append((const char*)maskImage.constBits(), maskImage.byteCount()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from utility_x11.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:221:44: note: declared here + 221 | QT_DEPRECATED_X("Use sizeInBytes") int byteCount() const; + | ^~~~~~~~~ +windoweventhook.cpp: At global scope: +windoweventhook.cpp:390:13: warning: 'bool deepin_platform_plugin::focusInPeeker(QXcbConnection*, xcb_generic_event_t*)' defined but not used [-Wunused-function] + 390 | static bool focusInPeeker(QXcbConnection *connection, xcb_generic_event_t *event) + | ^~~~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dnotitlebarwindowhelper.h -o moc_dnotitlebarwindowhelper.cpp +dplatformbackingstorehelper.cpp: In member function 'void deepin_platform_plugin::DPlatformBackingStoreHelper::flush(QWindow*, const QRegion&, const QPoint&)': +dplatformbackingstorehelper.cpp:146:79: warning: 'void QBrush::setMatrix(const QMatrix&)' is deprecated: Use setTransform() [-Wdeprecated-declarations] + 146 | border_brush.setMatrix(QMatrix(1, 0, 0, 1, offset.x(), offset.y())); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpen.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1, + from dplatformbackingstorehelper.cpp:32: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:94:48: note: declared here + 94 | QT_DEPRECATED_X("Use setTransform()") void setMatrix(const QMatrix &mat); + | ^~~~~~~~~ +dplatformbackingstorehelper.cpp: In member function 'void deepin_platform_plugin::DPlatformBackingStoreHelper::resize(const QSize&, const QRegion&)': +dplatformbackingstorehelper.cpp:178:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 178 | QXcbShmImage *shm_image = reinterpret_cast(reinterpret_cast<_QXcbBackingStore*>( &bs )->m_image); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dplatformwindowhelper.cpp:21: ../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformWindow::*)(const QRect&); Fun2 = void (deepin_platform_plugin::DPlatformWindowHelper::*)(const QRect&); quintptr = long long unsigned int]': ../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformWindow::*)(const QRect&); Fun2 = void (deepin_platform_plugin::DPlatformWindowHelper::*)(const QRect&); typename QtPrivate::FunctionPointer::Object = QPlatformWindow; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformWindowHelper]' @@ -2314,15 +2386,25 @@ dplatformwindowhelper.cpp:130:5: required from here ../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] /usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dframewindow.h -o moc_dframewindow.cpp -/usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dplatformwindowhelper.h -o moc_dplatformwindowhelper.cpp -In file included from dhighdpi.cpp:22: -../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, Fun2, bool) [with Fun1 = QPair (QXcbScreen::*)() const; Fun2 = QPair (*)(QXcbScreen*); quintptr = long long unsigned int]': -../src/vtablehook.h:226:32: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(Fun1, Fun2) [with Class = QXcbScreen; Fun1 = QPair (QXcbScreen::*)() const; Fun2 = QPair (*)(QXcbScreen*)]' -../src/vtablehook.h:233:59: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(Fun1, Fun2) [with Fun1 = QPair (QXcbScreen::*)() const; Fun2 = QPair (*)(QXcbScreen*)]' -dhighdpi.cpp:89:78: required from here -../src/vtablehook.h:183:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] - 183 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) +In file included from dplatformbackingstorehelper.cpp:19: +../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformBackingStore::*)(const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QRegion&); quintptr = long long unsigned int]': +../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformBackingStore::*)(const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QRegion&); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' +dplatformbackingstorehelper.cpp:58:123: required from here +../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] + 99 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) | ~~~~~~~~~~~~^~~ +../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = QPaintDevice* (QPlatformBackingStore::*)(); Fun2 = QPaintDevice* (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(); quintptr = long long unsigned int]': +../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = QPaintDevice* (QPlatformBackingStore::*)(); Fun2 = QPaintDevice* (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' +dplatformbackingstorehelper.cpp:59:125: required from here +../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] +../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformBackingStore::*)(const QSize&, const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QSize&, const QRegion&); quintptr = long long unsigned int]': +../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformBackingStore::*)(const QSize&, const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QSize&, const QRegion&); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' +dplatformbackingstorehelper.cpp:60:115: required from here +../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] +../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformBackingStore::*)(QWindow*, const QRegion&, const QPoint&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(QWindow*, const QRegion&, const QPoint&); quintptr = long long unsigned int]': +../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformBackingStore::*)(QWindow*, const QRegion&, const QPoint&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(QWindow*, const QRegion&, const QPoint&); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' +dplatformbackingstorehelper.cpp:62:120: required from here +../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] dforeignplatformwindow_x11.cpp: In member function 'void deepin_platform_plugin::DForeignPlatformWindow::updateWindowTypes()': dforeignplatformwindow_x11.cpp:353:36: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 353 | Qt::WindowFlags window_flags = 0; @@ -2334,7 +2416,12 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ +/usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include dplatformwindowhelper.h -o moc_dplatformwindowhelper.cpp /usr/lib/qt5/bin/moc -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB --include /build/deepin-qt5dxcb-plugin-5.0.17/xcb/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb -I/build/deepin-qt5dxcb-plugin-5.0.17/xcb/libqt5xcbqpa-dev/5.15.2 -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/build/deepin-qt5dxcb-plugin-5.0.17/src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include main.cpp -o main.moc +dhighdpi.cpp: In static member function 'static void deepin_platform_plugin::DHighDpi::onDPIChanged(xcb_connection_t*, const QByteArray&, const QVariant&, void*)': +dhighdpi.cpp:155:115: warning: unused parameter 'handle' [-Wunused-parameter] + 155 | void DHighDpi::onDPIChanged(xcb_connection_t *connection, const QByteArray &name, const QVariant &property, void *handle) + | ~~~~~~^~~~~~ g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_cursor.o qrc_cursor.cpp g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dxcbwmsupport.o moc_dxcbwmsupport.cpp g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dnotitlebarwindowhelper.o moc_dnotitlebarwindowhelper.cpp @@ -2345,9 +2432,14 @@ 35 | class DPlatformSettings | ^~~~~~~~~~~~~~~~~ ../src/dplatformsettings.h:35:7: warning: 'deepin_platform_plugin::DPlatformSettings' declared with greater visibility than the type of its field 'deepin_platform_plugin::DPlatformSettings::signal_callback_links' [-Wattributes] -g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dframewindow.o moc_dframewindow.cpp -g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dplatformwindowhelper.o moc_dplatformwindowhelper.cpp -g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp +In file included from dhighdpi.cpp:22: +../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, Fun2, bool) [with Fun1 = QPair (QXcbScreen::*)() const; Fun2 = QPair (*)(QXcbScreen*); quintptr = long long unsigned int]': +../src/vtablehook.h:226:32: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(Fun1, Fun2) [with Class = QXcbScreen; Fun1 = QPair (QXcbScreen::*)() const; Fun2 = QPair (*)(QXcbScreen*)]' +../src/vtablehook.h:233:59: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(Fun1, Fun2) [with Fun1 = QPair (QXcbScreen::*)() const; Fun2 = QPair (*)(QXcbScreen*)]' +dhighdpi.cpp:89:78: required from here +../src/vtablehook.h:183:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] + 183 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) + | ~~~~~~~~~~~~^~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, from dplatformopenglcontexthelper.h:21, from dplatformopenglcontexthelper.cpp:18: @@ -2374,32 +2466,8 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, - from dplatformbackingstorehelper.h:21, - from dplatformbackingstorehelper.cpp:18: -utility.h: In function 'QRegion operator*(const QRegion&, qreal)': -utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 203 | foreach (const QRect &rect, pointRegion.rects()) { - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -utility.h:203:5: note: in expansion of macro 'foreach' - 203 | foreach (const QRect &rect, pointRegion.rects()) { - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qicon.h:46, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindow.h:55, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui/qpa/qplatformwindow.h:57, - from libqt5xcbqpa-dev/5.15.2/qxcbwindow.h:43, - from dplatformwindowhelper.h:25, - from dplatformbackingstorehelper.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ +g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dplatformwindowhelper.o moc_dplatformwindowhelper.cpp +g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_dframewindow.o moc_dframewindow.cpp dplatformopenglcontexthelper.cpp: In function 'void deepin_platform_plugin::drawCornerImage(const QImage&, const QPoint&, QPainter*, const QPainterPath&, QOpenGLFunctions*)': dplatformopenglcontexthelper.cpp:66:98: warning: 'void QBrush::setMatrix(const QMatrix&)' is deprecated: Use setTransform() [-Wdeprecated-declarations] 66 | brush.setMatrix(QMatrix(1, 0, 0, 1, -source_offset.x() - br.x(), -source_offset.y() - br.y())); @@ -2422,40 +2490,7 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:94:48: note: declared here 94 | QT_DEPRECATED_X("Use setTransform()") void setMatrix(const QMatrix &mat); | ^~~~~~~~~ -dplatformbackingstorehelper.cpp: In member function 'void deepin_platform_plugin::DPlatformBackingStoreHelper::flush(QWindow*, const QRegion&, const QPoint&)': -dplatformbackingstorehelper.cpp:146:79: warning: 'void QBrush::setMatrix(const QMatrix&)' is deprecated: Use setTransform() [-Wdeprecated-declarations] - 146 | border_brush.setMatrix(QMatrix(1, 0, 0, 1, offset.x(), offset.y())); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpen.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:54, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1, - from dplatformbackingstorehelper.cpp:32: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:94:48: note: declared here - 94 | QT_DEPRECATED_X("Use setTransform()") void setMatrix(const QMatrix &mat); - | ^~~~~~~~~ -dplatformbackingstorehelper.cpp: In member function 'void deepin_platform_plugin::DPlatformBackingStoreHelper::resize(const QSize&, const QRegion&)': -dplatformbackingstorehelper.cpp:178:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 178 | QXcbShmImage *shm_image = reinterpret_cast(reinterpret_cast<_QXcbBackingStore*>( &bs )->m_image); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from dplatformbackingstorehelper.cpp:19: -../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformBackingStore::*)(const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QRegion&); quintptr = long long unsigned int]': -../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformBackingStore::*)(const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QRegion&); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' -dplatformbackingstorehelper.cpp:58:123: required from here -../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] - 99 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) - | ~~~~~~~~~~~~^~~ -../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = QPaintDevice* (QPlatformBackingStore::*)(); Fun2 = QPaintDevice* (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(); quintptr = long long unsigned int]': -../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = QPaintDevice* (QPlatformBackingStore::*)(); Fun2 = QPaintDevice* (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' -dplatformbackingstorehelper.cpp:59:125: required from here -../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] -../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformBackingStore::*)(const QSize&, const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QSize&, const QRegion&); quintptr = long long unsigned int]': -../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformBackingStore::*)(const QSize&, const QRegion&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(const QSize&, const QRegion&); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' -dplatformbackingstorehelper.cpp:60:115: required from here -../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] -../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformBackingStore::*)(QWindow*, const QRegion&, const QPoint&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(QWindow*, const QRegion&, const QPoint&); quintptr = long long unsigned int]': -../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformBackingStore::*)(QWindow*, const QRegion&, const QPoint&); Fun2 = void (deepin_platform_plugin::DPlatformBackingStoreHelper::*)(QWindow*, const QRegion&, const QPoint&); typename QtPrivate::FunctionPointer::Object = QPlatformBackingStore; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformBackingStoreHelper]' -dplatformbackingstorehelper.cpp:62:120: required from here -../src/vtablehook.h:99:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] +g++ -c -pipe -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-vrp -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDXCB_VERSION=\"1.1.11\" -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_XINPUT21 -DXCB_USE_XINPUT22 -DXCB_USE_SM -DXCB_USE_RENDER -DQT_NO_DEBUG_OUTPUT -DUSE_NEW_IMPLEMENTING -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_CORE_LIB -I. -Ilibqt5xcbqpa-dev/5.15.2 -I../src -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtEdidSupport/5.15.2/QtEdidSupport -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp In file included from dplatformopenglcontexthelper.cpp:19: ../src/vtablehook.h: In instantiation of 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(quintptr*, Fun1, quintptr*, Fun2, bool) [with Fun1 = void (QPlatformOpenGLContext::*)(QPlatformSurface*); Fun2 = void (deepin_platform_plugin::DPlatformOpenGLContextHelper::*)(QPlatformSurface*); quintptr = long long unsigned int]': ../src/vtablehook.h:132:35: required from 'static bool deepin_platform_plugin::VtableHook::overrideVfptrFun(const typename QtPrivate::FunctionPointer::Object*, Fun1, const typename QtPrivate::FunctionPointer::Object*, Fun2) [with Fun1 = void (QPlatformOpenGLContext::*)(QPlatformSurface*); Fun2 = void (deepin_platform_plugin::DPlatformOpenGLContextHelper::*)(QPlatformSurface*); typename QtPrivate::FunctionPointer::Object = QPlatformOpenGLContext; typename QtPrivate::FunctionPointer::Object = deepin_platform_plugin::DPlatformOpenGLContextHelper]' @@ -2510,32 +2545,6 @@ from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, from utility.h:21, - from dframewindow.h:22, - from moc_dframewindow.cpp:10: -utility.h: In function 'QRegion operator*(const QRegion&, qreal)': -utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] - 203 | foreach (const QRect &rect, pointRegion.rects()) { - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' - 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ - | ^~~~~~~~~ -utility.h:203:5: note: in expansion of macro 'foreach' - 203 | foreach (const QRect &rect, pointRegion.rects()) { - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, - from dframewindow.h:22, - from moc_dframewindow.cpp:10: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here - 125 | QVector rects() const; - | ^~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, - from utility.h:21, from dnotitlebarwindowhelper.h:25, from moc_dnotitlebarwindowhelper.cpp:10: utility.h: In function 'QRegion operator*(const QRegion&, qreal)': @@ -2593,6 +2602,32 @@ ../src/vtablehook.h:183:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 183 | if (fun1_offset < 0 || fun1_offset > UINT_LEAST16_MAX) | ~~~~~~~~~~~~^~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from dframewindow.h:22, + from moc_dframewindow.cpp:10: +utility.h: In function 'QRegion operator*(const QRegion&, qreal)': +utility.h:203:51: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] + 203 | foreach (const QRect &rect, pointRegion.rects()) { + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1115:58: note: in definition of macro 'Q_FOREACH' + 1115 | for (auto _container_ = QtPrivate::qMakeForeachContainer(container); \ + | ^~~~~~~~~ +utility.h:203:5: note: in expansion of macro 'foreach' + 203 | foreach (const QRect &rect, pointRegion.rects()) { + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, + from utility.h:21, + from dframewindow.h:22, + from moc_dframewindow.cpp:10: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here + 125 | QVector rects() const; + | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1, from dplatformwindowhelper.h:21, from moc_dplatformwindowhelper.cpp:10: @@ -2625,7 +2660,7 @@ make[2]: Leaving directory '/build/deepin-qt5dxcb-plugin-5.0.17/xcb' make[1]: Leaving directory '/build/deepin-qt5dxcb-plugin-5.0.17' dh_auto_test - make -j15 check + make -j16 check make[1]: Entering directory '/build/deepin-qt5dxcb-plugin-5.0.17' cd xcb/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /build/deepin-qt5dxcb-plugin-5.0.17/xcb/xcb.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -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/deepin-qt5dxcb-plugin-5.0.17/xcb' @@ -2635,7 +2670,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j15 install DESTDIR=/build/deepin-qt5dxcb-plugin-5.0.17/debian/qt5dxcb-plugin AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/deepin-qt5dxcb-plugin-5.0.17/debian/qt5dxcb-plugin + make -j16 install DESTDIR=/build/deepin-qt5dxcb-plugin-5.0.17/debian/qt5dxcb-plugin AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/deepin-qt5dxcb-plugin-5.0.17/debian/qt5dxcb-plugin make[1]: Entering directory '/build/deepin-qt5dxcb-plugin-5.0.17' cd xcb/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /build/deepin-qt5dxcb-plugin-5.0.17/xcb/xcb.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/deepin-qt5dxcb-plugin-5.0.17=. -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/deepin-qt5dxcb-plugin-5.0.17/xcb' @@ -2665,8 +2700,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'qt5dxcb-plugin-dbgsym' in '../qt5dxcb-plugin-dbgsym_5.0.17-1_amd64.deb'. dpkg-deb: building package 'qt5dxcb-plugin' in '../qt5dxcb-plugin_5.0.17-1_amd64.deb'. +dpkg-deb: building package 'qt5dxcb-plugin-dbgsym' in '../qt5dxcb-plugin-dbgsym_5.0.17-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../deepin-qt5dxcb-plugin_5.0.17-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2674,12 +2709,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3816454/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3816454/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/2873689 and its subdirectories -I: Current time: Sat Jan 15 01:05:49 -12 2022 -I: pbuilder-time-stamp: 1642251949 +I: removing directory /srv/workspace/pbuilder/3816454 and its subdirectories +I: Current time: Sat Feb 18 09:29:54 +14 2023 +I: pbuilder-time-stamp: 1676662194