******************************************************************************** conan install forestdb/cci.20220708@#4e3f247cee29fdce0cb59a6afdf7e451 --build=forestdb -pr /Users/jenkins/w/prod/BuildSingleReference/65098/1d80f856-a891-409c-b37d-9393f50cf89d/profile_osx_120_libcpp_apple-clang_release_64.forestdb-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True -c tools.apple:sdk_path=/Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod/BuildSingleReference/.conan/profiles/default) Found apple-clang 12.0 Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=12.0 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] forestdb:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk forestdb/cci.20220708: Forced build from source Installing package: forestdb/cci.20220708 Requirements forestdb/cci.20220708 from local cache - Cache Packages forestdb/cci.20220708:6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK forestdb/cci.20220708: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/source [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK forestdb/cci.20220708: Copying sources to build folder forestdb/cci.20220708: Building your package in /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6 forestdb/cci.20220708: Generator cmake created conanbuildinfo.cmake forestdb/cci.20220708: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK forestdb/cci.20220708: Calling build() ----Running------ > cd '/Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/package/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DSNAPPY_OPTION="Disable" -Wno-dev '/Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6' ----------------- -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: C++ stdlib: libc++ -- Performing Test COMPILER_SUPPORTS_CXX11 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success -- Performing Test COMPILER_SUPPORTS_CXX0X -- Performing Test COMPILER_SUPPORTS_CXX0X - Success -- Looking for include file sched.h -- Looking for include file sched.h - found -- Snappy compression: DISABLED -- B+tree sub-blocks: ENABLED -- Build type: Release -- DL library : /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/libdl.tbd -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6 ----Running------ > cmake --build '/Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6' '--target' 'static_lib' '--' '-j4' ----------------- [ 0%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/filemgr_ops_linux.cc.o [ 8%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/api_wrapper.cc.o [ 8%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/avltree.cc.o [ 8%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/bgflusher.cc.o [ 16%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/blockcache.cc.o [ 16%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/breakpad_dummy.cc.o [ 16%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/btree.cc.o [ 16%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/btree_kv.cc.o [ 25%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/btree_str_kv.cc.o [ 25%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/btree_fast_str_kv.cc.o [ 25%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/btreeblock.cc.o [ 25%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/checksum.cc.o [ 33%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/compactor.cc.o [ 33%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/configuration.cc.o [ 33%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/docio.cc.o [ 41%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/encryption.cc.o [ 41%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/encryption_aes.cc.o [ 41%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/encryption_bogus.cc.o [ 41%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/fdb_errors.cc.o [ 50%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/filemgr.cc.o [ 50%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/filemgr_ops.cc.o [ 50%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/forestdb.cc.o [ 50%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/hash.cc.o [ 58%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/hash_functions.cc.o [ 58%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/hbtrie.cc.o [ 58%] Building CXX object source_subfolder/CMakeFiles/static_lib.dir/src/iterator.cc.o forestdb/cci.20220708: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/api_wrapper.cc:28: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/api_wrapper.cc:28: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/api_wrapper.cc:28: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/bgflusher.cc:32: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/bgflusher.cc:32: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/bgflusher.cc:32: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 4 warnings generated. 4 warnings generated. In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:36: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:36: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:36: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:165:12: warning: offset of on non-POD type 'struct fnamedic_item' [-Winvalid-offsetof] item = _get_entry(e, struct fnamedic_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:173:10: warning: offset of on non-POD type 'struct fnamedic_item' [-Winvalid-offsetof] aa = _get_entry(a, struct fnamedic_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:174:10: warning: offset of on non-POD type 'struct fnamedic_item' [-Winvalid-offsetof] bb = _get_entry(b, struct fnamedic_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:190:32: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] struct bcache_item *item = _get_entry(e, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:197:10: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] aa = _get_entry(a, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:198:10: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] bb = _get_entry(b, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:309:16: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(e, struct bcache_item, list_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:332:26: warning: offset of on non-POD type 'struct fnamedic_item' [-Winvalid-offsetof] fname_item = _get_entry(e, struct fnamedic_item, le); ^ ~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:740:20: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(e, struct bcache_item, list_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:969:20: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(h, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1034:20: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(h, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1129:20: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(h, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1137:16: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(h, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1241:16: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(h, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1347:24: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(e, struct bcache_item, list_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1554:24: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(ee, struct bcache_item, list_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1643:32: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] struct bcache_item *item = _get_entry(h, struct bcache_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1653:12: warning: offset of on non-POD type 'struct fnamedic_item' [-Winvalid-offsetof] item = _get_entry(h, struct fnamedic_item, hash_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1675:16: warning: offset of on non-POD type 'struct bcache_item' [-Winvalid-offsetof] item = _get_entry(e, struct bcache_item, list_elem); ^ ~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/blockcache.cc:1686:39: warning: offset of on non-POD type 'struct fnamedic_item' [-Winvalid-offsetof] struct fnamedic_item *fname = _get_entry(e, struct fnamedic_item, le); ^ ~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/btreeblock.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/btreeblock.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/btreeblock.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/compactor.cc:29: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/compactor.cc:29: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/compactor.cc:29: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 4 warnings generated. 24 warnings generated. In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/docio.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/docio.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/docio.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 4 warnings generated. In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_errors.cc:21: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_errors.cc:21: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_errors.cc:21: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:34: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:34: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:34: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 4 warnings generated. 4 warnings generated. /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:122:10: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] aa = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:123:10: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] bb = _get_entry(b, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:175:28: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] struct filemgr *file = _get_entry(e, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:185:10: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] aa = _get_entry(a, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:186:10: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] bb = _get_entry(b, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:748:16: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] file = _get_entry(e, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:790:16: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] file = _get_entry(e, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:1576:40: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] old_file = _get_entry(elem_old, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:1634:28: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] struct filemgr *file = _get_entry(h, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:1757:28: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] struct filemgr *file = _get_entry(h, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:1997:15: error: no matching constructor for initialization of 'FdbGcFunc' FdbGcFunc auto_unlock{ [file, plock_entries](){ ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:5: note: candidate constructor not viable: requires single argument '_func', but no arguments were provided FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:363:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 0 were provided class FdbGcFunc { ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:1997:26: error: expected ';' at end of declaration FdbGcFunc auto_unlock{ [file, plock_entries](){ ^ ; /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2032:5: error: use of undeclared identifier 'thread_local'; did you mean 'pthread_equal'? thread_local void* buf_aligned = alloc_buf_for_readahead(); ^~~~~~~~~~~~ pthread_equal /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/pthread.h:343:5: note: 'pthread_equal' declared here int pthread_equal(pthread_t _Nullable, pthread_t _Nullable); ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2032:17: error: expected ';' after expression thread_local void* buf_aligned = alloc_buf_for_readahead(); ^ ; /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2032:5: warning: expression result unused [-Wunused-value] thread_local void* buf_aligned = alloc_buf_for_readahead(); ^~~~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2033:5: error: use of undeclared identifier 'thread_local'; did you mean 'pthread_equal'? thread_local FdbGcFunc gc([&](){ free_align(buf_aligned); }); ^~~~~~~~~~~~ pthread_equal /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/pthread.h:343:5: note: 'pthread_equal' declared here int pthread_equal(pthread_t _Nullable, pthread_t _Nullable); ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2033:17: error: expected ';' after expression thread_local FdbGcFunc gc([&](){ free_align(buf_aligned); }); ^ ; /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2033:5: warning: expression result unused [-Wunused-value] thread_local FdbGcFunc gc([&](){ free_align(buf_aligned); }); ^~~~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2033:31: error: expected expression thread_local FdbGcFunc gc([&](){ free_align(buf_aligned); }); ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2458:24: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2700:28: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] struct filemgr *file = _get_entry(h, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:2869:16: warning: offset of on non-POD type 'struct filemgr' [-Winvalid-offsetof] file = _get_entry(e, struct filemgr, e); ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3449:16: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] node = _get_entry(a, struct filemgr_dirty_update_node, avl); ^ ~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3460:10: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] aa = _get_entry(a, struct filemgr_dirty_update_node, avl); ^ ~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3461:10: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] bb = _get_entry(b, struct filemgr_dirty_update_node, avl); ^ ~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3563:16: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] node = _get_entry(a, struct filemgr_dirty_update_node, avl); ^ ~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3578:16: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] node = _get_entry(le, struct filemgr_dirty_update_node, le); ^ ~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3673:20: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] cur_node = _get_entry(a, struct filemgr_dirty_update_node, avl); ^ ~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3690:20: warning: offset of on non-POD type 'struct filemgr_dirty_update_node' [-Winvalid-offsetof] cur_node = _get_entry(le, struct filemgr_dirty_update_node, le); ^ ~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3823:20: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3865:16: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3898:16: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3917:16: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:3992:20: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:4028:16: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/filemgr.cc:4081:20: warning: offset of on non-POD type 'struct kvs_node' [-Winvalid-offsetof] node = _get_entry(a, struct kvs_node, avl_id); ^ ~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/avltree.h:36:43: note: expanded from macro '_get_entry' ((STRUCT *) ((uint8_t *) (ELEM) - offsetof (STRUCT, MEMBER))) ^ ~~~~~~ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:30: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:30: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:30: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 33 warnings and 7 errors generated. make[3]: *** [source_subfolder/CMakeFiles/static_lib.dir/src/filemgr.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3248:5: error: use of undeclared identifier 'thread_local'; did you mean 'pthread_equal'? thread_local std::vector ret_key_buf(FDB_MAX_KEYLEN_INTERNAL); ^~~~~~~~~~~~ pthread_equal /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/pthread.h:343:5: note: 'pthread_equal' declared here int pthread_equal(pthread_t _Nullable, pthread_t _Nullable); ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3248:17: error: expected ';' after expression thread_local std::vector ret_key_buf(FDB_MAX_KEYLEN_INTERNAL); ^ ; /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3248:5: warning: expression result unused [-Wunused-value] thread_local std::vector ret_key_buf(FDB_MAX_KEYLEN_INTERNAL); ^~~~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3402:5: error: use of undeclared identifier 'thread_local'; did you mean 'pthread_equal'? thread_local std::vector ret_key_buf(FDB_MAX_KEYLEN_INTERNAL); ^~~~~~~~~~~~ pthread_equal /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/pthread.h:343:5: note: 'pthread_equal' declared here int pthread_equal(pthread_t _Nullable, pthread_t _Nullable); ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3402:17: error: expected ';' after expression thread_local std::vector ret_key_buf(FDB_MAX_KEYLEN_INTERNAL); ^ ; /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3402:5: warning: expression result unused [-Wunused-value] thread_local std::vector ret_key_buf(FDB_MAX_KEYLEN_INTERNAL); ^~~~~~~~~~~~ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3403:5: error: use of undeclared identifier 'thread_local'; did you mean 'pthread_equal'? thread_local std::vector ret_value_buf(64); ^~~~~~~~~~~~ pthread_equal /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/pthread.h:343:5: note: 'pthread_equal' declared here int pthread_equal(pthread_t _Nullable, pthread_t _Nullable); ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3403:17: error: expected ';' after expression thread_local std::vector ret_value_buf(64); ^ ; /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:3403:5: warning: expression result unused [-Wunused-value] thread_local std::vector ret_value_buf(64); ^~~~~~~~~~~~ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/iterator.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using Func = std::function< void() >; ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:365:23: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] using Func = std::function< void() >; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/iterator.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:367:15: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] FdbGcFunc(Func _func) : done(false), func(_func) {} ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:8749:10: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] for (auto& entry: sorted_filenames) { ^ /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/forestdb.cc:8749:21: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for (auto& entry: sorted_filenames) { ^ In file included from /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/iterator.cc:24: /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6/source_subfolder/src/fdb_internal.h:377:5: warning: 'Func' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] Func func; ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Applications/conan/xcode/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/functional:1439:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 9 warnings and 6 errors generated. make[3]: *** [source_subfolder/CMakeFiles/static_lib.dir/src/forestdb.cc.o] Error 1 4 warnings generated. make[2]: *** [source_subfolder/CMakeFiles/static_lib.dir/all] Error 2 make[1]: *** [source_subfolder/CMakeFiles/static_lib.dir/rule] Error 2 make: *** [static_lib] Error 2 forestdb/cci.20220708: ERROR: Package '6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6' build failed forestdb/cci.20220708: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6 ERROR: forestdb/cci.20220708: Error in build() method, line 64 cmake.build(target=lib_target) ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/prod/BuildSingleReference/.conan/data/forestdb/cci.20220708/_/_/build/6a83d7f783e7ee89a83cf2fe72b5f5f67538e2a6' '--target' 'static_lib' '--' '-j4'