I: pbuilder: network access will be disabled during build I: Current time: Sat May 18 14:28:51 -12 2024 I: pbuilder-time-stamp: 1716085731 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [libloki_0.1.7-5.dsc] I: copying [./libloki_0.1.7.orig.tar.gz] I: copying [./libloki_0.1.7-5.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Oct 19 08:05:32 2021 -12 gpgv: using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08 gpgv: issuer "anbe@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libloki_0.1.7-5.dsc: no acceptable signature found dpkg-source: info: extracting libloki in libloki-0.1.7 dpkg-source: info: unpacking libloki_0.1.7.orig.tar.gz dpkg-source: info: unpacking libloki_0.1.7-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0.1.7-3.patch dpkg-source: info: applying gcc-11.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/62047/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='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='c800ef566dea42f4aa2bbad347aa85f6' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' 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='62047' PS1='# ' PS2='> ' 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.pTpVlA3y/pbuilderrc_KDoY --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.pTpVlA3y/b1 --logfile b1/build.log libloki_0.1.7-5.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://85.184.249.68:3128' I: uname -a Linux ionos16-i386 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 -rwxr-xr-x 1 root root 1408088 Feb 12 2023 bash -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 38404 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 38404 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 17892 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 42920 Sep 20 2022 cat -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash -rwxr-xr-x 1 root root 137160 Sep 20 2022 date -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd -rwxr-xr-x 1 root root 108940 Sep 20 2022 df -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep -rwxr-xr-x 1 root root 34664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln -rwxr-xr-x 1 root root 55600 Mar 22 2023 login -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 63016 Mar 22 2023 more -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty -rwsr-xr-x 1 root root 83492 Mar 22 2023 su -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch -rwxr-xr-x 1 root root 34664 Sep 20 2022 true -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl lrwxrwxrwx 1 root root 8 Dec 19 2022 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/62047/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org> Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19604 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 19.0 MB of archives. After unpacking 72.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main i386 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main i386 libmagic-mgc i386 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main i386 libmagic1 i386 1:5.44-3 [114 kB] Get: 4 http://deb.debian.org/debian bookworm/main i386 file i386 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main i386 gettext-base i386 0.21-12 [162 kB] Get: 6 http://deb.debian.org/debian bookworm/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main i386 groff-base i386 1.22.4-10 [932 kB] Get: 8 http://deb.debian.org/debian bookworm/main i386 bsdextrautils i386 2.38.1-5+b1 [90.3 kB] Get: 9 http://deb.debian.org/debian bookworm/main i386 libpipeline1 i386 1.5.7-1 [40.0 kB] Get: 10 http://deb.debian.org/debian bookworm/main i386 man-db i386 2.11.2-2 [1397 kB] Get: 11 http://deb.debian.org/debian bookworm/main i386 m4 i386 1.4.19-3 [294 kB] Get: 12 http://deb.debian.org/debian bookworm/main i386 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main i386 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main i386 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main i386 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main i386 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main i386 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main i386 libelf1 i386 0.188-2.1 [179 kB] Get: 24 http://deb.debian.org/debian bookworm/main i386 dwz i386 0.15-1 [118 kB] Get: 25 http://deb.debian.org/debian bookworm/main i386 libicu72 i386 72.1-3 [9541 kB] Get: 26 http://deb.debian.org/debian bookworm/main i386 libxml2 i386 2.9.14+dfsg-1.1+b3 [720 kB] Get: 27 http://deb.debian.org/debian bookworm/main i386 gettext i386 0.21-12 [1311 kB] Get: 28 http://deb.debian.org/debian bookworm/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main i386 debhelper all 13.11.4 [942 kB] Fetched 19.0 MB in 1s (32.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19604 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_i386.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../02-libmagic1_1%3a5.44-3_i386.deb ... Unpacking libmagic1:i386 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_i386.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_i386.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../05-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_i386.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_i386.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../08-libpipeline1_1.5.7-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_i386.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_i386.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../22-libelf1_0.188-2.1_i386.deb ... Unpacking libelf1:i386 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_i386.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../24-libicu72_72.1-3_i386.deb ... Unpacking libicu72:i386 (72.1-3) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_i386.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Setting up libpipeline1:i386 (1.5.7-1) ... Setting up libicu72:i386 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:i386 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:i386 (0.188-2.1) ... Setting up libxml2:i386 (2.9.14+dfsg-1.1+b3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-8) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... 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/libloki-0.1.7/ && 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 > ../libloki_0.1.7-5_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann <anbe@debian.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh_auto_clean make -j16 distclean make[1]: Entering directory '/build/libloki-0.1.7' make -C src clean make[2]: Entering directory '/build/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo make[2]: Leaving directory '/build/libloki-0.1.7/src' make -C test clean make[2]: Entering directory '/build/libloki-0.1.7/test' make -C CachedFactory clean make -C DeletableSingleton clean make -C Factory clean make -C Function clean make -C LockingPtr clean make[3]: Entering directory '/build/libloki-0.1.7/test/CachedFactory' make -C Longevity clean make[3]: Entering directory '/build/libloki-0.1.7/test/DeletableSingleton' make -C OrderedStatic clean make[3]: Entering directory '/build/libloki-0.1.7/test/Factory' make -C Pimpl clean make[3]: Entering directory '/build/libloki-0.1.7/test/Function' make[3]: Entering directory '/build/libloki-0.1.7/test/LockingPtr' make -C Register clean make -C RegressionTest clean make[3]: Entering directory '/build/libloki-0.1.7/test/Longevity' make -C SafeFormat clean make[3]: Entering directory '/build/libloki-0.1.7/test/OrderedStatic' make -C ScopeGuard clean make[3]: Entering directory '/build/libloki-0.1.7/test/Pimpl' make -C Singleton clean make -C SingletonDll clean make[3]: Entering directory '/build/libloki-0.1.7/test/Register' make -C SmallObj clean make -C SmartPtr clean make[3]: Entering directory '/build/libloki-0.1.7/test/RegressionTest' rm -f -R .static-dep make[3]: Entering directory '/build/libloki-0.1.7/test/SafeFormat' make[3]: Entering directory '/build/libloki-0.1.7/test/ScopeGuard' make[3]: Entering directory '/build/libloki-0.1.7/test/Singleton' rm -f -R .static-dep rm -f -R .shared-dep make[3]: Entering directory '/build/libloki-0.1.7/test/SingletonDll' make[3]: Entering directory '/build/libloki-0.1.7/test/SmallObj' rm -f -R .static-dep make[3]: Entering directory '/build/libloki-0.1.7/test/SmartPtr' rm -f -R .static-dep rm -f -R .shared-dep rm -f CachedFactoryTest rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .static-dep rm -f CachedFactoryTest.o rm -f -R .shared-dep rm -f -R .static-dep rm -f DeletableSingleton make[3]: Leaving directory '/build/libloki-0.1.7/test/CachedFactory' rm -f -R .shared-dep rm -f -R .static-dep make -C Visitor clean rm -f -R .shared-dep rm -f FunctionTest rm -f -R .static-dep rm -f Factory rm -f DeletableSingleton.o rm -f FunctionTest.o rm -f -R .shared-dep rm -f Factory.o rm -f -R .static-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' rm -f main make[3]: Leaving directory '/build/libloki-0.1.7/test/Function' make[3]: Leaving directory '/build/libloki-0.1.7/test/Factory' rm -f -R .shared-dep rm -f main rm -f -R .shared-dep rm -f -R .static-dep rm -f main rm -f -R .shared-dep rm -f -R .static-dep rm -f -R .static-dep rm -f main.o rm -f main.o rm -f main.o make[3]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' rm -f main rm -f main2 make[3]: Leaving directory '/build/libloki-0.1.7/test/OrderedStatic' rm -f main rm -f -R .shared-dep rm -f Test rm -f -R .shared-dep rm -f -R .shared-dep rm -f -R .static-dep rm -f main.o rm -f main.o rm -f main2.o make[3]: Entering directory '/build/libloki-0.1.7/test/Visitor' rm -f Test.o rm -f Dependencies rm -f main rm -f main make[3]: Leaving directory '/build/libloki-0.1.7/test/Pimpl' make[3]: Leaving directory '/build/libloki-0.1.7/test/Longevity' rm -f libfoo.a rm -f Dependencies.o make[3]: Leaving directory '/build/libloki-0.1.7/test/RegressionTest' rm -f -R .static-dep rm -f -R .static-dep rm -f main.o rm -f -R .shared-dep rm -f main.o rm -f foo.o rm -f Phoenix make[3]: Leaving directory '/build/libloki-0.1.7/test/ScopeGuard' make[3]: Leaving directory '/build/libloki-0.1.7/test/Register' make[3]: Leaving directory '/build/libloki-0.1.7/test/SafeFormat' rm -f -R .shared-dep rm -f -R .shared-dep rm -f Phoenix.o rm -f SmallObjBench rm -f main rm -f -R .static-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/Singleton' rm -f client rm -f SmallObjBench.o rm -f main.o strong.o LockTest.o rm -f -R .shared-dep rm -f client.o rm -f SmallObjSingleton make[3]: Leaving directory '/build/libloki-0.1.7/test/SmartPtr' rm -f main rm -f libfoo.so rm -f SmallObjSingleton.o rm -f main.o rm -f foo.lo make[3]: Leaving directory '/build/libloki-0.1.7/test/SmallObj' rm -f libsingletondll.so make[3]: Leaving directory '/build/libloki-0.1.7/test/Visitor' rm -f singletondll.lo make[3]: Leaving directory '/build/libloki-0.1.7/test/SingletonDll' make[2]: Leaving directory '/build/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f -R .static-dep rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo rm -f -R .shared-dep rm -f ../lib/libloki.a rm -f ../lib/libloki.so.0.1.7 make[2]: Leaving directory '/build/libloki-0.1.7/src' make[1]: Leaving directory '/build/libloki-0.1.7' dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/libloki-0.1.7' dh_auto_build -- OS=Linux build-static build-shared make -j16 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared make[2]: Entering directory '/build/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/libloki-0.1.7/src' make[3]: Entering directory '/build/libloki-0.1.7/src' g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep g++ -MM -MT SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep g++ -MM -MT SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep g++ -MM -MT Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep g++ -MM -MT SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep g++ -MM -MT SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep g++ -MM -MT Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep g++ -MM -MT OrderedStatic.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep g++ -MM -MT LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep g++ -MM -MT SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep g++ -MM -MT OrderedStatic.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep g++ -MM -MT LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o StrongPtr.o StrongPtr.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp In file included from Singleton.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, from ../include/loki/StrongPtr.h:20, from StrongPtr.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, from SmartPtr.cpp:20: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../include/loki/SmartPtr.h: At global scope: ../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/stdexcept:39, from ../include/loki/Singleton.h:24: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteSingle<P>::Delete(const P*)': ../include/loki/StrongPtr.h:193:22: warning: typedef 'Type_Must_Be_Defined' locally defined but not used [-Wunused-local-typedefs] 193 | typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteArray<P>::Delete(const P*)': ../include/loki/StrongPtr.h:224:22: warning: typedef 'Type_Must_Be_Defined' locally defined but not used [-Wunused-local-typedefs] 224 | typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: At global scope: ../include/loki/StrongPtr.h:1681:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from SmallObj.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from Singleton.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, from SmartPtr.cpp:20: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, from ../include/loki/StrongPtr.h:20, from StrongPtr.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from SmallObj.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../include/loki/SmartPtr.h: At global scope: ../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/stdexcept:39, from ../include/loki/Singleton.h:24: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../include/loki/OrderedStatic.h:22, from OrderedStatic.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../include/loki/OrderedStatic.h:22, from OrderedStatic.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../include/loki/SmartPtr.h: At global scope: ../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/stdexcept:39, from ../include/loki/Singleton.h:24: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteSingle<P>::Delete(const P*)': ../include/loki/StrongPtr.h:193:22: warning: typedef 'Type_Must_Be_Defined' locally defined but not used [-Wunused-local-typedefs] 193 | typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteArray<P>::Delete(const P*)': ../include/loki/StrongPtr.h:224:22: warning: typedef 'Type_Must_Be_Defined' locally defined but not used [-Wunused-local-typedefs] 224 | typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~~~~ ../include/loki/SmartPtr.h: At global scope: ../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/stdexcept:39, from ../include/loki/Singleton.h:24: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: At global scope: ../include/loki/StrongPtr.h:1681:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ar rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o ar: creating ../lib/libloki.a a - LevelMutex.o a - OrderedStatic.o a - SafeFormat.o a - Singleton.o a - SmallObj.o a - SmartPtr.o a - StrongPtr.o make[3]: Leaving directory '/build/libloki-0.1.7/src' g++ -Wl,-z,relro --shared -Wl,-soname=libloki.so.0.1.7 -fPIC -o ../lib/libloki.so.0.1.7 LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo -lpthread make[3]: Leaving directory '/build/libloki-0.1.7/src' make[2]: Leaving directory '/build/libloki-0.1.7' make[1]: Leaving directory '/build/libloki-0.1.7' debian/rules override_dh_auto_test make[1]: Entering directory '/build/libloki-0.1.7' dh_auto_test -- OS=Linux make -j16 check OS=Linux make[2]: Entering directory '/build/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/libloki-0.1.7/src' make[3]: Entering directory '/build/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/libloki-0.1.7/src' make -C test make[3]: Entering directory '/build/libloki-0.1.7/test' make -C CachedFactory make -C DeletableSingleton make -C Factory make -C Function make -C LockingPtr make -C Longevity make -C OrderedStatic make -C Pimpl make[4]: Entering directory '/build/libloki-0.1.7/test/DeletableSingleton' make[4]: Entering directory '/build/libloki-0.1.7/test/CachedFactory' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o CachedFactoryTest.o CachedFactoryTest.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o DeletableSingleton.o DeletableSingleton.cpp make -C Register make -C RegressionTest make[4]: Entering directory '/build/libloki-0.1.7/test/Factory' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o Factory.o Factory.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/Function' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o FunctionTest.o FunctionTest.cpp make -C SafeFormat make -C ScopeGuard make -C Singleton make[4]: Entering directory '/build/libloki-0.1.7/test/Longevity' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make -C SingletonDll make[4]: Entering directory '/build/libloki-0.1.7/test/LockingPtr' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main2.o main2.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/Register' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/Pimpl' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make -C SmallObj make[4]: Entering directory '/build/libloki-0.1.7/test/OrderedStatic' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/SafeFormat' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/RegressionTest' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o Test.o Test.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/ScopeGuard' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/Singleton' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o Dependencies.o Dependencies.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/SingletonDll' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o client.o client.cpp make[4]: Entering directory '/build/libloki-0.1.7/test/SmallObj' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjBench.o SmallObjBench.cpp In file included from Thread.h:17, from main.cpp:22: ../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h:190:57: note: remove parentheses 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable<Host, MutexPolicy>::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ | ^~~~ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable<Host, MutexPolicy>::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable<Host, MutexPolicy>::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable<Host, MutexPolicy>::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from type.h:16, from main.cpp:24: ../../include/loki/Pimpl.h: In destructor 'Loki::Pimpl<T, Pointer>::~Pimpl()': ../../include/loki/Pimpl.h:93:26: warning: typedef 'T_must_be_defined' locally defined but not used [-Wunused-local-typedefs] 93 | typedef char T_must_be_defined[sizeof(T) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:22, from SmallObjBench.cpp:25: ../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h:190:57: note: remove parentheses 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable<Host, MutexPolicy>::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ | ^~~~ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable<Host, MutexPolicy>::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable<Host, MutexPolicy>::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable<Host, MutexPolicy>::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from singletondll.h:26, from client.cpp:28: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from main.cpp:22: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from main.cpp:57: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o foo.lo foo.cpp In file included from main2.cpp:15: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, from Factory.cpp:19: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from Dependencies.cpp:18: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, from main.cpp:18: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/SmartPtr.h:33, from type.h:24: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ make[4]: *** [<builtin>: main.o] Error 1 make[4]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' make[3]: *** [Makefile:12: LockingPtr] Error 2 make[3]: *** Waiting for unfinished jobs.... g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o singletondll.lo singletondll.cpp In file included from ../../include/loki/SmallObj.h:22, from ../../include/loki/Functor.h:24, from ../../include/loki/Function.h:22, from FunctionTest.cpp:50: ../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h:190:57: note: remove parentheses 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable<Host, MutexPolicy>::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ | ^~~~ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable<Host, MutexPolicy>::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable<Host, MutexPolicy>::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable<Host, MutexPolicy>::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Function.h:22, from Dependencies.cpp:19: ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, from CachedFactoryTest.cpp:29: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from DeletableSingleton.cpp:29: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ Dependencies.cpp: In function 'int main()': Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] 411 | void* p; | ^ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/SmartPtr.h: At global scope: ../../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/stdexcept:39, from ../../include/loki/Singleton.h:24: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from SmallObjectTest.h:20, from Test.cpp:45: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ type.h:94:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 94 | typedef std::auto_ptr<ImplOf<E> > StdAutoPtr; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Factory.h:21: ../../include/loki/AssocVector.h: At global scope: ../../include/loki/AssocVector.h:111:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 111 | : public std::binary_function<value_type, value_type, bool> | ^~~~~~~~~~~~~~~ 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/ostream:38, from /usr/include/c++/12/iostream:39, from Factory.cpp:17: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from main.cpp:25: type2.h:133:23: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | Pimpl<Impl4, std::auto_ptr<Impl4> > d; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Factory.h:21: ../../include/loki/AssocVector.h: At global scope: ../../include/loki/AssocVector.h:111:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 111 | : public std::binary_function<value_type, value_type, bool> | ^~~~~~~~~~~~~~~ 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/ostream:38, from /usr/include/c++/12/iostream:39, from main.cpp:16: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Factory.h:21: ../../include/loki/AssocVector.h: At global scope: ../../include/loki/AssocVector.h:111:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 111 | : public std::binary_function<value_type, value_type, bool> | ^~~~~~~~~~~~~~~ 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/ostream:38, from /usr/include/c++/12/iostream:39, from CachedFactoryTest.cpp:27: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a FunctionTest.cpp: In function 'void test_ref()': FunctionTest.cpp:740:25: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 740 | catch(runtime_error e) | ^ FunctionTest.cpp: In function 'void test_exception()': FunctionTest.cpp:757:11: error: reference to 'bad_function_call' is ambiguous 757 | catch(bad_function_call) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/functional:59, from FunctionTest.cpp:13: /usr/include/c++/12/bits/std_function.h:54:9: note: candidates are: 'class std::bad_function_call' 54 | class bad_function_call : public std::exception | ^~~~~~~~~~~~~~~~~ ../../include/loki/Functor.h:1180:11: note: 'class Loki::bad_function_call' 1180 | class bad_function_call : public std::runtime_error | ^~~~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h: In member function 'void Loki::RateLimitedCreation::cleanVector()': ../../include/loki/CachedFactory.h:187:98: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less<long int>; _Tp = long int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 187 | Vector::iterator newEnd = remove_if(m_vTimes.begin(), m_vTimes.end(), bind2nd(less<clock_t>(), currentTime - timeValidity)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~ ../../include/loki/CachedFactory.h: At global scope: ../../include/loki/CachedFactory.h:419:70: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 419 | template<class T> struct updateCounter : public std::unary_function<T, void> | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ make[4]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o foo.o foo.cpp ../../include/loki/CachedFactory.h:764:69: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 764 | template<class T> struct deleteObject : public std::unary_function<T, void> | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../include/loki/CachedFactory.h:770:76: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 770 | template<class T> struct deleteVectorObjects : public std::unary_function<T, void> | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../include/loki/CachedFactory.h:779:70: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 779 | template<class T> struct deleteMapKeys : public std::unary_function<T, void> | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ make[4]: Leaving directory '/build/libloki-0.1.7/test/ScopeGuard' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o Phoenix.o Phoenix.cpp make[4]: *** [<builtin>: SmallObjBench.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [<builtin>: FunctionTest.o] Error 1 make[4]: Leaving directory '/build/libloki-0.1.7/test/Function' make[3]: *** [Makefile:12: Function] Error 2 g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a In file included from ../../include/loki/SPCachedFactory.h:39, from CachedFactoryTest.cpp:393: ../../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ --shared -fPIC -L../../lib -o libfoo.so foo.lo ../../lib/libloki.a In file included from singletondll.h:26, from singletondll.cpp:16: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ make[4]: Leaving directory '/build/libloki-0.1.7/test/Longevity' g++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a g++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll make[4]: Leaving directory '/build/libloki-0.1.7/test/SingletonDll' In file included from SmartPtrTest.h:20, from Test.cpp:54: ../../include/loki/SmartPtr.h: At global scope: ../../include/loki/SmartPtr.h:1768:18: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function<Loki::SmartPtr<T, OP, CP, KP, SP, CNP >, | ^~~~~~~~~~~~~~~ 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/ostream:38, from /usr/include/c++/12/iostream:39, from UnitTest.h:19, from Test.cpp:31: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/OrderedStatic' ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictAging; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from Phoenix.cpp:35: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictLRU; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = SmartPointer_OneTArg; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::SimpleStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::Seq<int, int>; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::RateLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::SimpleStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictAging; StatisticPolicy = Loki::SimpleStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictLRU; StatisticPolicy = Loki::SimpleStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::SimpleStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to<AbstractProduct*>(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::EvictRandom<DT, ST>::onDestroy(const DT&) [with DT = AbstractProduct*; ST = unsigned int]': ../../include/loki/CachedFactory.h:760:26: required from 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::onDestroy(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]' ../../include/loki/CachedFactory.h:799:21: required from 'void Loki::CachedFactory<AbstractProduct, IdentifierType, CreatorParmTList, EncapsulationPolicy, CreationPolicy, EvictionPolicy, StatisticPolicy, FactoryErrorPolicy, ObjVector>::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector<AbstractProduct*, std::allocator<AbstractProduct*> >]' ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:508:76: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to<AbstractProduct*>; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 508 | m_vKeys.erase(remove_if(m_vKeys.begin(), m_vKeys.end(), bind2nd(equal_to< DT >(), key)), m_vKeys.end()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../include/loki/Factory.h:20, from FactoryTest.h:19, from Test.cpp:55: ../../include/loki/Functor.h:1250:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr<Impl> spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr<Impl> spImpl_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor<R, TList, ThreadingModel>::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits<Fctor>::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr<typename Outgoing::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr<typename Fun2::Impl>( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Factory.h:21: ../../include/loki/AssocVector.h: At global scope: ../../include/loki/AssocVector.h:111:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 111 | : public std::binary_function<value_type, value_type, bool> | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ar rv libfoo.a foo.o ar: creating libfoo.a In file included from Test.cpp:57: AbstractFactoryTest.h: In member function 'virtual void AbstractFactoryTest::execute(TestResult&)': AbstractFactoryTest.h:74:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr<AbstractEnemyFactory> easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ a - foo.o g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo AbstractFactoryTest.h:75:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr<AbstractEnemyFactory> hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from SmallObjSingleton.cpp:17: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr<LifetimeTracker> | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../../include/loki/Singleton.h:30: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from Test.cpp:60: AssocVectorTest.h: At global scope: AssocVectorTest.h:122:31: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 122 | struct str_less : public std::binary_function<const char*, const char*, bool> { | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o Phoenix Phoenix.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/Register' AssocVectorTest.h: In function 'void test_vect2()': AssocVectorTest.h:262:45: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 262 | std::pair<test_vect2_t::iterator, bool> aux = vec21.insert(std::make_pair("xyz", 99)); | ^~~ AssocVectorTest.h: In function 'void test_vect4()': AssocVectorTest.h:321:28: warning: variable 'it' set but not used [-Wunused-but-set-variable] 321 | test_vect4_t::iterator it = vec41.find(AVTestClass(22)); | ^~ g++ -Wl,-z,relro -o Dependencies Dependencies.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/Singleton' g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/SafeFormat' make[4]: Leaving directory '/build/libloki-0.1.7/test/Pimpl' make[4]: Leaving directory '/build/libloki-0.1.7/test/SmallObj' make[3]: *** [Makefile:12: SmallObj] Error 2 g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/Factory' g++ -Wl,-z,relro -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/CachedFactory' In file included from SmallObjectTest.h:170: In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj<ThreadingModel, MX>::RefCountedMT<P>::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr<T, OwnershipPolicy, ConversionPolicy, CheckingPolicy, StoragePolicy, ConstnessPolicy>::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj<Loki::SingleThreaded>::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy, MutexPolicy>::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; unsigned int chunkSize = 4096; unsigned int maxSmallObjectSize = 256; unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject<LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL>::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o Test Test.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/libloki-0.1.7/test' make[2]: *** [Makefile:12: check] Error 2 make[2]: Leaving directory '/build/libloki-0.1.7' dh_auto_test: error: make -j16 check OS=Linux returned exit code 2 make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/libloki-0.1.7' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/libloki-0.1.7' dh_auto_install -- OS=Linux install prefix=/build/libloki-0.1.7/debian/tmp/usr make -j16 install DESTDIR=/build/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/libloki-0.1.7/debian/tmp/usr make[2]: Entering directory '/build/libloki-0.1.7' make -C src install-static make[3]: Entering directory '/build/libloki-0.1.7/src' mkdir -p /build/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.a /build/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified make[3]: Leaving directory '/build/libloki-0.1.7/src' make -C src install-shared make[3]: Entering directory '/build/libloki-0.1.7/src' mkdir -p /build/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.so.0.1.7 /build/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified cd /build/libloki-0.1.7/debian/tmp/usr/lib; ln -s libloki.so.0.1.7 libloki.so make[3]: Leaving directory '/build/libloki-0.1.7/src' make -C include install make[3]: Entering directory '/build/libloki-0.1.7/include' mkdir -p /build/libloki-0.1.7/debian/tmp/usr/include/loki mkdir -p /build/libloki-0.1.7/debian/tmp/usr/include/loki/flex mkdir -p /build/libloki-0.1.7/debian/tmp/usr/include/loki/yasli install -m 644 loki/*.h /build/libloki-0.1.7/debian/tmp/usr/include/loki install -m 644 loki/flex/*.h /build/libloki-0.1.7/debian/tmp/usr/include/loki/flex install -m 644 loki/yasli/*.h /build/libloki-0.1.7/debian/tmp/usr/include/loki/yasli make[3]: Leaving directory '/build/libloki-0.1.7/include' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/build/libloki-0.1.7' make[1]: Leaving directory '/build/libloki-0.1.7' dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libloki0.1.7' in '../libloki0.1.7_0.1.7-5_i386.deb'. dpkg-deb: building package 'libloki0.1.7-dbgsym' in '../libloki0.1.7-dbgsym_0.1.7-5_i386.deb'. dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-5_i386.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-5_all.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-5_i386.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration 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/62047 and its subdirectories I: Current time: Sat May 18 14:29:28 -12 2024 I: pbuilder-time-stamp: 1716085768