Diff of the two buildlogs: -- --- b1/build.log 2023-04-30 07:47:15.868223091 +0000 +++ b2/build.log 2023-04-30 07:49:56.601167867 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 29 19:40:39 -12 2023 -I: pbuilder-time-stamp: 1682840439 +I: Current time: Sun Jun 2 04:10:21 +14 2024 +I: pbuilder-time-stamp: 1717251021 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./efax-gtk_3.2.8.orig.tar.gz] I: copying [./efax-gtk_3.2.8-2.3.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Dec 19 05:31:10 2022 -12 +gpgv: Signature made Tue Dec 20 07:31:10 2022 +14 gpgv: using RSA key A36878F464108681600CB64844173FA13D058888 gpgv: issuer "paulliu@debian.org" gpgv: Can't check signature: No public key @@ -32,135 +32,167 @@ dpkg-source: info: applying 0003-correct-gettext-version.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/147218/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1263325/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 2 04:10 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1263325/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1263325/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 parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(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 parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8cbdd396018443fdbb61733719bce27b' - 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='147218' - PS1='# ' - PS2='> ' + INVOCATION_ID=844b4df1c7164b4498cf02c911f75bf8 + 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=1263325 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.y3I0dqX0/pbuilderrc_CI1U --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.y3I0dqX0/b1 --logfile b1/build.log efax-gtk_3.2.8-2.3.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/r-b-build.y3I0dqX0/pbuilderrc_X8pM --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.y3I0dqX0/b2 --logfile b2/build.log --extrapackages usrmerge efax-gtk_3.2.8-2.3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/147218/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 2 04:10 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1263325/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -399,7 +431,7 @@ Get: 193 http://deb.debian.org/debian bookworm/main amd64 libxml2-utils amd64 2.9.14+dfsg-1.2 [98.8 kB] Get: 194 http://deb.debian.org/debian bookworm/main amd64 libgtk2.0-dev amd64 2.24.33-2 [827 kB] Get: 195 http://deb.debian.org/debian bookworm/main amd64 libtiff5-dev amd64 4.5.0-5 [141 kB] -Fetched 83.9 MB in 3s (26.5 MB/s) +Fetched 83.9 MB in 1s (75.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19596 files and directories currently installed.) @@ -1203,10 +1235,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/efax-gtk-3.2.8/ && 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 > ../efax-gtk_3.2.8-2.3_source.changes +I: user script /srv/workspace/pbuilder/1263325/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1263325/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/efax-gtk-3.2.8/ && 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 > ../efax-gtk_3.2.8-2.3_source.changes dpkg-buildpackage: info: source package efax-gtk dpkg-buildpackage: info: source version 3.2.8-2.3 dpkg-buildpackage: info: source distribution unstable @@ -1266,7 +1305,7 @@ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --with-spooldir=\${prefix}/bin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1331,7 +1370,7 @@ checking for socklen_t... yes checking for in_addr_t... yes checking size of wchar_t... 4 -checking for a sed that does not truncate output... /bin/sed +checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt @@ -1343,10 +1382,10 @@ checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ELF binary format... yes -checking for the common suffixes of directories in the library search path... lib,lib,lib +checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes @@ -1393,7 +1432,7 @@ cp -p efax/efax.1 efax/efax-0.9a.1 cp -p efax/efix.1 efax/efix-0.9a.1 dh_auto_build - make -j15 + make -j16 make[2]: Entering directory '/build/efax-gtk-3.2.8' make all-recursive make[3]: Entering directory '/build/efax-gtk-3.2.8' @@ -1480,6 +1519,84 @@ 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, + from io_watch.cpp:28: +../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1033 | GStaticRecMutex& mutex; + | ^~~~~ +In file included from /usr/include/glib-2.0/glib.h:114, + from ../c++-gtk-utils/io_watch.h:118, + from io_watch.cpp:27: +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +../c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1044 | GStaticRecMutex* get() const {return &mutex;} + | ^~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +../c++-gtk-utils/mutex.h:1055:40: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} + | ^ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +../c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} + | ^ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +../c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': +../c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] + 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here + 181 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../c++-gtk-utils/mutex.h: In destructor 'Cgu::Thread::GrecmutexLock::~GrecmutexLock()': +../c++-gtk-utils/mutex.h:1076:46: warning: 'void g_static_rec_mutex_unlock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] + 1076 | ~GrecmutexLock() {g_static_rec_mutex_unlock(&mutex);} + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here + 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ +In file included from io_watch.cpp:29: +../c++-gtk-utils/thread.h: At global scope: +../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ../c++-gtk-utils/thread.h:28: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +../c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +../c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from ../c++-gtk-utils/emitter.h:329, from emitter.cpp:27: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; @@ -1577,6 +1694,25 @@ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +../c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::SafeEmitterArg::tracking_disconnect(Cgu::Callback::SafeFunctorArg) [with FreeArg = bool&]': +../c++-gtk-utils/emitter.h:1251:54: required from 'Cgu::Callback::SafeFunctorArg Cgu::SafeEmitterArg::connect(const Cgu::Callback::SafeFunctorArg&, Cgu::Releaser&) [with FreeArg = bool&]' +io_watch.cpp:254:39: required from here +../c++-gtk-utils/emitter.h:1331:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::SafeEmitterArg::ListItem; _Arg2 = Cgu::Callback::SafeFunctorArg; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 1331 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /usr/include/c++/12/functional:49, + from ../c++-gtk-utils/callback.h:746, + from ../c++-gtk-utils/io_watch.h:119: +/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +../c++-gtk-utils/emitter.h:1331:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function::ListItem, Cgu::Callback::SafeFunctorArg, bool>; _Tp = Cgu::Callback::SafeFunctorArg]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 1331 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/bits/stl_function.h:1438: +/usr/include/c++/12/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ emitter.cpp: In member function 'void Cgu::SafeEmitterArg::disconnect(const Cgu::Callback::SafeFunctor&)': emitter.cpp:427:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::SafeEmitterArg::ListItem; _Arg2 = Cgu::Callback::SafeFunctorArg; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 427 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); @@ -1629,39 +1765,29 @@ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from ../c++-gtk-utils/window.h:28, - from window.cpp:29: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ -In file included from ../c++-gtk-utils/emitter.h:329, - from timeout.cpp:28: +../c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::SafeEmitterArg >::tracking_disconnect(Cgu::Callback::SafeFunctorArg >) [with FreeArg1 = GIOCondition; FreeArg2 = bool&]': +../c++-gtk-utils/emitter.h:1969:54: required from 'Cgu::Callback::SafeFunctorArg > Cgu::SafeEmitterArg >::connect(const Cgu::Callback::SafeFunctorArg >&, Cgu::Releaser&) [with FreeArg1 = GIOCondition; FreeArg2 = bool&]' +io_watch.cpp:348:39: required from here +../c++-gtk-utils/emitter.h:2031:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::SafeEmitterArg >::ListItem; _Arg2 = Cgu::Callback::SafeFunctorArg >; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 2031 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +../c++-gtk-utils/emitter.h:2031:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function >::ListItem, Cgu::Callback::SafeFunctorArg >, bool>; _Tp = Cgu::Callback::SafeFunctorArg >]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 2031 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from ../c++-gtk-utils/thread.h:33, + from thread.cpp:27: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, - from ../c++-gtk-utils/timeout.h:99, - from timeout.cpp:27: + from ../c++-gtk-utils/callback.h:748, + from ../c++-gtk-utils/thread.h:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -1697,14 +1823,54 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../c++-gtk-utils/thread.h: At global scope: +../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ../c++-gtk-utils/thread.h:28: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +../c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +../c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +thread.cpp:68:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 68 | std::auto_ptr Thread::start(const Cgu::Callback::Callback* cb, bool joinable) { + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +thread.cpp: In static member function 'static std::auto_ptr Cgu::Thread::Thread::start(const Cgu::Callback::Callback*, bool)': +thread.cpp:71:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 71 | std::auto_ptr cb_a(const_cast(cb)); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +thread.cpp:73:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 73 | std::auto_ptr return_val; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, - from io_watch.cpp:28: + from ../c++-gtk-utils/notifier.h:42, + from notifier.cpp:33: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, - from ../c++-gtk-utils/io_watch.h:118, - from io_watch.cpp:27: + from notifier.cpp:31: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -1740,6 +1906,29 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from ../c++-gtk-utils/application.h:33, + from application.cpp:32: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from ../c++-gtk-utils/application.h:32: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, from callback.cpp:28: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] @@ -1791,8 +1980,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from ../c++-gtk-utils/application.h:33, - from application.cpp:32: + from ../c++-gtk-utils/window.h:28, + from window.cpp:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ @@ -1802,31 +1991,20 @@ from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, - from ../c++-gtk-utils/application.h:32: + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, - from ../c++-gtk-utils/notifier.h:42, - from notifier.cpp:33: + from timeout.cpp:28: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, - from notifier.cpp:31: + from ../c++-gtk-utils/timeout.h:99, + from timeout.cpp:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -1862,27 +2040,6 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from ../c++-gtk-utils/text_print_manager.h:32, - from text_print_manager.cpp:36: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/pango-1.0/pango/pango-types.h:26, - from text_print_manager.cpp:29: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1909,90 +2066,7 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ -In file included from ../c++-gtk-utils/thread.h:33, - from thread.cpp:27: -../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1033 | GStaticRecMutex& mutex; - | ^~~~~ -In file included from /usr/include/glib-2.0/glib.h:114, - from ../c++-gtk-utils/callback.h:748, - from ../c++-gtk-utils/thread.h:32: -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -../c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1044 | GStaticRecMutex* get() const {return &mutex;} - | ^~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -../c++-gtk-utils/mutex.h:1055:40: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} - | ^ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -../c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} - | ^ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -../c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': -../c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] - 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here - 181 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../c++-gtk-utils/mutex.h: In destructor 'Cgu::Thread::GrecmutexLock::~GrecmutexLock()': -../c++-gtk-utils/mutex.h:1076:46: warning: 'void g_static_rec_mutex_unlock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] - 1076 | ~GrecmutexLock() {g_static_rec_mutex_unlock(&mutex);} - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here - 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -../c++-gtk-utils/thread.h: At global scope: -../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from ../c++-gtk-utils/thread.h:28: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -../c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -../c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -thread.cpp:68:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 68 | std::auto_ptr Thread::start(const Cgu::Callback::Callback* cb, bool joinable) { - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -thread.cpp: In static member function 'static std::auto_ptr Cgu::Thread::Thread::start(const Cgu::Callback::Callback*, bool)': -thread.cpp:71:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 71 | std::auto_ptr cb_a(const_cast(cb)); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -thread.cpp:73:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 73 | std::auto_ptr return_val; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from io_watch.cpp:29: +In file included from callback.cpp:29: ../c++-gtk-utils/thread.h: At global scope: ../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, @@ -2019,28 +2093,6 @@ ../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, | ^~~~~~~~ -In file included from callback.cpp:29: -../c++-gtk-utils/thread.h: At global scope: -../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from ../c++-gtk-utils/thread.h:28: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -../c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -../c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../c++-gtk-utils/thread.h:28: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here @@ -2058,19 +2110,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/pango-1.0/pango/pango-types.h:25: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ ../c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::SafeEmitterArg::tracking_disconnect(Cgu::Callback::SafeFunctorArg) [with FreeArg = bool&]': ../c++-gtk-utils/emitter.h:1251:54: required from 'Cgu::Callback::SafeFunctorArg Cgu::SafeEmitterArg::connect(const Cgu::Callback::SafeFunctorArg&, Cgu::Releaser&) [with FreeArg = bool&]' timeout.cpp:107:15: required from here @@ -2090,42 +2129,9 @@ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::SafeEmitterArg::tracking_disconnect(Cgu::Callback::SafeFunctorArg) [with FreeArg = bool&]': -../c++-gtk-utils/emitter.h:1251:54: required from 'Cgu::Callback::SafeFunctorArg Cgu::SafeEmitterArg::connect(const Cgu::Callback::SafeFunctorArg&, Cgu::Releaser&) [with FreeArg = bool&]' -io_watch.cpp:254:39: required from here -../c++-gtk-utils/emitter.h:1331:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::SafeEmitterArg::ListItem; _Arg2 = Cgu::Callback::SafeFunctorArg; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 1331 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/c++/12/functional:49, - from ../c++-gtk-utils/callback.h:746, - from ../c++-gtk-utils/io_watch.h:119: -/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -../c++-gtk-utils/emitter.h:1331:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function::ListItem, Cgu::Callback::SafeFunctorArg, bool>; _Tp = Cgu::Callback::SafeFunctorArg]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 1331 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/bits/stl_function.h:1438: -/usr/include/c++/12/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::SafeEmitterArg >::tracking_disconnect(Cgu::Callback::SafeFunctorArg >) [with FreeArg1 = GIOCondition; FreeArg2 = bool&]': -../c++-gtk-utils/emitter.h:1969:54: required from 'Cgu::Callback::SafeFunctorArg > Cgu::SafeEmitterArg >::connect(const Cgu::Callback::SafeFunctorArg >&, Cgu::Releaser&) [with FreeArg1 = GIOCondition; FreeArg2 = bool&]' -io_watch.cpp:348:39: required from here -../c++-gtk-utils/emitter.h:2031:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::SafeEmitterArg >::ListItem; _Arg2 = Cgu::Callback::SafeFunctorArg >; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 2031 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -../c++-gtk-utils/emitter.h:2031:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function >::ListItem, Cgu::Callback::SafeFunctorArg >, bool>; _Tp = Cgu::Callback::SafeFunctorArg >]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 2031 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, - from ../c++-gtk-utils/application.h:37: + from ../c++-gtk-utils/application.h:37, + from window.cpp:30: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -2165,9 +2171,29 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from ../c++-gtk-utils/text_print_manager.h:32, + from text_print_manager.cpp:36: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/pango-1.0/pango/pango-types.h:26, + from text_print_manager.cpp:29: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, - from ../c++-gtk-utils/notifier.h:42, - from ../c++-gtk-utils/text_print_manager.h:40: + from ../c++-gtk-utils/application.h:37: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -2207,18 +2233,44 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -../c++-gtk-utils/text_print_manager.h: At global scope: -../c++-gtk-utils/text_print_manager.h:125:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 125 | std::auto_ptr text_a; - | ^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/pango-1.0/pango/pango-types.h:25: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ +In file included from application.cpp:34: +../c++-gtk-utils/thread.h: At global scope: +../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from ../c++-gtk-utils/text_print_manager.h:30: + from ../c++-gtk-utils/thread.h:28: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +../c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +../c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../c++-gtk-utils/emitter.h:329, - from ../c++-gtk-utils/application.h:37, - from window.cpp:30: + from ../c++-gtk-utils/notifier.h:42, + from ../c++-gtk-utils/text_print_manager.h:40: ../c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -2258,6 +2310,15 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../c++-gtk-utils/text_print_manager.h: At global scope: +../c++-gtk-utils/text_print_manager.h:125:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 125 | std::auto_ptr text_a; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ../c++-gtk-utils/text_print_manager.h:30: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ ../c++-gtk-utils/text_print_manager.h:237:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 237 | bool set_text(std::auto_ptr& text); | ^~~~~~~~ @@ -2270,28 +2331,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from application.cpp:34: -../c++-gtk-utils/thread.h: At global scope: -../c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from ../c++-gtk-utils/thread.h:28: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -../c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -../c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ rm -f libcxx-gtk-utils.a ar cru libcxx-gtk-utils.a io_watch.o notifier.o thread.o reassembler.o widget.o window.o callback.o text_print_manager.o pipes.o timeout.o emitter.o convert.o mutex.o prog_present.o application.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -2332,6 +2371,19 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2340,8 +2392,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from selected_rows_handle.h:30, - from selected_rows_handle.cpp:27: + from mono_tiff_print_manager.cpp:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ @@ -2357,32 +2408,6 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2391,7 +2416,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from mono_tiff_print_manager.cpp:25: + from selected_rows_handle.h:30, + from selected_rows_handle.cpp:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ @@ -2420,6 +2446,19 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ In file included from ../prog_defs.h:51, from utf8_utils.cpp:25: ../internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] @@ -2470,9 +2509,7 @@ 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../prog_defs.h:51, - from tree_path_handle.h:30, - from tree_row_reference_handle.h:29, - from selected_rows_handle.h:32: + from mono_tiff_print_manager.cpp:38: ../internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -2513,7 +2550,9 @@ 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../prog_defs.h:51, - from mono_tiff_print_manager.cpp:38: + from tree_path_handle.h:30, + from tree_row_reference_handle.h:29, + from selected_rows_handle.h:32: ../internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -2638,18 +2677,22 @@ g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o socket_list.o socket_list.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o socket_notify.o socket_notify.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o logger.o logger.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tray_icon.o tray_icon.cpp In file included from prog_defs.h:51, - from helpfile.h:12, - from helpfile.cpp:14: + from fax_list.h:12, + from fax_list.cpp:29: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/pango-1.0/pango/pango-coverage.h:25, - from /usr/include/pango-1.0/pango/pango-font.h:25, - from helpfile.cpp:9: + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from fax_list.cpp:25: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -2693,7 +2736,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from helpfile.h:14: + from fax_list.h:18: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -2715,18 +2758,43 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ +In file included from ./internal/c++-gtk-utils/async_queue.h:75, + from fax_list.h:29: +./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from fax_list.cpp:11: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from prog_defs.h:51, - from dialogs.h:12, - from dialogs.cpp:21: + from file_list.h:12, + from file_list.cpp:20: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/pango-1.0/pango/pango-coverage.h:25, - from /usr/include/pango-1.0/pango/pango-font.h:25, - from dialogs.cpp:18: + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from file_list.cpp:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -2762,6 +2830,27 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +fax_list.cpp: In member function 'void FaxListDialog::print_fax()': +fax_list.cpp:881:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 881 | std::auto_ptr fax_basename_a(new std::string(prog_config.working_dir)); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +fax_list.cpp: In member function 'void FaxListDialog::print_fax_thread(std::string*, bool)': +fax_list.cpp:956:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 956 | const std::auto_ptr fax_basename_a(arg_p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +fax_list.cpp: In member function 'void FaxListDialog::view_fax()': +fax_list.cpp:1095:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1095 | std::auto_ptr fax_basename_a(new std::string(prog_config.working_dir)); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2770,31 +2859,49 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from dialogs.h:18: + from file_list.h:17: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ +fax_list.cpp:1118:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1118 | std::auto_ptr filename_a(new std::string(prog_config.working_dir)); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ +fax_list.cpp: In member function 'void FaxListDialog::view_fax_thread(std::string*, std::pair*, int>)': +fax_list.cpp:1179:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1179 | const std::auto_ptr fax_basename_a(fax_basename_p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +fax_list.cpp:1180:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1180 | const std::auto_ptr filename_a(file_pair.first); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from prog_defs.h:51, - from settings_help.h:12, - from settings_help.cpp:9: + from mainwindow.h:12, + from mainwindow.cpp:31: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from prog_defs.h:48: + from /usr/include/pango-1.0/pango/pango-coverage.h:25, + from /usr/include/pango-1.0/pango/pango-font.h:25, + from /usr/include/pango-1.0/pango/pango-attributes.h:25, + from /usr/include/pango-1.0/pango/pango-layout.h:25, + from mainwindow.cpp:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -2838,7 +2945,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from settings_help.h:17: + from mainwindow.h:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -2848,31 +2955,21 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tray_icon.o tray_icon.cpp -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ In file included from prog_defs.h:51, - from logger.h:12, - from logger.cpp:21: + from settings_help.h:12, + from settings_help.cpp:9: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/pango-1.0/pango/pango-coverage.h:25, - from /usr/include/pango-1.0/pango/pango-font.h:25, - from logger.cpp:17: + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from prog_defs.h:48: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -2916,7 +3013,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from logger.h:18: + from settings_help.h:17: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -2939,19 +3036,17 @@ 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from prog_defs.h:51, - from main.cpp:9: + from dialogs.h:12, + from dialogs.cpp:21: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from prog_defs.h:48: + from /usr/include/pango-1.0/pango/pango-coverage.h:25, + from /usr/include/pango-1.0/pango/pango-font.h:25, + from dialogs.cpp:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -2987,9 +3082,39 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from dialogs.h:18: +/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ In file included from prog_defs.h:51, - from file_list.h:12, - from file_list.cpp:20: + from fax_list_manager.h:12, + from fax_list_manager.cpp:21: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -3001,7 +3126,7 @@ from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, - from file_list.cpp:18: + from prog_defs.h:48: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3037,27 +3162,42 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from file_list.h:17: -/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ In file included from prog_defs.h:51, - from addressbook.h:12, - from socket_notify.cpp:13: + from helpfile.h:12, + from helpfile.cpp:14: +./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1033 | GStaticRecMutex& mutex; + | ^~~~~ +In file included from /usr/include/glib-2.0/glib.h:114, + from /usr/include/glib-2.0/gobject/gbinding.h:30, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/pango-1.0/pango/pango-coverage.h:25, + from /usr/include/pango-1.0/pango/pango-font.h:25, + from helpfile.cpp:9: +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1044 | GStaticRecMutex* get() const {return &mutex;} + | ^~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h:1055:40: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} + | ^ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} + | ^ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +In file included from prog_defs.h:51, + from socket_list.h:12, + from socket_list.cpp:23: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -3069,10 +3209,17 @@ from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, - from prog_defs.h:48: + from socket_list.cpp:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': +./internal/c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] + 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here + 181 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); + | ^~~~~~~~~~~~~~~~~~~~~~~ ./internal/c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1044 | GStaticRecMutex* get() const {return &mutex;} | ^~~~~ @@ -3088,9 +3235,16 @@ ./internal/c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} | ^ +./internal/c++-gtk-utils/mutex.h: In destructor 'Cgu::Thread::GrecmutexLock::~GrecmutexLock()': +./internal/c++-gtk-utils/mutex.h:1076:46: warning: 'void g_static_rec_mutex_unlock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] + 1076 | ~GrecmutexLock() {g_static_rec_mutex_unlock(&mutex);} + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here + 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./internal/c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': ./internal/c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} @@ -3125,7 +3279,25 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from addressbook.h:17: + from helpfile.h:14: +/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from socket_list.h:18: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -3136,8 +3308,8 @@ 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from prog_defs.h:51, - from fax_list_manager.h:12, - from fax_list_manager.cpp:21: + from settings.h:12, + from settings.cpp:23: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -3149,7 +3321,7 @@ from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, - from prog_defs.h:48: + from settings.cpp:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3185,9 +3357,27 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from settings.h:19: +/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ In file included from prog_defs.h:51, - from settings.h:12, - from settings.cpp:23: + from addressbook.h:12, + from addressbook.cpp:18: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -3199,7 +3389,7 @@ from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, - from settings.cpp:21: + from addressbook.cpp:15: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3235,6 +3425,18 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -3243,7 +3445,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from settings.h:19: + from addressbook.h:17: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -3253,76 +3455,14 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ In file included from prog_defs.h:51, - from socket_server.h:12, - from socket_server.cpp:30: -./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1033 | GStaticRecMutex& mutex; - | ^~~~~ -In file included from /usr/include/glib-2.0/glib.h:114, - from socket_server.cpp:28: -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1044 | GStaticRecMutex* get() const {return &mutex;} - | ^~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h:1055:40: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} - | ^ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} - | ^ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': -./internal/c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] - 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here - 181 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); - | ^~~~~~~~~~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h: In destructor 'Cgu::Thread::GrecmutexLock::~GrecmutexLock()': -./internal/c++-gtk-utils/mutex.h:1076:46: warning: 'void g_static_rec_mutex_unlock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] - 1076 | ~GrecmutexLock() {g_static_rec_mutex_unlock(&mutex);} - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here - 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from prog_defs.h:51, - from addressbook.h:12, - from addressbook.cpp:18: + from efax_controller.h:12, + from efax_controller.cpp:33: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, - from /usr/include/glib-2.0/gobject/gbinding.h:30, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from addressbook.cpp:15: + from efax_controller.cpp:31: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3358,27 +3498,8 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from addressbook.h:17: -/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ In file included from prog_defs.h:51, - from socket_list.h:12, - from socket_list.cpp:23: + from main.cpp:9: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ @@ -3390,7 +3511,7 @@ from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, - from socket_list.cpp:21: + from prog_defs.h:48: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3426,22 +3547,34 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from dialogs.cpp:28: -gpl.h:356:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 356 | inline std::auto_ptr gpl_copyright_msg(void) { - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from gpl.h:5: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -gpl.h: In function 'std::auto_ptr > gpl_copyright_msg()': -gpl.h:357:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 357 | std::auto_ptr return_val(new std::string(copyright_msg_part_1)); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +In file included from file_list.cpp:29: +./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 150 | class Functor1: public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/bits/refwrap.h:39, + from /usr/include/c++/12/vector:66, + from file_list.cpp:14: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 167 | class Functor1_const: public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:184:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 184 | class Functor2: public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:201:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 201 | class Functor2_const: public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -3462,7 +3595,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from socket_list.h:18: + from fax_list_manager.h:20: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -3472,6 +3605,36 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ +In file included from ./internal/c++-gtk-utils/async_queue.h:75, + from fax_list.h:29, + from mainwindow.h:28: +./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from mainwindow.cpp:18: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from mainwindow.h:29: +socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 58 | std::auto_ptr thread; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -3492,16 +3655,12 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from fax_list_manager.h:20: + from redial_queue.h:18, + from efax_controller.h:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -3514,69 +3673,33 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from main.cpp:36: -/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31: + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from prog_defs.h:48: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from socket_server.h:26: -./internal/c++-gtk-utils/thread.h: At global scope: -./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from socket_server.h:17: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from logger.cpp:27: -./internal/c++-gtk-utils/text_print_manager.h:125:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 125 | std::auto_ptr text_a; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from logger.cpp:11: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/text_print_manager.h:237:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 237 | bool set_text(std::auto_ptr& text); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from prog_defs.h:51, - from efax_controller.h:12, - from efax_controller.cpp:33: + from tray_icon.h:12, + from tray_icon.cpp:14: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, - from efax_controller.cpp:31: + from /usr/include/glib-2.0/gobject/gbinding.h:30, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from prog_defs.h:48: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3612,46 +3735,24 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ -In file included from file_list.cpp:29: -./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 150 | class Functor1: public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/bits/refwrap.h:39, - from /usr/include/c++/12/vector:66, - from file_list.cpp:14: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 167 | class Functor1_const: public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:184:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 184 | class Functor2: public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:201:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 201 | class Functor2_const: public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from tray_icon.h:14: +/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -3665,19 +3766,20 @@ 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from prog_defs.h:51, - from mainwindow.h:12, - from mainwindow.cpp:31: + from addressbook.h:12, + from socket_notify.cpp:13: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/pango-1.0/pango/pango-coverage.h:25, - from /usr/include/pango-1.0/pango/pango-font.h:25, - from /usr/include/pango-1.0/pango/pango-attributes.h:25, - from /usr/include/pango-1.0/pango/pango-layout.h:25, - from mainwindow.cpp:27: + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from prog_defs.h:48: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3713,28 +3815,14 @@ /usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -logger.cpp: In member function 'void Logger::print_log()': -logger.cpp:309:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 309 | std::auto_ptr text(new std::string); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from prog_defs.h:51, - from fax_list.h:12, - from fax_list.cpp:29: + from socket_server.h:12, + from socket_server.cpp:30: ./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 1033 | GStaticRecMutex& mutex; | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:114, - from /usr/include/glib-2.0/gobject/gbinding.h:30, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from fax_list.cpp:25: + from socket_server.cpp:28: /usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); | ^~~~~~~~~~~~~~~ @@ -3778,43 +3866,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from mainwindow.h:23: -/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ -socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 58 | std::auto_ptr thread; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from fax_list.h:18: + from addressbook.h:17: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -3824,86 +3876,6 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from socket_server.cpp:34: -./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 150 | class Functor1: public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/fstream:38, - from socket_server.cpp:10: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 167 | class Functor1_const: public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:184:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 184 | class Functor2: public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:201:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 201 | class Functor2_const: public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from redial_queue.h:18, - from efax_controller.h:27: -/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from prog_defs.h:48: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ -In file included from socket_server.h:26, - from socket_list.h:20: -./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from socket_server.h:17: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -3928,6 +3900,39 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ +In file included from prog_defs.h:51, + from logger.h:12, + from logger.cpp:21: +./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1033 | GStaticRecMutex& mutex; + | ^~~~~ +In file included from /usr/include/glib-2.0/glib.h:114, + from /usr/include/glib-2.0/gobject/gbinding.h:30, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/pango-1.0/pango/pango-coverage.h:25, + from /usr/include/pango-1.0/pango/pango-font.h:25, + from logger.cpp:17: +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1044 | GStaticRecMutex* get() const {return &mutex;} + | ^~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h:1055:40: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} + | ^ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] + 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} + | ^ +/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here + 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); + | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -3940,47 +3945,36 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ -socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 58 | std::auto_ptr thread; - | ^~~~~~~~ +./internal/c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': +./internal/c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] + 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here + 181 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); + | ^~~~~~~~~~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mutex.h: In destructor 'Cgu::Thread::GrecmutexLock::~GrecmutexLock()': +./internal/c++-gtk-utils/mutex.h:1076:46: warning: 'void g_static_rec_mutex_unlock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] + 1076 | ~GrecmutexLock() {g_static_rec_mutex_unlock(&mutex);} + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here + 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from efax_controller.cpp:37: +./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from efax_controller.cpp:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from socket_list.cpp:28: -./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 150 | class Functor1: public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/bits/refwrap.h:39, - from /usr/include/c++/12/vector:66, - from socket_list.cpp:15: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 167 | class Functor1_const: public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:184:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 184 | class Functor2: public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mem_fun.h:201:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 201 | class Functor2_const: public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o redial_queue.o redial_queue.cpp -In file included from efax_controller.cpp:37: +In file included from socket_server.h:26, + from socket_list.h:20: ./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from efax_controller.cpp:22: + from socket_server.h:17: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -3996,6 +3990,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from efax_controller.cpp:41: ./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 150 | class Functor1: public std::unary_function { @@ -4010,6 +4010,12 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ ./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 167 | class Functor1_const: public std::unary_function { | ^~~~~~~~~~~~~~ @@ -4028,15 +4034,25 @@ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./internal/c++-gtk-utils/async_queue.h:75, - from fax_list.h:29, - from mainwindow.h:28, - from main.cpp:40: +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ +In file included from socket_server.h:26: +./internal/c++-gtk-utils/thread.h: At global scope: ./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from ./internal/c++-gtk-utils/thread.h:28: + from socket_server.h:17: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -4052,86 +4068,82 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from ./internal/c++-gtk-utils/async_queue.h:75, - from fax_list.h:29, - from mainwindow.h:28: -./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ +In file included from ./internal/c++-gtk-utils/notifier.h:42, + from efax_controller.h:23, + from mainwindow.h:26: +./internal/c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::EmitterArg::tracking_disconnect(Cgu::Callback::FunctorArg) [with FreeArg = const std::pair, std::__cxx11::basic_string >&]': +./internal/c++-gtk-utils/emitter.h:751:54: required from 'Cgu::Callback::FunctorArg Cgu::EmitterArg::connect(const Cgu::Callback::FunctorArg&, Cgu::Releaser&) [with FreeArg = const std::pair, std::__cxx11::basic_string >&]' +mainwindow.cpp:1139:45: required from here +./internal/c++-gtk-utils/emitter.h:807:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::EmitterArg, __cxx11::basic_string >&>::ListItem; _Arg2 = Cgu::Callback::FunctorArg, __cxx11::basic_string >&>; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/fstream:38, + from mainwindow.cpp:17: +/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +./internal/c++-gtk-utils/emitter.h:807:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function, __cxx11::basic_string >&>::ListItem, Cgu::Callback::FunctorArg, __cxx11::basic_string >&>, bool>; _Tp = Cgu::Callback::FunctorArg, __cxx11::basic_string >&>]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/bits/stl_function.h:1438: +/usr/include/c++/12/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from logger.h:18: +/usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::EmitterArg::tracking_disconnect(Cgu::Callback::FunctorArg) [with FreeArg = std::pair, unsigned int> > >, Cgu::SharedPtr >]': +./internal/c++-gtk-utils/emitter.h:751:54: required from 'Cgu::Callback::FunctorArg Cgu::EmitterArg::connect(const Cgu::Callback::FunctorArg&, Cgu::Releaser&) [with FreeArg = std::pair, unsigned int> > >, Cgu::SharedPtr >]' +mainwindow.cpp:1185:31: required from here +./internal/c++-gtk-utils/emitter.h:807:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::EmitterArg, unsigned int> > >, Cgu::SharedPtr > >::ListItem; _Arg2 = Cgu::Callback::FunctorArg, unsigned int> > >, Cgu::SharedPtr > >; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +./internal/c++-gtk-utils/emitter.h:807:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function, unsigned int> > >, Cgu::SharedPtr > >::ListItem, Cgu::Callback::FunctorArg, unsigned int> > >, Cgu::SharedPtr > >, bool>; _Tp = Cgu::Callback::FunctorArg, unsigned int> > >, Cgu::SharedPtr > >]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DRC_DIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o redial_queue.o redial_queue.cpp +In file included from dialogs.cpp:28: +gpl.h:356:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 356 | inline std::auto_ptr gpl_copyright_msg(void) { + | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from mainwindow.cpp:18: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ + from gpl.h:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from mainwindow.h:29: -socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 58 | std::auto_ptr thread; +gpl.h: In function 'std::auto_ptr > gpl_copyright_msg()': +gpl.h:357:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 357 | std::auto_ptr return_val(new std::string(copyright_msg_part_1)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from prog_defs.h:51, - from tray_icon.h:12, - from tray_icon.cpp:14: -./internal/c++-gtk-utils/mutex.h:1033:20: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1033 | GStaticRecMutex& mutex; - | ^~~~~ -In file included from /usr/include/glib-2.0/glib.h:114, - from /usr/include/glib-2.0/gobject/gbinding.h:30, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from prog_defs.h:48: -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h:1044:26: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1044 | GStaticRecMutex* get() const {return &mutex;} - | ^~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h:1055:40: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} - | ^ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h:1066:52: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] - 1066 | GrecmutexLock(GStaticRecMutex& mutex_, Locked tag): mutex(mutex_) {} - | ^ -/usr/include/glib-2.0/glib/deprecated/gthread.h:158:33: note: declared here - 158 | typedef struct _GStaticRecMutex GStaticRecMutex GLIB_DEPRECATED_TYPE_IN_2_32_FOR(GRecMutex); - | ^~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h: In constructor 'Cgu::Thread::GrecmutexLock::GrecmutexLock(GStaticRecMutex&)': -./internal/c++-gtk-utils/mutex.h:1055:81: warning: 'void g_static_rec_mutex_lock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] - 1055 | GrecmutexLock(GStaticRecMutex& mutex_): mutex(mutex_) {g_static_rec_mutex_lock(&mutex);} - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here - 181 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); - | ^~~~~~~~~~~~~~~~~~~~~~~ -./internal/c++-gtk-utils/mutex.h: In destructor 'Cgu::Thread::GrecmutexLock::~GrecmutexLock()': -./internal/c++-gtk-utils/mutex.h:1076:46: warning: 'void g_static_rec_mutex_unlock(GStaticRecMutex*)' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] - 1076 | ~GrecmutexLock() {g_static_rec_mutex_unlock(&mutex);} - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:187:10: note: declared here - 187 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -4140,7 +4152,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from tray_icon.h:14: + from main.cpp:36: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -4150,39 +4162,78 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from mainwindow.h:29: socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 58 | std::auto_ptr thread; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -main.cpp: In function 'int main(int, char**)': -main.cpp:177:16: warning: 'void g_thread_init(gpointer)' is deprecated [-Wdeprecated-declarations] - 177 | g_thread_init(0); - | ~~~~~~~~~~~~~^~~ -/usr/include/glib-2.0/glib/deprecated/gthread.h:267:10: note: declared here - 267 | void g_thread_init (gpointer vtable); - | ^~~~~~~~~~~~~ -main.cpp:187:13: warning: 'void g_atexit(GVoidFunc)' is deprecated [-Wdeprecated-declarations] - 187 | g_atexit(atexit_cleanup); - | ~~~~~~~~^~~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gthread.h:36, - from /usr/include/glib-2.0/glib/gasyncqueue.h:34, - from /usr/include/glib-2.0/glib.h:34: -/usr/include/glib-2.0/glib/gutils.h:342:9: note: declared here - 342 | void g_atexit (GVoidFunc func); - | ^~~~~~~~ -In file included from ./internal/c++-gtk-utils/async_queue.h:75, - from fax_list.h:29: -./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from fax_list.cpp:11: +In file included from socket_list.cpp:28: +./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 150 | class Functor1: public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/bits/refwrap.h:39, + from /usr/include/c++/12/vector:66, + from socket_list.cpp:15: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 167 | class Functor1_const: public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:184:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 184 | class Functor2: public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:201:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 201 | class Functor2_const: public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 58 | std::auto_ptr thread; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from socket_server.cpp:34: +./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 150 | class Functor1: public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/fstream:38, + from socket_server.cpp:10: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:167:35: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 167 | class Functor1_const: public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:184:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 184 | class Functor2: public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +./internal/c++-gtk-utils/mem_fun.h:201:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 201 | class Functor2_const: public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -4195,15 +4246,59 @@ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | std::auto_ptr thread_a; +mainwindow.cpp: In constructor 'MainWindow::MainWindow(const std::string&, bool, bool, const char*)': +mainwindow.cpp:820:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 820 | chdir(prog_config.working_dir.c_str()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mainwindow.cpp:826:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 826 | chdir("faxin"); + | ~~~~~^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ +efax_controller.cpp: In member function 'void EfaxController::ps_file_to_tiff_files(const std::string&)': +efax_controller.cpp:477:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 477 | chdir(dirname.c_str()); + | ~~~~~^~~~~~~~~~~~~~~~~ +efax_controller.cpp: In member function 'void EfaxController::receive_thread(const char*)': +efax_controller.cpp:684:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 684 | chdir(pathname_h.get()); + | ~~~~~^~~~~~~~~~~~~~~~~~ +efax_controller.cpp: In member function 'std::pair, std::__cxx11::basic_string > EfaxController::save_received_fax()': +efax_controller.cpp:959:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 959 | chdir(old_dirname.c_str()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +efax_controller.cpp:1013:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1013 | chdir(temp.c_str()); + | ~~~~~^~~~~~~~~~~~~~ +In file included from logger.cpp:27: +./internal/c++-gtk-utils/text_print_manager.h:125:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 125 | std::auto_ptr text_a; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from logger.cpp:11: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} - | ^~~~~~~~ +./internal/c++-gtk-utils/text_print_manager.h:237:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 237 | bool set_text(std::auto_ptr& text); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +logger.cpp: In member function 'void Logger::print_log()': +logger.cpp:309:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 309 | std::auto_ptr text(new std::string); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -4228,141 +4323,37 @@ fax_list_manager.cpp:1700:16: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1700 | chdir(temp.c_str()); | ~~~~~^~~~~~~~~~~~~~ -fax_list.cpp: In member function 'void FaxListDialog::print_fax()': -fax_list.cpp:881:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 881 | std::auto_ptr fax_basename_a(new std::string(prog_config.working_dir)); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -fax_list.cpp: In member function 'void FaxListDialog::print_fax_thread(std::string*, bool)': -fax_list.cpp:956:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 956 | const std::auto_ptr fax_basename_a(arg_p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -fax_list.cpp: In member function 'void FaxListDialog::view_fax()': -fax_list.cpp:1095:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1095 | std::auto_ptr fax_basename_a(new std::string(prog_config.working_dir)); - | ^~~~~~~~ +In file included from ./internal/c++-gtk-utils/async_queue.h:75, + from fax_list.h:29, + from mainwindow.h:28, + from main.cpp:40: +./internal/c++-gtk-utils/thread.h:189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | static std::auto_ptr start(const Cgu::Callback::Callback* cb, + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ./internal/c++-gtk-utils/thread.h:28: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -fax_list.cpp:1118:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1118 | std::auto_ptr filename_a(new std::string(prog_config.working_dir)); - | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:289:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | std::auto_ptr thread_a; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -fax_list.cpp: In member function 'void FaxListDialog::view_fax_thread(std::string*, std::pair*, int>)': -fax_list.cpp:1179:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1179 | const std::auto_ptr fax_basename_a(fax_basename_p); - | ^~~~~~~~ +./internal/c++-gtk-utils/thread.h:432:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | JoinableHandle(std::auto_ptr thread, Action act): action(act), detached(false), thread_a(thread) {} + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -fax_list.cpp:1180:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1180 | const std::auto_ptr filename_a(file_pair.first); - | ^~~~~~~~ +In file included from mainwindow.h:29: +socket_server.h:58:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 58 | std::auto_ptr thread; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -efax_controller.cpp: In member function 'void EfaxController::ps_file_to_tiff_files(const std::string&)': -efax_controller.cpp:477:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 477 | chdir(dirname.c_str()); - | ~~~~~^~~~~~~~~~~~~~~~~ -efax_controller.cpp: In member function 'void EfaxController::receive_thread(const char*)': -efax_controller.cpp:684:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 684 | chdir(pathname_h.get()); - | ~~~~~^~~~~~~~~~~~~~~~~~ -efax_controller.cpp: In member function 'std::pair, std::__cxx11::basic_string > EfaxController::save_received_fax()': -efax_controller.cpp:959:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 959 | chdir(old_dirname.c_str()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -efax_controller.cpp:1013:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1013 | chdir(temp.c_str()); - | ~~~~~^~~~~~~~~~~~~~ -main.cpp:123:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 123 | write(2, message.data(), message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp:133:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 133 | write(2, message.data(), message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp:144:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 144 | write(1, message.data(), message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp:148:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 148 | write(2, err_message.data(), err_message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp:163:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 163 | write(1, message.data(), message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp:167:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 167 | write(2, err_message.data(), err_message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp:233:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 233 | write(2, message.data(), message.size()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp: In function 'void atexit_cleanup()': -main.cpp:1089:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1089 | std::system(command_line.c_str()); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -main.cpp: In function 'void clean_up_receive_dir()': -main.cpp:1162:16: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1162 | chdir(old_dirname.c_str()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -main.cpp:1216:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1216 | chdir(temp.c_str()); - | ~~~~~^~~~~~~~~~~~~~ -In file included from ./internal/c++-gtk-utils/notifier.h:42, - from efax_controller.h:23, - from mainwindow.h:26: -./internal/c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::EmitterArg::tracking_disconnect(Cgu::Callback::FunctorArg) [with FreeArg = const std::pair, std::__cxx11::basic_string >&]': -./internal/c++-gtk-utils/emitter.h:751:54: required from 'Cgu::Callback::FunctorArg Cgu::EmitterArg::connect(const Cgu::Callback::FunctorArg&, Cgu::Releaser&) [with FreeArg = const std::pair, std::__cxx11::basic_string >&]' -mainwindow.cpp:1139:45: required from here -./internal/c++-gtk-utils/emitter.h:807:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::EmitterArg, __cxx11::basic_string >&>::ListItem; _Arg2 = Cgu::Callback::FunctorArg, __cxx11::basic_string >&>; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/fstream:38, - from mainwindow.cpp:17: -/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -./internal/c++-gtk-utils/emitter.h:807:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function, __cxx11::basic_string >&>::ListItem, Cgu::Callback::FunctorArg, __cxx11::basic_string >&>, bool>; _Tp = Cgu::Callback::FunctorArg, __cxx11::basic_string >&>]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/bits/stl_function.h:1438: -/usr/include/c++/12/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -./internal/c++-gtk-utils/emitter.h: In instantiation of 'void Cgu::EmitterArg::tracking_disconnect(Cgu::Callback::FunctorArg) [with FreeArg = std::pair, unsigned int> > >, Cgu::SharedPtr >]': -./internal/c++-gtk-utils/emitter.h:751:54: required from 'Cgu::Callback::FunctorArg Cgu::EmitterArg::connect(const Cgu::Callback::FunctorArg&, Cgu::Releaser&) [with FreeArg = std::pair, unsigned int> > >, Cgu::SharedPtr >]' -mainwindow.cpp:1185:31: required from here -./internal/c++-gtk-utils/emitter.h:807:50: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = Cgu::EmitterArg, unsigned int> > >, Cgu::SharedPtr > >::ListItem; _Arg2 = Cgu::Callback::FunctorArg, unsigned int> > >, Cgu::SharedPtr > >; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -./internal/c++-gtk-utils/emitter.h:807:37: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function, unsigned int> > >, Cgu::SharedPtr > >::ListItem, Cgu::Callback::FunctorArg, unsigned int> > >, Cgu::SharedPtr > >, bool>; _Tp = Cgu::Callback::FunctorArg, unsigned int> > >, Cgu::SharedPtr > >]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 807 | std::bind2nd(std::ptr_fun(Pred::pred), arg)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -mainwindow.cpp: In constructor 'MainWindow::MainWindow(const std::string&, bool, bool, const char*)': -mainwindow.cpp:820:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 820 | chdir(prog_config.working_dir.c_str()); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mainwindow.cpp:826:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 826 | chdir("faxin"); - | ~~~~~^~~~~~~~~ In file included from redial_queue.cpp:13: ./internal/c++-gtk-utils/mem_fun.h:150:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 150 | class Functor1: public std::unary_function { @@ -4390,6 +4381,22 @@ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +main.cpp: In function 'int main(int, char**)': +main.cpp:177:16: warning: 'void g_thread_init(gpointer)' is deprecated [-Wdeprecated-declarations] + 177 | g_thread_init(0); + | ~~~~~~~~~~~~~^~~ +/usr/include/glib-2.0/glib/deprecated/gthread.h:267:10: note: declared here + 267 | void g_thread_init (gpointer vtable); + | ^~~~~~~~~~~~~ +main.cpp:187:13: warning: 'void g_atexit(GVoidFunc)' is deprecated [-Wdeprecated-declarations] + 187 | g_atexit(atexit_cleanup); + | ~~~~~~~~^~~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gthread.h:36, + from /usr/include/glib-2.0/glib/gasyncqueue.h:34, + from /usr/include/glib-2.0/glib.h:34: +/usr/include/glib-2.0/glib/gutils.h:342:9: note: declared here + 342 | void g_atexit (GVoidFunc func); + | ^~~~~~~~ In file included from prog_defs.h:51, from redial_queue.h:12, from redial_queue.cpp:15: @@ -4485,6 +4492,38 @@ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +main.cpp:123:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 123 | write(2, message.data(), message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:133:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 133 | write(2, message.data(), message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:144:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 144 | write(1, message.data(), message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:148:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 148 | write(2, err_message.data(), err_message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:163:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 163 | write(1, message.data(), message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:167:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 167 | write(2, err_message.data(), err_message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:233:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 233 | write(2, message.data(), message.size()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp: In function 'void atexit_cleanup()': +main.cpp:1089:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1089 | std::system(command_line.c_str()); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +main.cpp: In function 'void clean_up_receive_dir()': +main.cpp:1162:16: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1162 | chdir(old_dirname.c_str()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +main.cpp:1216:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1216 | chdir(temp.c_str()); + | ~~~~~^~~~~~~~~~~~~~ g++ -D_XOPEN_SOURCE=600 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./internal -I../internal -I./utils -g -O2 -ffile-prefix-map=/build/efax-gtk-3.2.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o efax-gtk main.o mainwindow.o dialogs.o fax_list.o fax_list_manager.o file_list.o efax_controller.o addressbook.o settings.o settings_help.o helpfile.o socket_server.o socket_list.o socket_notify.o logger.o tray_icon.o redial_queue.o utils/libutils.a internal/c++-gtk-utils/libcxx-gtk-utils.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lX11 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ltiff make[5]: Leaving directory '/build/efax-gtk-3.2.8/src' make[4]: Leaving directory '/build/efax-gtk-3.2.8/src' @@ -4524,7 +4563,7 @@ make[2]: Leaving directory '/build/efax-gtk-3.2.8' make[1]: Leaving directory '/build/efax-gtk-3.2.8' dh_auto_test - make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 + make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 make[1]: Entering directory '/build/efax-gtk-3.2.8' Making check in src make[2]: Entering directory '/build/efax-gtk-3.2.8/src' @@ -4567,7 +4606,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/efax-gtk/ - make -j15 install DESTDIR=/build/efax-gtk-3.2.8/debian/efax-gtk AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/efax-gtk-3.2.8/debian/efax-gtk AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/efax-gtk-3.2.8' Making install in src make[2]: Entering directory '/build/efax-gtk-3.2.8/src' @@ -4597,7 +4636,7 @@ make[3]: Entering directory '/build/efax-gtk-3.2.8/src' make[4]: Entering directory '/build/efax-gtk-3.2.8/src' make[4]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' /usr/bin/install -c efax-gtk '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' make[4]: Leaving directory '/build/efax-gtk-3.2.8/src' make[3]: Leaving directory '/build/efax-gtk-3.2.8/src' @@ -4605,15 +4644,15 @@ Making install in efax make[2]: Entering directory '/build/efax-gtk-3.2.8/efax' make[3]: Entering directory '/build/efax-gtk-3.2.8/efax' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/man/man1' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/man/man1' /usr/bin/install -c efax-0.9a efix-0.9a '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' /usr/bin/install -c -m 644 efax-0.9a.1 efix-0.9a.1 '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/man/man1' make[3]: Leaving directory '/build/efax-gtk-3.2.8/efax' make[2]: Leaving directory '/build/efax-gtk-3.2.8/efax' Making install in po make[2]: Entering directory '/build/efax-gtk-3.2.8/po' -/bin/mkdir -p /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share +/usr/bin/mkdir -p /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share installing en_GB.gmo as /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/locale/en_GB/LC_MESSAGES/efax-gtk.mo installing it.gmo as /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/locale/it/LC_MESSAGES/efax-gtk.mo installing pl.gmo as /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/locale/pl/LC_MESSAGES/efax-gtk.mo @@ -4629,7 +4668,7 @@ installing sv.gmo as /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/locale/sv/LC_MESSAGES/efax-gtk.mo installing ca.gmo as /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/locale/ca/LC_MESSAGES/efax-gtk.mo if test "efax-gtk" = "gettext-tools"; then \ - /bin/mkdir -p /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/gettext/po; \ + /usr/bin/mkdir -p /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/gettext/po/$file; \ @@ -4645,8 +4684,8 @@ make[2]: Entering directory '/build/efax-gtk-3.2.8/efax-gtk-faxfilter' make[3]: Entering directory '/build/efax-gtk-3.2.8/efax-gtk-faxfilter' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' /usr/bin/install -c efax-gtk-faxfilter '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' /usr/bin/install -c efax-gtk-socket-client '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/bin' make install-data-hook @@ -4658,12 +4697,12 @@ make[2]: Leaving directory '/build/efax-gtk-3.2.8/efax-gtk-faxfilter' make[2]: Entering directory '/build/efax-gtk-3.2.8' make[3]: Entering directory '/build/efax-gtk-3.2.8' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/etc' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/applications' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/pixmaps' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/etc' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/applications' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/pixmaps' + /usr/bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/man/man1' /usr/bin/install -c -m 644 efax-gtkrc '/build/efax-gtk-3.2.8/debian/efax-gtk/etc' /usr/bin/install -c -m 644 efax-gtk.desktop '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/applications' - /bin/mkdir -p '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/man/man1' /usr/bin/install -c -m 644 efax-gtk.png '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/pixmaps' /usr/bin/install -c -m 644 efax-gtk.1 '/build/efax-gtk-3.2.8/debian/efax-gtk/usr/share/man/man1' make[3]: Leaving directory '/build/efax-gtk-3.2.8' @@ -4677,20 +4716,20 @@ dh_perl dh_link dh_strip_nondeterminism + Normalized debian/efax-gtk/usr/share/locale/ca/LC_MESSAGES/efax-gtk.mo + Normalized debian/efax-gtk/usr/share/locale/sv/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/de/LC_MESSAGES/efax-gtk.mo + Normalized debian/efax-gtk/usr/share/locale/zh_TW/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/zh_CN/LC_MESSAGES/efax-gtk.mo - Normalized debian/efax-gtk/usr/share/locale/sv/LC_MESSAGES/efax-gtk.mo - Normalized debian/efax-gtk/usr/share/locale/ca/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/hu/LC_MESSAGES/efax-gtk.mo - Normalized debian/efax-gtk/usr/share/locale/zh_TW/LC_MESSAGES/efax-gtk.mo - Normalized debian/efax-gtk/usr/share/locale/he/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/sq/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/el/LC_MESSAGES/efax-gtk.mo + Normalized debian/efax-gtk/usr/share/locale/he/LC_MESSAGES/efax-gtk.mo + Normalized debian/efax-gtk/usr/share/locale/ru/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/bg/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/pl/LC_MESSAGES/efax-gtk.mo - Normalized debian/efax-gtk/usr/share/locale/ru/LC_MESSAGES/efax-gtk.mo - Normalized debian/efax-gtk/usr/share/locale/it/LC_MESSAGES/efax-gtk.mo Normalized debian/efax-gtk/usr/share/locale/en_GB/LC_MESSAGES/efax-gtk.mo + Normalized debian/efax-gtk/usr/share/locale/it/LC_MESSAGES/efax-gtk.mo dh_compress dh_fixperms dh_missing @@ -4703,8 +4742,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'efax-gtk-dbgsym' in '../efax-gtk-dbgsym_3.2.8-2.3_amd64.deb'. dpkg-deb: building package 'efax-gtk' in '../efax-gtk_3.2.8-2.3_amd64.deb'. +dpkg-deb: building package 'efax-gtk-dbgsym' in '../efax-gtk-dbgsym_3.2.8-2.3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../efax-gtk_3.2.8-2.3_amd64.buildinfo dpkg-genchanges --build=binary -O../efax-gtk_3.2.8-2.3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4712,12 +4751,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/1263325/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1263325/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/147218 and its subdirectories -I: Current time: Sat Apr 29 19:47:15 -12 2023 -I: pbuilder-time-stamp: 1682840835 +I: removing directory /srv/workspace/pbuilder/1263325 and its subdirectories +I: Current time: Sun Jun 2 04:12:59 +14 2024 +I: pbuilder-time-stamp: 1717251179