=>> Building devel/loki build started at Mon Apr 1 17:37:31 BST 2024 port directory: /usr/ports/devel/loki package name: loki-0.1.7 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: snnn119@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 866 Jul 26 2023 /usr/ports/devel/loki/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 6edead6f38 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for loki-0.1.7: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- snnn119@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/loki/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/loki/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/loki/work/.cache HOME=/wrkdirs/usr/ports/devel/loki/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/loki/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/loki/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/loki/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/loki/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/loki/work/.cache HOME=/wrkdirs/usr/ports/devel/loki/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/loki/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/loki/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/loki" EXAMPLESDIR="share/examples/loki" DATADIR="share/loki" WWWDIR="www/loki" ETCDIR="etc/loki" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/loki DOCSDIR=/usr/local/share/doc/loki EXAMPLESDIR=/usr/local/share/examples/loki WWWDIR=/usr/local/www/loki ETCDIR=/usr/local/etc/loki --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> loki-0.1.7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> loki-0.1.7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of loki-0.1.7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by loki-0.1.7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by loki-0.1.7 for building => SHA256 Checksum OK for loki-0.1.7.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by loki-0.1.7 for building ===> Extracting for loki-0.1.7 => SHA256 Checksum OK for loki-0.1.7.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for loki-0.1.7 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for loki-0.1.7 from /usr/ports/devel/loki/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> loki-0.1.7 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> loki-0.1.7 depends on package: gmake>=4.4.1 - found ===> Returning to build of loki-0.1.7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for loki-0.1.7 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for loki-0.1.7 gmake -C src build-static gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' c++ -MM -MT LevelMutex.o -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep c++ -MM -MT OrderedStatic.o -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep c++ -MM -MT SafeFormat.o -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep c++ -MM -MT Singleton.o -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep c++ -MM -MT SmallObj.o -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep c++ -MM -MT SmartPtr.o -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep c++ -MM -MT StrongPtr.o -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep c++ -MM -MT LevelMutex.lo -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep c++ -MM -MT OrderedStatic.lo -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep c++ -MM -MT SafeFormat.lo -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep c++ -MM -MT Singleton.lo -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep c++ -MM -MT SmallObj.lo -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep c++ -MM -MT SmartPtr.lo -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep c++ -MM -MT StrongPtr.lo -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp In file included from LevelMutex.cpp:25: ../include/loki/LevelMutex.h:837:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~ ../include/loki/LevelMutex.h:837:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ^~~~~~~ ~ ../include/loki/LevelMutex.h:933:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~ ../include/loki/LevelMutex.h:933:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ^~~~~~~ ~ LevelMutex.cpp:35:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define nullptr 0 ^ LevelMutex.cpp:186:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:320:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:403:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:493:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:763:9: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare] && ( error == MutexErrors::LevelTooLow ) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp In file included from OrderedStatic.cpp:16: In file included from ../include/loki/OrderedStatic.h:22: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp SafeFormat.cpp:27:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] ::std::fwrite(from, 1, to - from, f); ~~ ~~~^~~~~~ 1 warning generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp In file included from Singleton.cpp:19: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp In file included from SmallObj.cpp:19: In file included from ../include/loki/SmallObj.h:23: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] ( toRelease - pData_ ) / blockSize); ~~~~~~~~~~^~~~~~~~ ~ SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] ( place - pData_ ) / blockSize ); ~~~~~~^~~~~~~~ ~ 3 warnings generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp In file included from SmartPtr.cpp:20: In file included from ../include/loki/SmartPtr.h:33: In file included from ../include/loki/SmallObj.h:23: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../include -DNDEBUG -c -o StrongPtr.o StrongPtr.cpp In file included from StrongPtr.cpp:16: In file included from ../include/loki/StrongPtr.h:20: In file included from ../include/loki/SmartPtr.h:33: In file included from ../include/loki/SmallObj.h:23: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from StrongPtr.cpp:16: ../include/loki/StrongPtr.h:193:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ ../include/loki/StrongPtr.h:224:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ 3 warnings generated. ar -rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o ar: warning: 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 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' gmake -C src build-shared gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp In file included from LevelMutex.cpp:25: ../include/loki/LevelMutex.h:837:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~ ../include/loki/LevelMutex.h:837:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ^~~~~~~ ~ ../include/loki/LevelMutex.h:933:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~ ../include/loki/LevelMutex.h:933:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] clock_t timeOut = clock() + milliSeconds; ^~~~~~~ ~ LevelMutex.cpp:35:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define nullptr 0 ^ LevelMutex.cpp:186:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:320:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:403:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:493:40: warning: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] const unsigned int count = mutexes.size(); ~~~~~ ~~~~~~~~^~~~~~ LevelMutex.cpp:763:9: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare] && ( error == MutexErrors::LevelTooLow ) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp In file included from OrderedStatic.cpp:16: In file included from ../include/loki/OrderedStatic.h:22: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp SafeFormat.cpp:27:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] ::std::fwrite(from, 1, to - from, f); ~~ ~~~^~~~~~ 1 warning generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o Singleton.lo Singleton.cpp In file included from Singleton.cpp:19: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp In file included from SmallObj.cpp:19: In file included from ../include/loki/SmallObj.h:23: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] ( toRelease - pData_ ) / blockSize); ~~~~~~~~~~^~~~~~~~ ~ SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] ( place - pData_ ) / blockSize ); ~~~~~~^~~~~~~~ ~ 3 warnings generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp In file included from SmartPtr.cpp:20: In file included from ../include/loki/SmartPtr.h:33: In file included from ../include/loki/SmallObj.h:23: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp In file included from StrongPtr.cpp:16: In file included from ../include/loki/StrongPtr.h:20: In file included from ../include/loki/SmartPtr.h:33: In file included from ../include/loki/SmallObj.h:23: ../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from StrongPtr.cpp:16: ../include/loki/StrongPtr.h:193:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ ../include/loki/StrongPtr.h:224:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ 3 warnings generated. c++ -fstack-protector-strong --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 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' gmake -C test gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test' gmake -C CachedFactory gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/CachedFactory' c++ -MM -MT CachedFactoryTest.o -I../../include -DNDEBUG CachedFactoryTest.cpp > .static-dep/CachedFactoryTest.dep c++ -MM -MT CachedFactoryTest.lo -I../../include -DNDEBUG CachedFactoryTest.cpp > .shared-dep/CachedFactoryTest.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o CachedFactoryTest.o CachedFactoryTest.cpp In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: In file included from ../../include/loki/Functor.h:24: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:187:91: warning: 'bind2nd, int>' is deprecated [-Wdeprecated-declarations] Vector::iterator newEnd = remove_if(m_vTimes.begin(), m_vTimes.end(), bind2nd(less(), currentTime - timeValidity)); ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CachedFactoryTest.cpp:51:44: warning: implicit conversion loses integer precision: 'unsigned long' to 'useconds_t' (aka 'unsigned int') [-Wshorten-64-to-32] void Sleep(unsigned int t) { usleep( 1000 * static_cast(t));} ~~~~~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ CachedFactoryTest.cpp:172:25: note: in instantiation of template class 'Loki::Functor' requested here CC.Register(nullID, createCostlyProductNull); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CachedFactoryTest.cpp:179:119: warning: implicit conversion from 'milliSec' (aka 'long') to 'double' may lose precision [-Wimplicit-int-float-conversion] cout << "No cache "<>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ CachedFactoryTest.cpp:376:25: note: in instantiation of template class 'Loki::Functor>' requested here CC2.Register(intID, createProductInt); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/SPCachedFactory.h:132:21: note: in instantiation of template class 'Loki::Functor>' requested here FunctorType functor_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:29: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:141:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ CachedFactoryTest.cpp:160:46: note: in instantiation of function template specialization 'unitTestCacheOverhead>' requested here bool test1 = dispResult("Random policy", unitTestCacheOverhead< CRandomEvict >(loop));(void)test1; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:508:69: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] m_vKeys.erase(remove_if(m_vKeys.begin(), m_vKeys.end(), bind2nd(equal_to< DT >(), key)), m_vKeys.end()); ^ ../../include/loki/CachedFactory.h:760:17: note: in instantiation of member function 'Loki::EvictRandom::onDestroy' requested here EP::onDestroy(pProduct); ^ ../../include/loki/CachedFactory.h:799:21: note: in instantiation of member function 'Loki::CachedFactory::onDestroy' requested here onDestroy(pProduct); // warning policies we are about to destroy an object ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:141:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ CachedFactoryTest.cpp:160:46: note: in instantiation of function template specialization 'unitTestCacheOverhead>' requested here bool test1 = dispResult("Random policy", unitTestCacheOverhead< CRandomEvict >(loop));(void)test1; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:519:65: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] size_type random = static_cast((m_vKeys.size()*rand())/(static_cast(RAND_MAX) + 1)); ~^~~~~~ ../../include/loki/CachedFactory.h:726:21: note: in instantiation of member function 'Loki::EvictRandom::evict' requested here EP::evict(); // calling Eviction Policy to clean up ^ ../../include/loki/CachedFactory.h:869:16: note: in instantiation of member function 'Loki::CachedFactory::shouldCreateObject' requested here if(shouldCreateObject(pProduct)) ^ CachedFactoryTest.cpp:145:38: note: in instantiation of member function 'Loki::CachedFactory::CreateObject' requested here AbstractProduct *pProduct(CC.CreateObject(nullID)); ^ CachedFactoryTest.cpp:160:46: note: in instantiation of function template specialization 'unitTestCacheOverhead>' requested here bool test1 = dispResult("Random policy", unitTestCacheOverhead< CRandomEvict >(loop));(void)test1; ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:520:32: warning: implicit conversion changes signedness: 'Loki::EvictRandom::size_type' (aka 'unsigned long') to 'std::__wrap_iter::difference_type' (aka 'long') [-Wsign-conversion] remove(*(m_vKeys.begin()+random)); ~^~~~~~ ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:141:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ CachedFactoryTest.cpp:161:43: note: in instantiation of function template specialization 'unitTestCacheOverhead>' requested here bool test2 = dispResult("LRU policy", unitTestCacheOverhead< CLRUEvict >(loop));(void)test2; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:330:16: warning: reference to stack memory associated with local variable 'copyMap' returned [-Wreturn-stack-address] return (*copyMap.begin()).second; ^~~~~~~ ../../include/loki/CachedFactory.h:388:18: note: in instantiation of member function 'Loki::EvictionHelper::getLowerBound' requested here remove(EH::getLowerBound()); ^ ../../include/loki/CachedFactory.h:726:21: note: in instantiation of member function 'Loki::EvictLRU::evict' requested here EP::evict(); // calling Eviction Policy to clean up ^ ../../include/loki/CachedFactory.h:869:16: note: in instantiation of member function 'Loki::CachedFactory::shouldCreateObject' requested here if(shouldCreateObject(pProduct)) ^ CachedFactoryTest.cpp:145:38: note: in instantiation of member function 'Loki::CachedFactory::CreateObject' requested here AbstractProduct *pProduct(CC.CreateObject(nullID)); ^ CachedFactoryTest.cpp:161:43: note: in instantiation of function template specialization 'unitTestCacheOverhead>' requested here bool test2 = dispResult("LRU policy", unitTestCacheOverhead< CLRUEvict >(loop));(void)test2; ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:141:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ CachedFactoryTest.cpp:162:45: note: in instantiation of function template specialization 'unitTestCacheOverhead>' requested here bool test3 = dispResult("Aging policy", unitTestCacheOverhead< CAgingEvict >(loop));(void)test3; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:171:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:251:22: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CRandomEvict cache; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CachedFactoryTest.cpp:214:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fetched.push_back(CC.CreateObject(int(objectKind*rand()/(RAND_MAX + 1.0)))); ~^~~~~~ CachedFactoryTest.cpp:238:25: note: in instantiation of function template specialization 'typicalUse>' requested here cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; ^ CachedFactoryTest.cpp:252:9: note: in instantiation of function template specialization 'displayTypicalUse>' requested here displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); ^ CachedFactoryTest.cpp:219:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fetched.push_back(CC.CreateObject(int(objectKind*rand()/(RAND_MAX + 1.0)))); ~^~~~~~ CachedFactoryTest.cpp:204:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] CC.Register(i, createProductNull); ~~~~~~~~ ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:256:19: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CLRUEvict cache; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CachedFactoryTest.cpp:214:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fetched.push_back(CC.CreateObject(int(objectKind*rand()/(RAND_MAX + 1.0)))); ~^~~~~~ CachedFactoryTest.cpp:238:25: note: in instantiation of function template specialization 'typicalUse>' requested here cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; ^ CachedFactoryTest.cpp:257:9: note: in instantiation of function template specialization 'displayTypicalUse>' requested here displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); ^ CachedFactoryTest.cpp:219:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fetched.push_back(CC.CreateObject(int(objectKind*rand()/(RAND_MAX + 1.0)))); ~^~~~~~ CachedFactoryTest.cpp:204:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] CC.Register(i, createProductNull); ~~~~~~~~ ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:261:21: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CAgingEvict cache; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CachedFactoryTest.cpp:214:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fetched.push_back(CC.CreateObject(int(objectKind*rand()/(RAND_MAX + 1.0)))); ~^~~~~~ CachedFactoryTest.cpp:238:25: note: in instantiation of function template specialization 'typicalUse>' requested here cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; ^ CachedFactoryTest.cpp:262:9: note: in instantiation of function template specialization 'displayTypicalUse>' requested here displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); ^ CachedFactoryTest.cpp:219:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fetched.push_back(CC.CreateObject(int(objectKind*rand()/(RAND_MAX + 1.0)))); ~^~~~~~ CachedFactoryTest.cpp:204:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] CC.Register(i, createProductNull); ~~~~~~~~ ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:302:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:321:12: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CCache CC; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory>::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:375:14: note: in instantiation of member function 'Loki::CachedFactory>::CachedFactory' requested here CCache2Parm CC2; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h:796:61: warning: 'bind2nd, AbstractProduct *>' is deprecated [-Wdeprecated-declarations] objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); ^ ../../include/loki/CachedFactory.h:811:9: note: in instantiation of member function 'Loki::CachedFactory::remove' requested here CachedFactory() : factory(), fromKeyToObjVector(), providedObjects(), outObjects(0) ^ CachedFactoryTest.cpp:403:11: note: in instantiation of member function 'Loki::CachedFactory::CachedFactory' requested here CFactory factory; ^ /usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, AbstractProduct *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 37 warnings generated. c++ -fstack-protector-strong -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/CachedFactory' gmake -C DeletableSingleton gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/DeletableSingleton' c++ -MM -MT DeletableSingleton.o -I../../include -DNDEBUG DeletableSingleton.cpp > .static-dep/DeletableSingleton.dep c++ -MM -MT DeletableSingleton.lo -I../../include -DNDEBUG DeletableSingleton.cpp > .shared-dep/DeletableSingleton.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o DeletableSingleton.o DeletableSingleton.cpp In file included from DeletableSingleton.cpp:29: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -fstack-protector-strong -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/DeletableSingleton' gmake -C Factory gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Factory' c++ -MM -MT Factory.o -I../../include -DNDEBUG Factory.cpp > .static-dep/Factory.dep c++ -MM -MT Factory.lo -I../../include -DNDEBUG Factory.cpp > .shared-dep/Factory.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o Factory.o Factory.cpp In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: In file included from ../../include/loki/Functor.h:24: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ Factory.cpp:178:45: note: in instantiation of template class 'Loki::Functor>' requested here Product* createProductRuntime(CreateFunctor func, int a, int b) ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ Factory.cpp:197:60: note: in instantiation of template class 'Loki::Functor' requested here bool const ok1 = PFactoryNull::Instance().Register( 1, createProductNull ); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ Factory.cpp:202:60: note: in instantiation of template class 'Loki::Functor>' requested here bool const ok5 = PFactory::Instance().Register( "One", createProductParm ); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>, int, int>>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ Factory.cpp:207:67: note: in instantiation of template class 'Loki::Functor>, int, int>>' requested here bool const ok9 = PFactoryFunctorParm::Instance().Register( 1, createProductRuntime ); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>, int, int>>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>, int, int>>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>, int, int>>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Factory.cpp:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>, int, int>>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>, int, int>>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 13 warnings generated. c++ -fstack-protector-strong -o Factory Factory.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Factory' gmake -C Function gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Function' c++ -MM -MT FunctionTest.o -I../../include -DNDEBUG FunctionTest.cpp > .static-dep/FunctionTest.dep c++ -MM -MT FunctionTest.lo -I../../include -DNDEBUG FunctionTest.cpp > .shared-dep/FunctionTest.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o FunctionTest.o FunctionTest.cpp In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: In file included from ../../include/loki/Functor.h:24: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:132:18: note: in instantiation of template class 'Loki::Functor<>' requested here : public Loki::Functor<> ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ FunctionTest.cpp:130:8: warning: explicitly assigning value of variable of type 'func_void_type' (aka 'Function') to itself [-Wself-assign-overloaded] v1 = v1; ~~ ^ ~~ FunctionTest.cpp:139:8: warning: explicitly assigning value of variable of type 'func_void_type' (aka 'Function') to itself [-Wself-assign-overloaded] v1 = (v1); ~~ ^ ~~ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:49:35: note: in instantiation of template class 'Loki::Functor' requested here struct Function : public Functor ^ FunctionTest.cpp:547:19: note: in instantiation of template class 'Loki::Function' requested here func_int_type i0(gen_five); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:49:35: note: in instantiation of template class 'Loki::Functor' requested here struct Function : public Functor ^ FunctionTest.cpp:562:20: note: in instantiation of template class 'Loki::Function' requested here func_long_type i1(gen_five); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:148:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Loki::Functor > ^ FunctionTest.cpp:580:25: note: in instantiation of template class 'Loki::Function' requested here function f1(neg); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:148:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Loki::Functor > ^ FunctionTest.cpp:583:31: note: in instantiation of template class 'Loki::Function' requested here function id(&identity_str); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:148:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Loki::Functor > ^ FunctionTest.cpp:586:36: note: in instantiation of template class 'Loki::Function' requested here function id2(&identity_str); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:161:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Functor > ^ FunctionTest.cpp:599:53: note: in instantiation of template class 'Loki::Function' requested here function cat(&string_cat); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:161:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Functor > ^ FunctionTest.cpp:602:34: note: in instantiation of template class 'Loki::Function' requested here function sum(&sum_ints); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:49:35: note: in instantiation of template class 'Loki::Functor' requested here struct Function : public Functor ^ FunctionTest.cpp:608:24: note: in instantiation of template class 'Loki::Function' requested here function f1; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:49:35: note: in instantiation of template class 'Loki::Functor' requested here struct Function : public Functor ^ FunctionTest.cpp:615:25: note: in instantiation of template class 'Loki::Function' requested here function f3; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:161:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Functor > ^ FunctionTest.cpp:750:30: note: in instantiation of template class 'Loki::Function' requested here function f; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:148:18: note: in instantiation of template class 'Loki::Functor>' requested here : public Loki::Functor > ^ /usr/include/c++/v1/__utility/pair.h:49:9: note: in instantiation of template class 'Loki::Function' requested here _T2 second; ^ FunctionTest.cpp:769:17: note: in instantiation of template class 'std::pair>' requested here mapped_type m; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1267:42: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] return spImpl_.get() ? &std::auto_ptr::get : 0; ^ FunctionTest.cpp:113:17: note: in instantiation of member function 'Loki::Functor<>::operator Loki::FunctorImpl *(std::auto_ptr >::*)() const' requested here BOOST_CHECK(v1 != 0); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1267:42: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] return spImpl_.get() ? &std::auto_ptr::get : 0; ^ FunctionTest.cpp:556:17: note: in instantiation of member function 'Loki::Functor::operator Loki::FunctorImpl *(std::auto_ptr >::*)() const' requested here BOOST_CHECK(i0? true : false); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from FunctionTest.cpp:50: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1267:42: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] return spImpl_.get() ? &std::auto_ptr::get : 0; ^ FunctionTest.cpp:571:17: note: in instantiation of member function 'Loki::Functor::operator Loki::FunctorImpl *(std::auto_ptr >::*)() const' requested here BOOST_CHECK(i1? true : false); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 42 warnings generated. c++ -fstack-protector-strong -o FunctionTest FunctionTest.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Function' gmake -C LockingPtr gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp main.cpp:108:20: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion] threads.at(i)->start(); ~~ ^ main.cpp:123:20: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion] threads.at(i)->start(); ~~ ^ In file included from main.cpp:25: ../../include/loki/SafeFormat.h:366:42: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] memcpy(fmtBuf, fmt, (format_ - fmt) * sizeof(Char)); ~~~~~~~~^~~~~ ~ ../../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState<__sFILE *, char>::PrintUsing_snprintf' requested here PrintUsing_snprintf(n,"p"); ^ main.cpp:42:44: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here DO;Printf("%p: ----------------\n")(id); ^ In file included from main.cpp:25: ../../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r += *format_ - '0'; ~~ ~~~~~~~~~^~~~~ ../../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ParseDecimalSizeT' requested here ParseDecimalSizeT(width_); ^ ../../include/loki/SafeFormat.h:498:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadWidth' requested here ReadWidth(); ^ ../../include/loki/SafeFormat.h:353:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadLeaders' requested here ReadLeaders(); ^ ../../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState<__sFILE *, char>::PrintUsing_snprintf' requested here PrintUsing_snprintf(n,"p"); ^ main.cpp:42:44: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here DO;Printf("%p: ----------------\n")(id); ^ In file included from main.cpp:25: ../../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] countDigits = bufEnd - bufLast, ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:104:39: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here Printf("Creating thread %d\n")(i); ^ In file included from main.cpp:25: ../../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] void ResetFillZeros() { flags_ &= ~fillZeros; } ~~ ^~~~~~~~~~ ../../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ResetFillZeros' requested here ResetFillZeros(); ^ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:104:39: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here Printf("Creating thread %d\n")(i); ^ 6 warnings generated. c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a -lpthread gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr' gmake -C Longevity gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Longevity' c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -fexpensive-optimizations -O3 -I../../include -DNDEBUG -c -o main.o main.cpp c++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from main.cpp:57: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ main.cpp:106:12: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] return keyboardPriority; ~~~~~~ ^~~~~~~~~~~~~~~~ main.cpp:125:12: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] return logPriority; ~~~~~~ ^~~~~~~~~~~ main.cpp:175:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] SetLongevity(pGlobal, globalPriority, exampleAdapter); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~ main.cpp:180:55: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] SetLongevity(pLocal, localPriority, &Loki::Private::Deleter::Delete); ~~~~~~~~~~~~ ^~~~~~~~~~~~~ 5 warnings generated. c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -fexpensive-optimizations -O3 -I../../include -DNDEBUG -c -o main2.o main2.cpp c++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from main2.cpp:15: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -fstack-protector-strong -o main2 main2.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Longevity' gmake -C OrderedStatic gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/OrderedStatic' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp In file included from main.cpp:22: In file included from ../../include/loki/Functor.h:24: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ main.cpp:121:6: note: in instantiation of template class 'Loki::Functor' requested here (*f1)(); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 4 warnings generated. c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/OrderedStatic' gmake -C Pimpl gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Pimpl' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp In file included from main.cpp:24: In file included from ./type.h:24: In file included from ../../include/loki/SmartPtr.h:33: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:24: ./type.h:94:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr > StdAutoPtr; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:24: ./type.h:110:26: warning: 'StdAutoPtr' is deprecated [-Wdeprecated-declarations] typedef Pimpl, StdAutoPtr> Pimpl5; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:24: ./type.h:125:31: warning: 'StdAutoPtr' is deprecated [-Wdeprecated-declarations] typedef PimplOwner, StdAutoPtr> PimplOwner5; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:25: ./type2.h:133:23: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] Pimpl > d; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:27: ../../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r += *format_ - '0'; ~~ ~~~~~~~~~^~~~~ ../../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ParseDecimalSizeT' requested here ParseDecimalSizeT(width_); ^ ../../include/loki/SafeFormat.h:136:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadWidth' requested here ReadWidth(); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:40:51: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here ~ImplOf(){Printf("A destroyed, data=%d\n")(data);} ^ In file included from main.cpp:27: ../../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] countDigits = bufEnd - bufLast, ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:40:51: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here ~ImplOf(){Printf("A destroyed, data=%d\n")(data);} ^ In file included from main.cpp:27: ../../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] void ResetFillZeros() { flags_ &= ~fillZeros; } ~~ ^~~~~~~~~~ ../../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ResetFillZeros' requested here ResetFillZeros(); ^ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:40:51: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here ~ImplOf(){Printf("A destroyed, data=%d\n")(data);} ^ In file included from main.cpp:24: In file included from ./type.h:16: ../../include/loki/Pimpl.h:93:26: warning: unused typedef 'T_must_be_defined' [-Wunused-local-typedef] typedef char T_must_be_defined[sizeof(T) ? 1 : -1 ]; ^ 9 warnings generated. c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Pimpl' gmake -C Register gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Register' c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp In file included from main.cpp:18: In file included from ../../include/loki/Factory.h:20: In file included from ../../include/loki/Functor.h:24: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:18: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ main.cpp:32:49: note: in instantiation of template class 'Loki::Functor' requested here return BaseFactory::Instance().Register(key,creator); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:18: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from main.cpp:18: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 4 warnings generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o foo.o foo.cpp ar -rv libfoo.a foo.o ar: warning: creating libfoo.a a - foo.o c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -L. -fstack-protector-strong -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Register' gmake -C RegressionTest gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/RegressionTest' c++ -MM -MT Test.o -I../../include -DNDEBUG Test.cpp > .static-dep/Test.dep c++ -MM -MT Test.lo -I../../include -DNDEBUG Test.cpp > .shared-dep/Test.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o Test.o Test.cpp In file included from Test.cpp:31: ./UnitTest.h:106:39: warning: implicit conversion changes signedness: 'const int' to 'std::basic_string::size_type' (aka 'unsigned long') [-Wsign-conversion] std::cout << std::string(result.pos,' ') << name << '\n'; ~~~ ~~~~~~~^~~ ./UnitTest.h:112:43: warning: implicit conversion changes signedness: 'int' to 'std::basic_string::size_type' (aka 'unsigned long') [-Wsign-conversion] std::string str=std::string(result.pos+2,' ')+s; ~~~ ~~~~~~~~~~^~ In file included from Test.cpp:45: In file included from ./SmallObjectTest.h:20: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:45: ./SmallObjectTest.h:148:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] size_t pos = std::rand() % vec.size(); ^~~~~~~~~~~ ~ In file included from Test.cpp:45: In file included from ./SmallObjectTest.h:170: ./../../src/SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] ( toRelease - pData_ ) / blockSize); ~~~~~~~~~~^~~~~~~~ ~ ./../../src/SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] ( place - pData_ ) / blockSize ); ~~~~~~^~~~~~~~ ~ In file included from Test.cpp:51: ./TypeManipTest.h:52:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] r=Conversion::exists && ^ ./TypeManipTest.h:52:36: note: use '&' for a bitwise operation r=Conversion::exists && ^~ & ./TypeManipTest.h:52:36: note: remove constant to silence this warning r=Conversion::exists && ~^~ ./TypeManipTest.h:75:43: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] r=SuperSubclass::value && ^ ./TypeManipTest.h:75:43: note: use '&' for a bitwise operation r=SuperSubclass::value && ^~ & ./TypeManipTest.h:75:43: note: remove constant to silence this warning r=SuperSubclass::value && ~^~ ./TypeManipTest.h:84:49: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] r=SuperSubclassStrict::value && ^ ./TypeManipTest.h:84:49: note: use '&' for a bitwise operation r=SuperSubclassStrict::value && ^~ & ./TypeManipTest.h:84:49: note: remove constant to silence this warning r=SuperSubclassStrict::value && ~^~ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ./FactoryTest.h:61:25: note: in instantiation of template class 'Loki::Functor' requested here factory.Register(1, reinterpret_cast(createPolygon)); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:57: ./AbstractFactoryTest.h:74:10: warning: 'auto_ptr>>>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr easyFactory(new EasyLevelEnemyFactory); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:57: In file included from ./AbstractFactoryTest.h:21: ../../include/loki/AbstractFactory.h:94:26: warning: 'Loki::OpNewFactoryUnit>>>>::DoCreate' hides overloaded virtual functions [-Woverloaded-virtual] ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/HierarchyGenerators.h:271:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>>>>' requested here : public Unit ^ ../../include/loki/AbstractFactory.h:85:37: note: in instantiation of template class 'Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here class OpNewFactoryUnit : public Base ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:85:37: note: in instantiation of template class 'Loki::GenLinearHierarchy>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here class OpNewFactoryUnit : public Base ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:173:18: note: in instantiation of template class 'Loki::GenLinearHierarchy>>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here : public GenLinearHierarchy< ^ ./AbstractFactoryTest.h:74:57: note: in instantiation of template class 'Loki::ConcreteFactory>>>, Loki::OpNewFactoryUnit, Loki::Typelist>>>' requested here std::auto_ptr easyFactory(new EasyLevelEnemyFactory); ^ ../../include/loki/AbstractFactory.h:53:20: note: hidden overloaded virtual function 'Loki::AbstractFactoryUnit::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type' vs 'Type2Type>>>>::AbstractProduct>') virtual T* DoCreate(Type2Type) = 0; ^ ../../include/loki/AbstractFactory.h:53:20: note: hidden overloaded virtual function 'Loki::AbstractFactoryUnit::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type' vs 'Type2Type>>>>::AbstractProduct>') ../../include/loki/AbstractFactory.h:94:26: warning: 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::DoCreate' hides overloaded virtual function [-Woverloaded-virtual] ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:85:37: note: in instantiation of template class 'Loki::GenLinearHierarchy>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here class OpNewFactoryUnit : public Base ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:173:18: note: in instantiation of template class 'Loki::GenLinearHierarchy>>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here : public GenLinearHierarchy< ^ ./AbstractFactoryTest.h:74:57: note: in instantiation of template class 'Loki::ConcreteFactory>>>, Loki::OpNewFactoryUnit, Loki::Typelist>>>' requested here std::auto_ptr easyFactory(new EasyLevelEnemyFactory); ^ ../../include/loki/AbstractFactory.h:94:26: note: hidden overloaded virtual function 'Loki::OpNewFactoryUnit>>>>::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type>>>>::AbstractProduct>' vs 'Type2Type, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::AbstractProduct>') ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/AbstractFactory.h:94:26: warning: 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::DoCreate' hides overloaded virtual function [-Woverloaded-virtual] ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:173:18: note: in instantiation of template class 'Loki::GenLinearHierarchy>>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here : public GenLinearHierarchy< ^ ./AbstractFactoryTest.h:74:57: note: in instantiation of template class 'Loki::ConcreteFactory>>>, Loki::OpNewFactoryUnit, Loki::Typelist>>>' requested here std::auto_ptr easyFactory(new EasyLevelEnemyFactory); ^ ../../include/loki/AbstractFactory.h:94:26: note: hidden overloaded virtual function 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::AbstractProduct>' vs 'Type2Type>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::AbstractProduct>') ConcreteProduct* DoCreate(Type2Type) ^ In file included from Test.cpp:57: ./AbstractFactoryTest.h:75:10: warning: 'auto_ptr>>>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr hardFactory(new HardLevelEnemyFactory); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:57: In file included from ./AbstractFactoryTest.h:21: ../../include/loki/AbstractFactory.h:94:26: warning: 'Loki::OpNewFactoryUnit>>>>::DoCreate' hides overloaded virtual functions [-Woverloaded-virtual] ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/HierarchyGenerators.h:271:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>>>>' requested here : public Unit ^ ../../include/loki/AbstractFactory.h:85:37: note: in instantiation of template class 'Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here class OpNewFactoryUnit : public Base ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:85:37: note: in instantiation of template class 'Loki::GenLinearHierarchy>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here class OpNewFactoryUnit : public Base ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:173:18: note: in instantiation of template class 'Loki::GenLinearHierarchy>>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here : public GenLinearHierarchy< ^ ./AbstractFactoryTest.h:75:57: note: in instantiation of template class 'Loki::ConcreteFactory>>>, Loki::OpNewFactoryUnit, Loki::Typelist>>>' requested here std::auto_ptr hardFactory(new HardLevelEnemyFactory); ^ ../../include/loki/AbstractFactory.h:53:20: note: hidden overloaded virtual function 'Loki::AbstractFactoryUnit::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type' vs 'Type2Type>>>>::AbstractProduct>') virtual T* DoCreate(Type2Type) = 0; ^ ../../include/loki/AbstractFactory.h:53:20: note: hidden overloaded virtual function 'Loki::AbstractFactoryUnit::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type' vs 'Type2Type>>>>::AbstractProduct>') ../../include/loki/AbstractFactory.h:94:26: warning: 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::DoCreate' hides overloaded virtual function [-Woverloaded-virtual] ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:85:37: note: in instantiation of template class 'Loki::GenLinearHierarchy>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here class OpNewFactoryUnit : public Base ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:173:18: note: in instantiation of template class 'Loki::GenLinearHierarchy>>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here : public GenLinearHierarchy< ^ ./AbstractFactoryTest.h:75:57: note: in instantiation of template class 'Loki::ConcreteFactory>>>, Loki::OpNewFactoryUnit, Loki::Typelist>>>' requested here std::auto_ptr hardFactory(new HardLevelEnemyFactory); ^ ../../include/loki/AbstractFactory.h:94:26: note: hidden overloaded virtual function 'Loki::OpNewFactoryUnit>>>>::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type>>>>::AbstractProduct>' vs 'Type2Type, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::AbstractProduct>') ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/AbstractFactory.h:94:26: warning: 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::DoCreate' hides overloaded virtual function [-Woverloaded-virtual] ConcreteProduct* DoCreate(Type2Type) ^ ../../include/loki/HierarchyGenerators.h:260:18: note: in instantiation of template class 'Loki::OpNewFactoryUnit>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>' requested here : public Unit< T1, GenLinearHierarchy > ^ ../../include/loki/AbstractFactory.h:173:18: note: in instantiation of template class 'Loki::GenLinearHierarchy>>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>' requested here : public GenLinearHierarchy< ^ ./AbstractFactoryTest.h:75:57: note: in instantiation of template class 'Loki::ConcreteFactory>>>, Loki::OpNewFactoryUnit, Loki::Typelist>>>' requested here std::auto_ptr hardFactory(new HardLevelEnemyFactory); ^ ../../include/loki/AbstractFactory.h:94:26: note: hidden overloaded virtual function 'Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::DoCreate' declared here: type mismatch at 1st parameter ('Type2Type, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::AbstractProduct>' vs 'Type2Type>, Loki::OpNewFactoryUnit, Loki::AbstractFactory>>>>>::AbstractProduct>') ConcreteProduct* DoCreate(Type2Type) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ./FunctorTest.h:51:47: note: in instantiation of template class 'Loki::Functor>' requested here Functor function(testFunction); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Functor.h:1455:30: note: in instantiation of template class 'Loki::Functor<>' requested here typedef typename BoundFunctorType::Impl Impl; ^ ../../include/loki/Functor.h:1611:23: note: in instantiation of template class 'Loki::Private::BinderFirstTraits>>' requested here typename Private::BinderFirstTraits::BoundFunctorType ^ ./FunctorTest.h:60:44: note: while substituting deduced template arguments into function template 'BindFirst' [with Fctor = Functor>] Functor bindFunctor(BindFirst(function,testResult)); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:60: ./AssocVectorTest.h:262:45: warning: unused variable 'aux' [-Wunused-variable] std::pair aux = vec21.insert(std::make_pair("xyz", 99)); ^ ./AssocVectorTest.h:321:28: warning: unused variable 'it' [-Wunused-variable] test_vect4_t::iterator it = vec41.find(AVTestClass(22)); ^ ./AssocVectorTest.h:375:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] rand() % numSamples ); ^~~~~~ ~ ./AssocVectorTest.h:374:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] rand() % numSamples, ^~~~~~ ~ ./AssocVectorTest.h:393:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] newVec.insert( newVec.begin() + rand() % newVec.size(), newValue ); ^~~~~~ ~ ./AssocVectorTest.h:417:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] std::advance( itr, rand() % (testVec.size()-1) + 1 ); ^~~~~~ ~ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1619:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] return Outgoing(std::auto_ptr( ^ ./FunctorTest.h:60:44: note: in instantiation of function template specialization 'Loki::BindFirst>>' requested here Functor bindFunctor(BindFirst(function,testResult)); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:55: In file included from ./FactoryTest.h:19: In file included from ../../include/loki/Factory.h:20: ../../include/loki/Functor.h:1781:26: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] return Fun2(std::auto_ptr( ^ ./FunctorTest.h:63:36: note: in instantiation of function template specialization 'Loki::Chain, Loki::Functor<>>' requested here Functor chainFunctor(Chain(bindFunctor,bindFunctor)); ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Test.cpp:45: ./SmallObjectTest.h:77:9: warning: private field 'a' is not used [-Wunused-private-field] int a; ^ ./SmallObjectTest.h:82:9: warning: private field 'b' is not used [-Wunused-private-field] int b; ^ ./SmallObjectTest.h:87:10: warning: private field 'a' is not used [-Wunused-private-field] char a[200]; ^ ./SmallObjectTest.h:92:9: warning: private field 'b' is not used [-Wunused-private-field] int b; ^ ./SmallObjectTest.h:103:9: warning: private field 'a' is not used [-Wunused-private-field] int a[1]; ^ ./SmallObjectTest.h:108:9: warning: private field 'a' is not used [-Wunused-private-field] int a[2]; ^ ./SmallObjectTest.h:113:9: warning: private field 'a' is not used [-Wunused-private-field] int a[3]; ^ ./SmallObjectTest.h:118:9: warning: private field 'a' is not used [-Wunused-private-field] int a[4]; ^ 42 warnings generated. c++ -fstack-protector-strong -o Test Test.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/RegressionTest' gmake -C SafeFormat gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SafeFormat' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -fexpensive-optimizations -O3 -I../../include -DNDEBUG -c -o main.o main.cpp c++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] main.cpp:101:15: warning: unused variable 'i1' [-Wunused-variable] const int i1 = SPrintf(s, fmt.c_str())(value)(value2); ^ main.cpp:102:15: warning: unused variable 'i2' [-Wunused-variable] const int i2 = snprintf(buf, sizeof(buf), fmt.c_str(), value, value2); ^ main.cpp:171:44: warning: implicit conversion changes signedness: 'int' to 'const unsigned int' [-Wsign-conversion] const unsigned int width = RandomInt(0, 100); ~~~~~ ^~~~~~~~~~~~~~~~~ main.cpp:179:43: warning: implicit conversion changes signedness: 'int' to 'const unsigned int' [-Wsign-conversion] const unsigned int prec = RandomInt(0, 100); ~~~~ ^~~~~~~~~~~~~~~~~ main.cpp:228:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] void * p = malloc(RandomInt(1, 1000)); ~~~~~~ ^~~~~~~~~~~~~~~~~~ main.cpp:42:12: warning: implicit conversion changes signedness: 'int' to 'const unsigned int' [-Wsign-conversion] low2 = low, ~~~~ ^~~ main.cpp:62:19: note: in instantiation of function template specialization 'RandomInt' requested here string result(RandomInt(0, maxSize), '\0'); ^ main.cpp:43:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] n = up - low; ~ ^~~ main.cpp:52:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r = Integral2(rand() / bucket_size); ^~~~~~ ~ main.cpp:47:41: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion] const size_t bucket_size = RAND_MAX / n; ~~~~~~~~~~~ ~~~~~~~~~^~~ main.cpp:66:21: note: in instantiation of function template specialization 'RandomInt' requested here result[i] = RandomInt('a', 'z'); ^ main.cpp:52:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r = Integral2(rand() / bucket_size); ^~~~~~ ~ main.cpp:52:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r = Integral2(rand() / bucket_size); ^~~~~~ ~ main.cpp:163:31: note: in instantiation of function template specialization 'RandomInt' requested here size_t maxFlags = RandomInt(0u, flags.length() - 1); ^ main.cpp:47:41: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion] const size_t bucket_size = RAND_MAX / n; ~~~~~~~~~~~ ~~~~~~~~~^~~ main.cpp:169:17: note: in instantiation of function template specialization 'RandomInt' requested here if (RandomInt(0, 1)) ^ main.cpp:52:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r = Integral2(rand() / bucket_size); ^~~~~~ ~ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r += *format_ - '0'; ~~ ~~~~~~~~~^~~~~ ../../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState::ParseDecimalSizeT' requested here ParseDecimalSizeT(width_); ^ ../../include/loki/SafeFormat.h:136:13: note: in instantiation of member function 'Loki::PrintfState::ReadWidth' requested here ReadWidth(); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:76:20: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here const int i1 = SPrintf(s, fmt.c_str())(value); ^ main.cpp:203:17: note: in instantiation of function template specialization 'TestCase' requested here TestCase(formatSpec, RandomInt(1, 127)); ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] countDigits = bufEnd - bufLast, ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:76:20: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here const int i1 = SPrintf(s, fmt.c_str())(value); ^ main.cpp:203:17: note: in instantiation of function template specialization 'TestCase' requested here TestCase(formatSpec, RandomInt(1, 127)); ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] void ResetFillZeros() { flags_ &= ~fillZeros; } ~~ ^~~~~~~~~~ ../../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState::ResetFillZeros' requested here ResetFillZeros(); ^ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ main.cpp:76:20: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here const int i1 = SPrintf(s, fmt.c_str())(value); ^ main.cpp:203:17: note: in instantiation of function template specialization 'TestCase' requested here TestCase(formatSpec, RandomInt(1, 127)); ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:366:42: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] memcpy(fmtBuf, fmt, (format_ - fmt) * sizeof(Char)); ~~~~~~~~^~~~~ ~ ../../include/loki/SafeFormat.h:169:13: note: in instantiation of function template specialization 'Loki::PrintfState::PrintUsing_snprintf' requested here PrintUsing_snprintf(n,"eEfgG"); ^ main.cpp:76:20: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here const int i1 = SPrintf(s, fmt.c_str())(value); ^ main.cpp:221:17: note: in instantiation of function template specialization 'TestCase' requested here TestCase(formatSpec, ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:366:42: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] memcpy(fmtBuf, fmt, (format_ - fmt) * sizeof(Char)); ~~~~~~~~^~~~~ ~ ../../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState::PrintUsing_snprintf' requested here PrintUsing_snprintf(n,"p"); ^ main.cpp:76:20: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here const int i1 = SPrintf(s, fmt.c_str())(value); ^ main.cpp:229:21: note: in instantiation of function template specialization 'TestCase' requested here TestCase(formatSpec, p); ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r += *format_ - '0'; ~~ ~~~~~~~~~^~~~~ ../../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ParseDecimalSizeT' requested here ParseDecimalSizeT(width_); ^ ../../include/loki/SafeFormat.h:136:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadWidth' requested here ReadWidth(); ^ main.cpp:257:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here Printf("%d")(ul); ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] countDigits = bufEnd - bufLast, ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ main.cpp:257:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here Printf("%d")(ul); ^ In file included from main.cpp:15: ../../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] void ResetFillZeros() { flags_ &= ~fillZeros; } ~~ ^~~~~~~~~~ ../../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ResetFillZeros' requested here ResetFillZeros(); ^ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ main.cpp:257:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here Printf("%d")(ul); ^ 21 warnings generated. c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SafeFormat' gmake -C ScopeGuard gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/ScopeGuard' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp In file included from main.cpp:16: ../../include/loki/ScopeGuard.h:550:34: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion] (obj_.*memFun_)(p1_, p2_); ~ ^~~ ../../include/loki/ScopeGuard.h:66:23: note: in instantiation of member function 'Loki::ObjScopeGuardImpl2::Execute' requested here j.Execute(); ^ ../../include/loki/ScopeGuard.h:545:13: note: in instantiation of function template specialization 'Loki::ScopeGuardImplBase::SafeExecute>' requested here SafeExecute(*this); ^ main.cpp:170:38: note: in instantiation of member function 'Loki::ObjScopeGuardImpl2::~ObjScopeGuardImpl2' requested here ::Loki::ScopeGuard invariantGuard = ::Loki::MakeObjGuard( *this, ^ 1 warning generated. c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/ScopeGuard' gmake -C Singleton gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Singleton' c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o Dependencies.o Dependencies.cpp In file included from Dependencies.cpp:18: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Dependencies.cpp:19: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1250:22: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] Functor(std::auto_ptr spImpl) : spImpl_(spImpl) ^ ../../include/loki/Function.h:132:18: note: in instantiation of template class 'Loki::Functor<>' requested here : public Loki::Functor<> ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Dependencies.cpp:19: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1263:30: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from Dependencies.cpp:19: In file included from ../../include/loki/Function.h:22: ../../include/loki/Functor.h:1428:14: warning: 'auto_ptr>' is deprecated [-Wdeprecated-declarations] std::auto_ptr spImpl_; ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] void* p; ^ 5 warnings generated. c++ -fstack-protector-strong -o Dependencies Dependencies.o ../../lib/libloki.a c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o Phoenix.o Phoenix.cpp In file included from Phoenix.cpp:35: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -fstack-protector-strong -o Phoenix Phoenix.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Singleton' gmake -C SingletonDll gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SingletonDll' c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o client.o client.cpp In file included from client.cpp:28: In file included from ./singletondll.h:26: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../../include -DNDEBUG -o foo.lo foo.cpp c++ --shared -fPIC -L../../lib -o libfoo.so foo.lo ../../lib/libloki.a c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -fPIC -I../../include -DNDEBUG -o singletondll.lo singletondll.cpp In file included from singletondll.cpp:16: In file included from ./singletondll.h:26: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 warning generated. c++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a c++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SingletonDll' gmake -C SmallObj gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SmallObj' c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -fexpensive-optimizations -O3 -I../../include -DNDEBUG -c -o SmallObjBench.o SmallObjBench.cpp c++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from SmallObjBench.cpp:25: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:340:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:340:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:340:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:340:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:341:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:341:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:341:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:341:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:342:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:342:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:342:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:342:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:343:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:343:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:343:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:343:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:344:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:344:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:344:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:344:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:345:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:345:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:345:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:345:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::SingleThreaded, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::SingleThreaded, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:360:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:360:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:360:5: note: in instantiation of function template specialization 'testSize<2U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 2, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:361:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:361:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:361:5: note: in instantiation of function template specialization 'testSize<3U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 3, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:362:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:362:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:362:5: note: in instantiation of function template specialization 'testSize<8U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 8, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:363:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:363:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:363:5: note: in instantiation of function template specialization 'testSize<9U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 9, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:364:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:364:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:364:5: note: in instantiation of function template specialization 'testSize<16U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 16, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:308:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] void** a= new void*[Narr]; ~~~ ^~~~ SmallObjBench.cpp:365:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:365:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ SmallObjBench.cpp:215:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] LOKI_SMALLOBJ_BENCH(delete_new_array ,delete[] new T[N];) ~~~ ^ SmallObjBench.cpp:135:9: note: expanded from macro 'LOKI_SMALLOBJ_BENCH' CODE_LOOP \ ^~~~~~~~~ SmallObjBench.cpp:315:34: note: in instantiation of function template specialization 'delete_new_array>, 3>' requested here LOKI_SMALL_OBJECT_BENCH_ABCD(delete_new_array ,N,loop,t,"'delete[] new T[N]'"); ^ SmallObjBench.cpp:365:5: note: in instantiation of function template specialization 'testSize<17U, 1000000, Loki::ClassLevelLockable, 4096UL, 128UL, 4UL, Loki::NoDestroy, Loki::Mutex>' requested here testSize< 17, loop, ::Loki::ClassLevelLockable, 4096, 128, 4, ::Loki::NoDestroy, ::Loki::Mutex >(); ^ 44 warnings generated. c++ -fstack-protector-strong -o SmallObjBench SmallObjBench.o ../../lib/libloki.a c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -fexpensive-optimizations -O3 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp c++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from SmallObjSingleton.cpp:17: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ SmallObjSingleton.cpp:64:10: warning: private field 'm_stuff' is not used [-Wunused-private-field] char m_stuff[ 16 ]; ^ SmallObjSingleton.cpp:108:10: warning: private field 'm_stuff' is not used [-Wunused-private-field] char m_stuff[ 16 ]; ^ SmallObjSingleton.cpp:160:10: warning: private field 'm_stuff' is not used [-Wunused-private-field] char m_stuff[ 16 ]; ^ SmallObjSingleton.cpp:204:10: warning: private field 'm_stuff' is not used [-Wunused-private-field] char m_stuff[ 16 ]; ^ SmallObjSingleton.cpp:240:10: warning: private field 'm_stuff' is not used [-Wunused-private-field] char m_stuff[ 16 ]; ^ 6 warnings generated. c++ -fstack-protector-strong -o SmallObjSingleton SmallObjSingleton.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SmallObj' gmake -C SmartPtr gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SmartPtr' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT strong.o -I../../include -DNDEBUG strong.cpp > .static-dep/strong.dep c++ -MM -MT LockTest.o -I../../include -DNDEBUG LockTest.cpp > .static-dep/LockTest.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -MM -MT strong.lo -I../../include -DNDEBUG strong.cpp > .shared-dep/strong.dep c++ -MM -MT LockTest.lo -I../../include -DNDEBUG LockTest.cpp > .shared-dep/LockTest.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp In file included from main.cpp:18: In file included from ../../include/loki/SmartPtr.h:33: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ main.cpp:612:10: warning: variable 'merged' set but not used [-Wunused-but-set-variable] bool merged = false; ^ main.cpp:1004:10: warning: variable 'doThreadTest' set but not used [-Wunused-but-set-variable] bool doThreadTest = false; ^ In file included from main.cpp:18: ../../include/loki/SmartPtr.h:200:13: warning: deleting pointer to incomplete type 'Thingy' may cause undefined behavior [-Wdelete-incomplete] delete pointee_; ^ ~~~~~~~~ ../../include/loki/SmartPtr.h:1264:21: note: in instantiation of member function 'Loki::DefaultSPStorage::Destroy' requested here SP::Destroy(); ^ main.cpp:987:31: note: in instantiation of member function 'Loki::SmartPtr::~SmartPtr' requested here Thingy_DefaultStorage_ptr p1; ^ main.cpp:53:7: note: forward declaration of 'Thingy' class Thingy; ^ 4 warnings generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o strong.o strong.cpp In file included from strong.cpp:22: In file included from ../../include/loki/StrongPtr.h:20: In file included from ../../include/loki/SmartPtr.h:33: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ strong.cpp:329:24: warning: unused variable 'ctorCount' [-Wunused-variable] const unsigned int ctorCount = Counted::GetCtorCount(); ^ strong.cpp:330:24: warning: unused variable 'dtorCount' [-Wunused-variable] const unsigned int dtorCount = Counted::GetDtorCount(); ^ strong.cpp:675:14: warning: variable 'released' set but not used [-Wunused-but-set-variable] bool released = ReleaseAll( w2, pNull ); ^ strong.cpp:690:14: warning: variable 'reset' set but not used [-Wunused-but-set-variable] bool reset = ResetAll( w2, pNull ); ^ strong.cpp:729:14: warning: variable 'released' set but not used [-Wunused-but-set-variable] bool released = ReleaseAll( w2, thing ); ^ strong.cpp:752:14: warning: variable 'reset' set but not used [-Wunused-but-set-variable] bool reset = ResetAll( w2, pNull ); ^ In file included from strong.cpp:22: ../../include/loki/StrongPtr.h:193:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ ../../include/loki/StrongPtr.h:224:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ 9 warnings generated. c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o LockTest.o LockTest.cpp In file included from LockTest.cpp:38: In file included from ../../include/loki/StrongPtr.h:20: In file included from ../../include/loki/SmartPtr.h:33: In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h:158:14: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ^ /usr/include/c++/v1/__memory/auto_ptr.h:29:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:1018:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from LockTest.cpp:40: ../../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r += *format_ - '0'; ~~ ~~~~~~~~~^~~~~ ../../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState::ParseDecimalSizeT' requested here ParseDecimalSizeT(width_); ^ ../../include/loki/SafeFormat.h:136:13: note: in instantiation of member function 'Loki::PrintfState::ReadWidth' requested here ReadWidth(); ^ LockTest.cpp:127:54: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here SPrintf( buffer, "Creating thread %d\n" )( ii ); ^ In file included from LockTest.cpp:40: ../../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] countDigits = bufEnd - bufLast, ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ LockTest.cpp:127:54: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here SPrintf( buffer, "Creating thread %d\n" )( ii ); ^ In file included from LockTest.cpp:40: ../../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] void ResetFillZeros() { flags_ &= ~fillZeros; } ~~ ^~~~~~~~~~ ../../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState::ResetFillZeros' requested here ResetFillZeros(); ^ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ LockTest.cpp:127:54: note: in instantiation of member function 'Loki::PrintfState::operator()' requested here SPrintf( buffer, "Creating thread %d\n" )( ii ); ^ In file included from LockTest.cpp:40: ../../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] r += *format_ - '0'; ~~ ~~~~~~~~~^~~~~ ../../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ParseDecimalSizeT' requested here ParseDecimalSizeT(width_); ^ ../../include/loki/SafeFormat.h:136:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadWidth' requested here ReadWidth(); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ LockTest.cpp:180:54: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here BIG_FOR_LOOP;Printf("%d: ----------------\n")(id); ^ In file included from LockTest.cpp:40: ../../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] countDigits = bufEnd - bufLast, ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ LockTest.cpp:180:54: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here BIG_FOR_LOOP;Printf("%d: ----------------\n")(id); ^ In file included from LockTest.cpp:40: ../../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] void ResetFillZeros() { flags_ &= ~fillZeros; } ~~ ^~~~~~~~~~ ../../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ResetFillZeros' requested here ResetFillZeros(); ^ ../../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here FormatWithCurrentFlags(i); ^ ../../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here LOKI_PRINTF_STATE_FORWARD(signed int) ^ ../../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD' return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \ ^ LockTest.cpp:180:54: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here BIG_FOR_LOOP;Printf("%d: ----------------\n")(id); ^ In file included from LockTest.cpp:38: ../../include/loki/StrongPtr.h:193:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ ../../include/loki/StrongPtr.h:224:22: warning: unused typedef 'Type_Must_Be_Defined' [-Wunused-local-typedef] typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; ^ 9 warnings generated. c++ -fstack-protector-strong -o main main.o strong.o LockTest.o ../../lib/libloki.a -lpthread gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/SmartPtr' gmake -C Visitor gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Visitor' c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -g -O2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-return-type -std=c++14 -I../../include -DNDEBUG -c -o main.o main.cpp c++ -fstack-protector-strong -o main main.o ../../lib/libloki.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Visitor' gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for loki-0.1.7 ===> Generating temporary packing list gmake -C src install-static gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' mkdir -p /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/lib install -m 644 ../lib/libloki.a /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/lib gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' gmake -C src install-shared gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' mkdir -p /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/lib install -m 644 ../lib/libloki.so.0.1.7 /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/lib cd /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/lib; ln -s libloki.so.0.1.7 libloki.so gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src' gmake -C include install gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/include' mkdir -p /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/include/loki mkdir -p /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/include/loki/flex mkdir -p /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/include/loki/yasli install -m 644 loki/*.h /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/include/loki install -m 644 loki/flex/*.h /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/include/loki/flex install -m 644 loki/yasli/*.h /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/include/loki/yasli gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/include' /bin/mkdir -p /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/share/doc/loki install -m 0644 /wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/README /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/share/doc/loki install -m 0644 /wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/CHANGES /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/share/doc/loki install -m 0644 /wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/doc/flex/flex_string.html /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/share/doc/loki install -m 0644 /wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/doc/yasli/Notes.txt /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/share/doc/loki install -m 0644 /wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/doc/yasli/yasli.html /wrkdirs/usr/ports/devel/loki/work/stage/usr/local/share/doc/loki ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-01T16:37:31+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=6edead6f38' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for loki-0.1.7 ===> Building loki-0.1.7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for loki-0.1.7 build of devel/loki | loki-0.1.7 ended at Mon Apr 1 17:40:30 BST 2024 build time: 00:03:03