Diff of the two buildlogs: -- --- b1/build.log 2025-03-23 15:00:26.520945974 +0000 +++ b2/build.log 2025-03-23 15:01:16.202715364 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 25 09:22:44 -12 2026 -I: pbuilder-time-stamp: 1777152164 +I: Current time: Mon Mar 24 05:00:29 +14 2025 +I: pbuilder-time-stamp: 1742742029 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying gcc-11.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1478255/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 23 15:00 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='d61500c7674a4c3e8ddcfcd92878f701' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1478255' - PS1='# ' - PS2='> ' + INVOCATION_ID=9a86f4feeaa3487daa8138f0ffcd663d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1323600 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.uBAwQQT1/pbuilderrc_AGO6 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uBAwQQT1/b1 --logfile b1/build.log libloki_0.1.7-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uBAwQQT1/pbuilderrc_7j4P --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uBAwQQT1/b2 --logfile b2/build.log libloki_0.1.7-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1478255/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -136,7 +168,7 @@ Get: 28 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.24.1 [920 kB] -Fetched 20.1 MB in 0s (62.2 MB/s) +Fetched 20.1 MB in 0s (187 MB/s) Preconfiguring packages ... 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 ... 19900 files and directories currently installed.) @@ -276,7 +308,11 @@ fakeroot is already the newest version (1.37.1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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-6_source.changes +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/libloki-0.1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libloki_0.1.7-6_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-6 dpkg-buildpackage: info: source distribution unstable @@ -303,129 +339,129 @@ make -C LockingPtr clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Factory' -make -C Longevity clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' -make -C OrderedStatic clean -make -C Pimpl clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' +make -C Longevity clean +make -C OrderedStatic clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' -make -C Register clean +make -C Pimpl clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' +make -C Register clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' -make -C RegressionTest clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' rm -f -R .static-dep rm -f -R .static-dep rm -f -R .static-dep -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' rm -f -R .static-dep +make -C RegressionTest clean +rm -f -R .shared-dep +rm -f -R .shared-dep make -C SafeFormat clean rm -f -R .shared-dep rm -f -R .static-dep +rm -f FunctionTest rm -f -R .static-dep +rm -f FunctionTest.o +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' +rm -f Factory rm -f -R .shared-dep +rm -f CachedFactoryTest rm -f -R .shared-dep rm -f -R .shared-dep -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' +rm -f -R .static-dep make -C ScopeGuard clean +rm -f CachedFactoryTest.o +rm -f main +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' +rm -f main.o rm -f -R .static-dep -rm -f CachedFactoryTest -rm -f FunctionTest -rm -f -R .shared-dep -rm -f DeletableSingleton rm -f -R .static-dep -rm -f -R .shared-dep -rm -f Factory -rm -f FunctionTest.o +rm -f -R .static-dep +rm -f Factory.o +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' rm -f main -rm -f CachedFactoryTest.o +rm -f -R .static-dep +rm -f DeletableSingleton +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' -rm -f DeletableSingleton.o +make -C Singleton clean rm -f -R .shared-dep -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' -rm -f -R .static-dep -rm -f main -rm -f main.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' rm -f -R .shared-dep -make -C Singleton clean -rm -f main rm -f main.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' +rm -f DeletableSingleton.o +rm -f -R .shared-dep rm -f main -rm -f -R .static-dep rm -f -R .shared-dep -rm -f Factory.o -rm -f main.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' +rm -f main2 make -C SingletonDll clean +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +rm -f main2.o make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' -rm -f main.o rm -f main -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' rm -f -R .shared-dep -rm -f -R .static-dep -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' rm -f main.o rm -f Test -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' -rm -f -R .static-dep -rm -f -R .shared-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make -C SmallObj clean -rm -f libfoo.a +rm -f main +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' +rm -f -R .static-dep +rm -f main +rm -f main.o rm -f Test.o +rm -f main.o +rm -f main.o +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make -C SmartPtr clean rm -f -R .shared-dep -make -C Visitor clean -rm -f main -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' +rm -f libfoo.a rm -f -R .static-dep -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f main +rm -f foo.o make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' -rm -f main.o -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' +make -C Visitor clean rm -f -R .shared-dep -rm -f foo.o rm -f main.o -rm -f main2 -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f Dependencies -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' -rm -f main2.o +rm -f -R .static-dep rm -f Dependencies.o +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f -R .static-dep -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' rm -f Phoenix -rm -f -R .static-dep -rm -f -R .static-dep rm -f -R .shared-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' rm -f Phoenix.o rm -f -R .shared-dep -rm -f -R .shared-dep -rm -f -R .static-dep rm -f SmallObjBench make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' -rm -f main -rm -f main -rm -f -R .shared-dep -rm -f SmallObjBench.o -rm -f main.o -rm -f main.o strong.o LockTest.o rm -f client -rm -f SmallObjSingleton -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' +rm -f SmallObjBench.o rm -f client.o -rm -f SmallObjSingleton.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' +rm -f SmallObjSingleton +rm -f -R .static-dep rm -f libfoo.so +rm -f SmallObjSingleton.o +rm -f -R .shared-dep +rm -f -R .static-dep rm -f foo.lo +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' +rm -f main +rm -f -R .shared-dep rm -f libsingletondll.so +rm -f main.o strong.o LockTest.o rm -f singletondll.lo +rm -f main +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' +rm -f main.o +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' @@ -454,30 +490,30 @@ make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' g++ -MM -MT LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.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 Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.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 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 LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep +g++ -MM -MT OrderedStatic.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.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 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 StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep -g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.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 SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.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 SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep -g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.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.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.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.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep +g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep +g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.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 StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp @@ -492,9 +528,7 @@ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp -In file included from ../include/loki/SmallObj.h:23, - from ../include/loki/SmartPtr.h:33, - from SmartPtr.cpp:20: +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -504,7 +538,8 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from Singleton.cpp:19: +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -514,10 +549,8 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template 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: +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -527,8 +560,11 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp In file included from ../include/loki/SmallObj.h:23, - from SmallObj.cpp:19: + 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -538,18 +574,17 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -../include/loki/SmartPtr.h: At global scope: -../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1768 | : public binary_function, - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/stdexcept:39, - from ../include/loki/Singleton.h:24: -/usr/include/c++/14/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: +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -559,37 +594,12 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from ../include/loki/Singleton.h:30: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp -../include/loki/SmartPtr.h: At global scope: -../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1768 | : public binary_function, - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/stdexcept:39, - from ../include/loki/Singleton.h:24: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1681 | : public binary_function< - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp -In file included from ../include/loki/SmallObj.h:23, - from SmallObj.cpp:19: +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -599,7 +609,8 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from Singleton.cpp:19: +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -609,19 +620,20 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -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/reproducible-path/libloki-0.1.7/src' +../include/loki/SmartPtr.h: At global scope: +../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1768 | : public binary_function, + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/stdexcept:39, + from ../include/loki/Singleton.h:24: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from SmartPtr.cpp:20: + 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -631,10 +643,18 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template 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/SmartPtr.h: At global scope: +../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1768 | : public binary_function, + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/stdexcept:39, + from ../include/loki/Singleton.h:24: +/usr/include/c++/14/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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -654,6 +674,12 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1681 | : public binary_function< + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../include/loki/SmartPtr.h: At global scope: ../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function, @@ -670,6 +696,16 @@ /usr/include/c++/14/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/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' @@ -682,10 +718,10 @@ make -C src build-static make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' -make[3]: Nothing to be done for 'build-static'. +make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' -make[3]: Nothing to be done for 'build-shared'. +make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C test make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' @@ -694,33 +730,35 @@ make -C Factory make -C Function make -C LockingPtr +make[4]: Entering directory '/build/reproducible-path/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 make -C Longevity make -C OrderedStatic -make -C Pimpl -make -C Register -make -C RegressionTest make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' -make[4]: Entering directory '/build/reproducible-path/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[4]: Entering directory '/build/reproducible-path/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/reproducible-path/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[4]: Entering directory '/build/reproducible-path/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 make[4]: Entering directory '/build/reproducible-path/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 -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[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' -make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' +make -C 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 +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/reproducible-path/libloki-0.1.7/test/Pimpl' +make -C 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/reproducible-path/libloki-0.1.7/test/Register' +make -C 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 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 -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 +make -C SafeFormat make[4]: Entering directory '/build/reproducible-path/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/reproducible-path/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 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] @@ -770,8 +808,9 @@ 93 | typedef char T_must_be_defined[sizeof(T) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, - from ../../include/loki/SmartPtr.h:33, - from type.h:24: + 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -781,10 +820,56 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -make[4]: *** [: main.o] Error 1 -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' -make[3]: *** [Makefile:12: LockingPtr] Error 2 -make[3]: *** Waiting for unfinished jobs.... +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/14/memory:78, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +../../include/loki/Functor.h: At global scope: +../../include/loki/Functor.h:1250:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +../../include/loki/Functor.h:1263:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1263 | typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +../../include/loki/Functor.h:1428:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1428 | std::auto_ptr spImpl_; + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': +../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': +../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1619 | return Outgoing(std::auto_ptr( + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1781 | return Fun2(std::auto_ptr( + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, @@ -798,6 +883,11 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +make[4]: *** [: main.o] Error 1 +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' +make[3]: *** [Makefile:12: LockingPtr] Error 2 +make[3]: *** Waiting for unfinished jobs.... +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 In file included from ../../include/loki/SmallObj.h:22, from ../../include/loki/Functor.h:24, from ../../include/loki/Function.h:22, @@ -814,6 +904,18 @@ ../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' 348 | LOKI_THREADS_MUTEX(mtx_) | ^~~~~~~~~~~~~~~~~~ +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/14/memory:78, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ @@ -828,16 +930,6 @@ ../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 505 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ -In file included from /usr/include/c++/14/memory:78, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ ../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable::AtomicAssign(volatile IntType&, IntType)': ../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] 254 | return lval; \ @@ -852,22 +944,6 @@ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ar -rv libfoo.a foo.o -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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ -In file included from /usr/include/c++/14/memory:78, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -ar: creating libfoo.a -a - foo.o ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) @@ -948,49 +1024,21 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -../../include/loki/SmartPtr.h: At global scope: -../../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1768 | : public binary_function, - | ^~~~~~~~~~~~~~~ +In file included from ../../include/loki/Factory.h:21: +../../include/loki/AssocVector.h: At global scope: +../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 111 | : public std::binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/stdexcept:39, - from ../../include/loki/Singleton.h:24: + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/ios:44, + from /usr/include/c++/14/ostream:40, + from /usr/include/c++/14/iostream:41, + from CachedFactoryTest.cpp:27: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ -In file included from /usr/include/c++/14/memory:78, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -type.h:94:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 94 | typedef std::auto_ptr > StdAutoPtr; - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -In file included from main.cpp:25: -type2.h:133:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 133 | Pimpl > d; - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ -In file included from /usr/include/c++/14/memory:78, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -1001,6 +1049,37 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +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; _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(), currentTime - timeValidity)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from ../../include/loki/Factory.h:21: +../../include/loki/AssocVector.h: At global scope: +../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 111 | : public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/ios:44, + from /usr/include/c++/14/ostream:40, + from /usr/include/c++/14/iostream:41, + from Factory.cpp:17: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../include/loki/CachedFactory.h: At global scope: +../../include/loki/CachedFactory.h:419:70: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 419 | template struct updateCounter : public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) @@ -1020,10 +1099,28 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +../../include/loki/CachedFactory.h:764:69: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 764 | template struct deleteObject : public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../include/loki/CachedFactory.h:770:76: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 770 | template struct deleteVectorObjects : public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; | ^~~~~~~~ +../../include/loki/CachedFactory.h:779:70: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 779 | template struct deleteMapKeys : public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ @@ -1041,25 +1138,10 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template 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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 111 | : public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/ostream:40, - from /usr/include/c++/14/iostream:41, - from Factory.cpp:17: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, - from main.cpp:22: + 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -1069,25 +1151,9 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template 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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 111 | : public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/ostream:40, - from /usr/include/c++/14/iostream:41, - from main.cpp:16: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ 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: + 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -1123,6 +1189,10 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +CachedFactoryTest.cpp: In function 'void unitTestCachePerformance(int)': +CachedFactoryTest.cpp:179:119: warning: conversion from 'milliSec' {aka 'long int'} to 'double' may change value [-Wconversion] + 179 | cout << "No cache "<::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr( @@ -1153,47 +1223,15 @@ ../../include/loki/Functor.h:1180:11: note: 'class Loki::bad_function_call' 1180 | class bad_function_call : public std::runtime_error | ^~~~~~~~~~~~~~~~~ -../../include/loki/Functor.h: At global scope: -../../include/loki/Functor.h:1250:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -../../include/loki/Functor.h:1263:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1263 | typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -../../include/loki/Functor.h:1428:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1428 | std::auto_ptr spImpl_; - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': -../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': -../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1619 | return Outgoing(std::auto_ptr( - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template 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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1781 | return Fun2(std::auto_ptr( - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +In file included from ../../include/loki/SPCachedFactory.h:39, + from CachedFactoryTest.cpp:393: +../../include/loki/SmartPtr.h: At global scope: +../../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1768 | : public binary_function, + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/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: @@ -1206,6 +1244,22 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +../../include/loki/SmartPtr.h: At global scope: +../../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1768 | : public binary_function, + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/stdexcept:39, + from ../../include/loki/Singleton.h:24: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +type.h:94:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | typedef std::auto_ptr > StdAutoPtr; + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template 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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -1217,62 +1271,17 @@ from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, - from CachedFactoryTest.cpp:27: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a -make[4]: *** [: FunctionTest.o] Error 1 -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' -make[3]: *** [Makefile:12: Function] Error 2 -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; _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(), currentTime - timeValidity)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 419 | template struct updateCounter : public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../include/loki/CachedFactory.h:764:69: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 764 | template struct deleteObject : public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../include/loki/CachedFactory.h:770:76: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 770 | template struct deleteVectorObjects : public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../include/loki/CachedFactory.h:779:70: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 779 | template struct deleteMapKeys : public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -CachedFactoryTest.cpp: In function 'void unitTestCachePerformance(int)': -CachedFactoryTest.cpp:179:119: warning: conversion from 'milliSec' {aka 'long int'} to 'double' may change value [-Wconversion] - 179 | cout << "No cache "< struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1768 | : public binary_function, - | ^~~~~~~~~~~~~~~ + from main.cpp:16: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a +In file included from main.cpp:25: +type2.h:133:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 133 | Pimpl > d; + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ CachedFactoryTest.cpp: In instantiation of 'milliSec typicalUse(Cache&, unsigned int, unsigned int, unsigned int) [with Cache = Loki::CachedFactory; milliSec = long int]': CachedFactoryTest.cpp:238:42: required from 'void displayTypicalUse(Cache&, unsigned int, unsigned int, unsigned int) [with Cache = Loki::CachedFactory]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; @@ -1303,7 +1312,165 @@ CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' +make[4]: *** [: FunctionTest.o] Error 1 +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' +make[3]: *** [Makefile:12: Function] Error 2 +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/14/memory:78, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +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 std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/14/memory:78, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a +In file included from main.cpp:20: +../SmallObj/timer.h: In member function 'void Timer::start()': +../SmallObj/timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 34 | t0 = clock(); + | ~~~~~^~ +../SmallObj/timer.h: In member function 'void Timer::stop()': +../SmallObj/timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 39 | t1 = clock(); + | ~~~~~^~ +../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::Seq; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::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 >]': +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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::onDestroy(const DT&) [with DT = AbstractProduct*; ST = unsigned int]': +../../include/loki/CachedFactory.h:760:26: required from 'void Loki::CachedFactory::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 >]' + 760 | EP::onDestroy(pProduct); + | ~~~~~~~~~~~~~^~~~~~~~~~ +../../include/loki/CachedFactory.h:799:21: required from 'void Loki::CachedFactory::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 >]' + 799 | onDestroy(pProduct); // warning policies we are about to destroy an object + | ^~~~~~~~~ +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../include/loki/CachedFactory.h:508:76: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _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++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from SmartPtrTest.h:20, from Test.cpp:54: ../../include/loki/SmartPtr.h: At global scope: @@ -1321,6 +1488,8 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a In file included from ../../include/loki/Factory.h:20, from FactoryTest.h:19, from Test.cpp:55: @@ -1371,6 +1540,9 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +ar -rv libfoo.a foo.o +ar: creating libfoo.a +a - foo.o In file included from Test.cpp:57: AbstractFactoryTest.h: In member function 'virtual void AbstractFactoryTest::execute(TestResult&)': AbstractFactoryTest.h:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -1414,6 +1586,7 @@ 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' +g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a AbstractFactoryTest.h:75:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~ @@ -1454,6 +1627,7 @@ 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' In file included from Test.cpp:60: AssocVectorTest.h: At global scope: AssocVectorTest.h:122:31: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -1466,144 +1640,56 @@ AssocVectorTest.h:262:45: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 262 | std::pair aux = vec21.insert(std::make_pair("xyz", 99)); | ^~~ +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' 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)); | ^~ -../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::Seq; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::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 >]': -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/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::onDestroy(const DT&) [with DT = AbstractProduct*; ST = unsigned int]': -../../include/loki/CachedFactory.h:760:26: required from 'void Loki::CachedFactory::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 >]' - 760 | EP::onDestroy(pProduct); - | ~~~~~~~~~~~~~^~~~~~~~~~ -../../include/loki/CachedFactory.h:799:21: required from 'void Loki::CachedFactory::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 >]' - 799 | onDestroy(pProduct); // warning policies we are about to destroy an object - | ^~~~~~~~~ -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../include/loki/CachedFactory.h:508:76: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _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++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' 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 -g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' +main.cpp: In function 'int main(int, char**)': +main.cpp:173:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] + 173 | sprintf(buf, "%u", width); + | ^~ +main.cpp:173:30: note: directive argument in the range [0, 19200] + 173 | sprintf(buf, "%u", width); + | ^~~~ +In file included from /usr/include/stdio.h:970, + from /usr/include/c++/14/cstdio:42, + from ../../include/loki/SafeFormat.h:24, + from main.cpp:15: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'int main(int, char**)' at main.cpp:173:24: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +main.cpp: In function 'int main(int, char**)': +main.cpp:181:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] + 181 | sprintf(buf, "%u", prec); + | ^~ +main.cpp:181:30: note: directive argument in the range [0, 19200] + 181 | sprintf(buf, "%u", prec); + | ^~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'int main(int, char**)' at main.cpp:181:24: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' g++ -Wl,-z,relro -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' g++ -Wl,-z,relro -o Test Test.o ../../lib/libloki.a @@ -1679,12 +1765,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1323600/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1478255 and its subdirectories -I: Current time: Sat Apr 25 09:23:25 -12 2026 -I: pbuilder-time-stamp: 1777152205 +I: removing directory /srv/workspace/pbuilder/1323600 and its subdirectories +I: Current time: Mon Mar 24 05:01:15 +14 2025 +I: pbuilder-time-stamp: 1742742075